Lines Matching +full:vendor +full:- +full:id
1 //===-- TraceIntelPTJSONStructs.cpp ---------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
29 cpu_ids.push_back(cpu.id); in GetCpuIds()
81 {"id", cpu.id}, in toJSON()
90 if (!(o && o.map("id", cpu_id) && o.map("iptTrace", cpu.ipt_trace) && in fromJSON()
93 cpu.id = cpu_id; in fromJSON()
99 {"vendor", cpu_info.vendor == pcv_intel ? "GenuineIntel" : "Unknown"}, in toJSON()
108 std::string vendor; in fromJSON() local
110 if (!(o && o.map("vendor", vendor) && o.map("family", family) && in fromJSON()
113 cpu_info.vendor = vendor == "GenuineIntel" ? pcv_intel : pcv_unknown; in fromJSON()
163 if (!fromJSON(*value.getAsObject()->get("cpuInfo"), in fromJSON()
167 // When kernel section is present, this is kernel-only tracing. Thus, throw an in fromJSON()
168 // error if the "processes" section is non-empty or the "cpus" section is not in fromJSON()
172 !bundle_description.processes->empty()) { in fromJSON()