Home
last modified time | relevance | path

Searched refs:pt_cpu (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/lldb/source/Plugins/Trace/intel-pt/
DTraceIntelPTSessionFileParser.cpp27 "pt_cpu": { in GetSchema()
38 pt_cpu TraceIntelPTSessionFileParser::ParsePTCPU(const JSONPTCPU &pt_cpu) { in ParsePTCPU() argument
39 return {pt_cpu.vendor.compare("intel") == 0 ? pcv_intel : pcv_unknown, in ParsePTCPU()
40 static_cast<uint16_t>(pt_cpu.family), in ParsePTCPU()
41 static_cast<uint8_t>(pt_cpu.model), in ParsePTCPU()
42 static_cast<uint8_t>(pt_cpu.stepping)}; in ParsePTCPU()
46 const pt_cpu &pt_cpu, std::vector<ParsedProcess> &parsed_processes) { in CreateTraceIntelPTInstance() argument
52 TraceSP trace_instance(new TraceIntelPT(pt_cpu, threads)); in CreateTraceIntelPTInstance()
67 return CreateTraceIntelPTInstance(ParsePTCPU(session.trace.pt_cpu), in Parse()
77 TraceIntelPTSessionFileParser::JSONPTCPU &pt_cpu, Path path) { in fromJSON() argument
[all …]
DTraceIntelPTSessionFileParser.h31 JSONPTCPU pt_cpu; member
55 CreateTraceIntelPTInstance(const pt_cpu &pt_cpu,
59 pt_cpu ParsePTCPU(const JSONPTCPU &pt_cpu);
73 &pt_cpu,
DIntelPTDecoder.h31 const pt_cpu &pt_cpu) in ThreadTraceDecoder() argument
32 : m_trace_thread(trace_thread), m_pt_cpu(pt_cpu), m_decoded_thread() {} in ThreadTraceDecoder()
45 pt_cpu m_pt_cpu;
DTraceIntelPT.cpp67 const pt_cpu &pt_cpu, in TraceIntelPT() argument
69 : m_pt_cpu(pt_cpu) { in TraceIntelPT()
74 std::forward_as_tuple(thread, pt_cpu)); in TraceIntelPT()
DTraceIntelPT.h73 TraceIntelPT(const pt_cpu &pt_cpu,
88 pt_cpu m_pt_cpu;
DIntelPTDecoder.cpp168 CreateDecoderAndDecode(Process &process, const pt_cpu &pt_cpu, in CreateDecoderAndDecode() argument
179 config.cpu = pt_cpu; in CreateDecoderAndDecode()
/external/llvm-project/lldb/tools/intel-features/intel-pt/
DDecoder.cpp281 CPUInfo &pt_cpu = threadTraceInfo.GetCPUInfo(); in ReadTraceDataAndImageInfo() local
282 ParseCPUInfo(pt_cpu, sbstructdata, sberror); in ReadTraceDataAndImageInfo()
314 CPUInfo &pt_cpu = threadTraceInfo.GetCPUInfo(); in DecodeProcessorTrace() local
318 InitializePTInstDecoder(&decoder, &config, pt_cpu, pt_buffer, in DecodeProcessorTrace()
419 void Decoder::ParseCPUInfo(CPUInfo &pt_cpu, lldb::SBStructuredData &s, in ParseCPUInfo() argument
448 pt_cpu.family = (uint16_t)family; in ParseCPUInfo()
456 key_model, pt_cpu.family); in ParseCPUInfo()
463 pt_cpu.family); in ParseCPUInfo()
466 pt_cpu.model = (uint8_t)model; in ParseCPUInfo()
475 key_stepping, pt_cpu.family, pt_cpu.model); in ParseCPUInfo()
[all …]
DDecoder.h193 typedef struct pt_cpu CPUInfo;
204 void ParseCPUInfo(CPUInfo &pt_cpu, lldb::SBStructuredData &s,
243 const CPUInfo &pt_cpu, Buffer &pt_buffer,