Home
last modified time | relevance | path

Searched refs:bundle_description (Results 1 – 7 of 7) sorted by relevance

/src/contrib/llvm-project/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.cpp148 const JSONTraceBundleDescription &bundle_description) { in ParseKernel() argument
158 for (const JSONCpu &cpu : *bundle_description.cpus) { in ParseKernel()
167 FileSpec file_spec(bundle_description.kernel->file); in ParseKernel()
179 bundle_description.kernel->load_address in ParseKernel()
180 ? bundle_description.kernel->load_address->value in ParseKernel()
199 const JSONTraceBundleDescription &bundle_description) { in LoadBundle() argument
209 if (bundle_description.processes) { in LoadBundle()
210 for (const JSONProcess &process : *bundle_description.processes) { in LoadBundle()
218 if (bundle_description.kernel) { in LoadBundle()
220 ParseKernel(bundle_description)) in LoadBundle()
[all …]
H A DTraceIntelPTJSONStructs.cpp134 json::Value toJSON(const JSONTraceBundleDescription &bundle_description) { in toJSON() argument
136 {"type", bundle_description.type}, in toJSON()
137 {"processes", bundle_description.processes}, in toJSON()
140 {"cpuInfo", toJSON(bundle_description.cpu_info)}, in toJSON()
141 {"cpus", bundle_description.cpus}, in toJSON()
142 {"tscPerfZeroConversion", bundle_description.tsc_perf_zero_conversion}, in toJSON()
143 {"kernel", bundle_description.kernel}}; in toJSON()
147 JSONTraceBundleDescription &bundle_description, Path path) { in fromJSON() argument
149 if (!(o && o.map("processes", bundle_description.processes) && in fromJSON()
150 o.map("type", bundle_description.type) && in fromJSON()
[all …]
H A DTraceIntelPTBundleLoader.h38 const llvm::json::Value &bundle_description, in TraceIntelPTBundleLoader() argument
40 : m_debugger(debugger), m_bundle_description(bundle_description), in TraceIntelPTBundleLoader()
67 CreateTraceIntelPTInstance(JSONTraceBundleDescription &bundle_description,
87 ParseKernel(const JSONTraceBundleDescription &bundle_description);
106 LoadBundle(const JSONTraceBundleDescription &bundle_description);
116 JSONTraceBundleDescription &bundle_description);
120 void NormalizeAllPaths(JSONTraceBundleDescription &bundle_description);
H A DTraceIntelPT.cpp111 const json::Value &bundle_description, StringRef bundle_dir, in CreateInstanceForTraceBundle() argument
113 return TraceIntelPTBundleLoader(debugger, bundle_description, bundle_dir) in CreateInstanceForTraceBundle()
130 JSONTraceBundleDescription &bundle_description, in CreateInstanceForPostmortemTrace() argument
134 new TraceIntelPT(bundle_description, traced_processes, trace_mode)); in CreateInstanceForPostmortemTrace()
136 bundle_description.tsc_perf_zero_conversion; in CreateInstanceForPostmortemTrace()
138 if (bundle_description.cpus) { in CreateInstanceForPostmortemTrace()
141 for (const JSONCpu &cpu : *bundle_description.cpus) { in CreateInstanceForPostmortemTrace()
156 if (!bundle_description.cpus || trace_mode == TraceMode::KernelMode) { in CreateInstanceForPostmortemTrace()
172 TraceIntelPT::TraceIntelPT(JSONTraceBundleDescription &bundle_description, in TraceIntelPT() argument
175 : Trace(traced_processes, bundle_description.GetCpuIds()), in TraceIntelPT()
[all …]
H A DTraceIntelPTJSONStructs.h75 llvm::json::Value toJSON(const JSONTraceBundleDescription &bundle_description);
96 JSONTraceBundleDescription &bundle_description,
H A DTraceIntelPT.h222 JSONTraceBundleDescription &bundle_description,
229 TraceIntelPT(JSONTraceBundleDescription &bundle_description,
/src/contrib/llvm-project/lldb/include/lldb/Target/
H A DTrace.h116 const llvm::json::Value &bundle_description,