| /llvm-project-15.0.7/lldb/source/Plugins/Trace/intel-pt/ |
| H A D | TraceIntelPTMultiCpuDecoder.cpp | 21 TraceIntelPTSP trace_sp) in TraceIntelPTMultiCpuDecoder() argument 22 : m_trace_wp(trace_sp) { in TraceIntelPTMultiCpuDecoder() 23 for (Process *proc : trace_sp->GetAllProcesses()) { in TraceIntelPTMultiCpuDecoder() 40 TraceIntelPTSP trace_sp = GetTrace(); in FindLowestTSC() local 64 TraceIntelPTSP trace_sp = GetTrace(); in Decode() local 66 return trace_sp in Decode() 76 Error err = trace_sp->OnAllCpusBinaryDataRead( in Decode() 118 TraceIntelPTSP trace_sp = GetTrace(); in DoCorrelateContextSwitchesAndIntelPtTraces() local 121 trace_sp->GetPerfZeroTscConversion(); in DoCorrelateContextSwitchesAndIntelPtTraces() 129 for (cpu_id_t cpu_id : trace_sp->GetTracedCpus()) { in DoCorrelateContextSwitchesAndIntelPtTraces() [all …]
|
| H A D | TraceIntelPT.cpp | 86 TraceIntelPTSP trace_sp(new TraceIntelPT(bundle_description, traced_processes)); in CreateInstanceForPostmortemTrace() local 87 trace_sp->m_storage.tsc_conversion = bundle_description.tsc_perf_zero_conversion; in CreateInstanceForPostmortemTrace() 93 trace_sp->SetPostMortemCpuDataFile(cpu.id, IntelPTDataKinds::kIptTrace, in CreateInstanceForPostmortemTrace() 96 trace_sp->SetPostMortemCpuDataFile( in CreateInstanceForPostmortemTrace() 107 trace_sp->m_storage.multicpu_decoder.emplace(trace_sp); in CreateInstanceForPostmortemTrace() 110 trace_sp->m_storage.thread_decoders.try_emplace( in CreateInstanceForPostmortemTrace() 111 thread->GetID(), std::make_unique<ThreadDecoder>(thread, *trace_sp)); in CreateInstanceForPostmortemTrace() 113 trace_sp->SetPostMortemThreadDataFile( in CreateInstanceForPostmortemTrace() 120 process_sp->GetTarget().SetTrace(trace_sp); in CreateInstanceForPostmortemTrace() 121 return trace_sp; in CreateInstanceForPostmortemTrace()
|
| H A D | TraceIntelPTBundleSaver.cpp | 102 TraceSP trace_sp = process.GetTarget().GetTrace(); in BuildThreadsSection() local 110 if (!trace_sp->IsTraced(tid)) in BuildThreadsSection() 116 if (trace_sp->GetTracedCpus().empty()) { in BuildThreadsSection()
|
| H A D | TraceIntelPTMultiCpuDecoder.h | 35 TraceIntelPTMultiCpuDecoder(TraceIntelPTSP trace_sp);
|
| /llvm-project-15.0.7/lldb/source/Commands/ |
| H A D | CommandObjectTrace.cpp | 119 TraceSP trace_sp = process_sp->GetTarget().GetTrace(); in DoExecute() local 122 trace_sp->SaveToDisk(bundle_dir, m_options.m_compact)) { in DoExecute() 416 if (Expected<TraceSP> trace_sp = process_sp->GetTarget().GetTraceOrCreate()) in DoGetProxyCommandObject() local 417 return GetDelegateCommand(**trace_sp); in DoGetProxyCommandObject() 421 toString(trace_sp.takeError()).c_str()); in DoGetProxyCommandObject()
|
| H A D | CommandObjectThread.cpp | 2084 TraceSP trace_sp = process_sp->GetTarget().GetTrace(); in DoExecuteOnThreads() local 2086 if (llvm::Error err = trace_sp->Stop(tids)) in DoExecuteOnThreads() 2378 const TraceSP &trace_sp = m_exe_ctx.GetTargetSP()->GetTrace(); in HandleOneThread() local 2381 trace_sp->DumpTraceInfo(*thread_sp, result.GetOutputStream(), in HandleOneThread()
|
| H A D | CommandObjectProcess.cpp | 1918 TraceSP trace_sp = process_sp->GetTarget().GetTrace(); in DoExecute() local 1920 if (llvm::Error err = trace_sp->Stop()) in DoExecute()
|
| /llvm-project-15.0.7/lldb/source/API/ |
| H A D | SBTrace.cpp | 27 SBTrace::SBTrace(const lldb::TraceSP &trace_sp) : m_opaque_sp(trace_sp) { in SBTrace() argument 28 LLDB_INSTRUMENT_VA(this, trace_sp); in SBTrace()
|
| H A D | SBTarget.cpp | 2315 if (llvm::Expected<lldb::TraceSP> trace_sp = target_sp->CreateTrace()) { in CreateTrace() local 2316 return SBTrace(*trace_sp); in CreateTrace() 2318 error.SetErrorString(llvm::toString(trace_sp.takeError()).c_str()); in CreateTrace()
|
| /llvm-project-15.0.7/lldb/source/Plugins/MemoryHistory/asan/ |
| H A D | MemoryHistoryASan.cpp | 117 ValueObjectSP trace_sp = in CreateHistoryThreadFromValueObject() local 120 if (!trace_sp) in CreateHistoryThreadFromValueObject() 125 addr_t pc = trace_sp->GetChildAtIndex(i, true)->GetValueAsUnsigned(0); in CreateHistoryThreadFromValueObject()
|
| /llvm-project-15.0.7/lldb/source/Plugins/TraceExporter/ctf/ |
| H A D | CommandObjectThreadTraceExportCTF.cpp | 67 const TraceSP &trace_sp = m_exe_ctx.GetTargetSP()->GetTrace(); in DoExecute() local 84 Expected<TraceCursorUP> cursor = trace_sp->CreateNewCursor(*thread); in DoExecute()
|
| /llvm-project-15.0.7/lldb/include/lldb/API/ |
| H A D | SBTrace.h | 22 SBTrace(const lldb::TraceSP &trace_sp);
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/ |
| H A D | InstrumentationRuntimeMainThreadChecker.cpp | 121 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData() local 146 d->AddItem("trace", trace_sp); in RetrieveReportData()
|
| /llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/UBSan/ |
| H A D | InstrumentationRuntimeUBSan.cpp | 149 auto trace_sp = StructuredData::ObjectSP(trace); in RetrieveReportData() local 178 d->AddItem("trace", trace_sp); in RetrieveReportData()
|
| /llvm-project-15.0.7/lldb/source/Target/ |
| H A D | Target.cpp | 3168 void Target::SetTrace(const TraceSP &trace_sp) { m_trace_sp = trace_sp; } in SetTrace() argument 3186 if (llvm::Expected<TraceSP> trace_sp = in CreateTrace() local 3188 m_trace_sp = *trace_sp; in CreateTrace() 3193 llvm::toString(trace_sp.takeError()).c_str()); in CreateTrace()
|
| /llvm-project-15.0.7/lldb/include/lldb/Target/ |
| H A D | Target.h | 1179 void SetTrace(const lldb::TraceSP &trace_sp);
|