Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DTraceIntelPTBundleLoader.cpp146 const JSONTraceBundleDescription &bundle_description) { in ParseKernel() argument
156 for (const JSONCpu &cpu : *bundle_description.cpus) { in ParseKernel()
165 FileSpec file_spec(bundle_description.kernel->file); in ParseKernel()
177 bundle_description.kernel->load_address in ParseKernel()
178 ? bundle_description.kernel->load_address->value in ParseKernel()
197 const JSONTraceBundleDescription &bundle_description) { in LoadBundle() argument
207 if (bundle_description.processes) { in LoadBundle()
208 for (const JSONProcess &process : *bundle_description.processes) { in LoadBundle()
216 if (bundle_description.kernel) { in LoadBundle()
218 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.cpp112 const json::Value &bundle_description, StringRef bundle_dir, in CreateInstanceForTraceBundle() argument
114 return TraceIntelPTBundleLoader(debugger, bundle_description, bundle_dir) in CreateInstanceForTraceBundle()
131 JSONTraceBundleDescription &bundle_description, in CreateInstanceForPostmortemTrace() argument
135 new TraceIntelPT(bundle_description, traced_processes, trace_mode)); in CreateInstanceForPostmortemTrace()
137 bundle_description.tsc_perf_zero_conversion; in CreateInstanceForPostmortemTrace()
139 if (bundle_description.cpus) { in CreateInstanceForPostmortemTrace()
142 for (const JSONCpu &cpu : *bundle_description.cpus) { in CreateInstanceForPostmortemTrace()
157 if (!bundle_description.cpus || trace_mode == TraceMode::KernelMode) { in CreateInstanceForPostmortemTrace()
173 TraceIntelPT::TraceIntelPT(JSONTraceBundleDescription &bundle_description, in TraceIntelPT() argument
176 : 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,
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DTrace.h116 const llvm::json::Value &bundle_description,