[Lldb-commits] [PATCH] D137509: [NFC][intelpt] Improve IntelPT trace bundle documentation
Jakob Johnson via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Sun Nov 6 14:34:43 PST 2022
jj10306 created this revision.
jj10306 added reviewers: wallace, persona0220.
Herald added a project: All.
jj10306 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Mention that the LLVM/clang triple must be provided if the trace will be
consumed via `SBTraceCursor`
Test Plan:
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D137509
Files:
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
Index: lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
===================================================================
--- lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
+++ lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp
@@ -241,6 +241,7 @@
"pid": integer,
"triple"?: string,
// Optional clang/llvm target triple.
+ // This must be provided if the trace will be consumed using `SBTraceCursor`.
"threads": [
// A list of known threads for the given process. When context switch
// data is provided, LLDB will automatically create threads for the
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137509.473510.patch
Type: text/x-patch
Size: 662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221106/bf0c1d79/attachment.bin>
More information about the lldb-commits
mailing list