[Lldb-commits] [lldb] df766fb - [NFC][intelpt] Improve IntelPT trace bundle documentation
Jakob Johnson via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 8 05:16:48 PST 2022
Author: Jakob Johnson
Date: 2022-11-08T05:16:28-08:00
New Revision: df766fb65cc939bd88c25cb8e478b07f7b4ce123
URL: https://github.com/llvm/llvm-project/commit/df766fb65cc939bd88c25cb8e478b07f7b4ce123
DIFF: https://github.com/llvm/llvm-project/commit/df766fb65cc939bd88c25cb8e478b07f7b4ce123.diff
LOG: [NFC][intelpt] Improve IntelPT trace bundle documentation
Mention that the LLVM/clang triple must be provided if the trace will be
consumed via `SBTraceCursor`
Test Plan:
Differential Revision: https://reviews.llvm.org/D137509
Added:
Modified:
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
index cac91e801c926..0e664fd91d80f 100644
--- a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
+++ b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
@@ -241,6 +241,8 @@ StringRef TraceIntelPTBundleLoader::GetSchema() {
"pid": integer,
"triple"?: string,
// Optional clang/llvm target triple.
+ // This must be provided if the trace will be created not using the
+ // CLI or on a machine other than where the target was traced.
"threads": [
// A list of known threads for the given process. When context switch
// data is provided, LLDB will automatically create threads for the
More information about the lldb-commits
mailing list