[Lldb-commits] [PATCH] D89408: [trace] rename ThreadIntelPT to ThreadTrace

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 16 14:45:28 PDT 2020


wallace added inline comments.


================
Comment at: lldb/include/lldb/Target/ThreadTrace.h:34
+  ///     this thread was being executed.
+  ThreadTrace(Process &process, lldb::tid_t tid, const FileSpec trace_file)
+      : Thread(process, tid), m_trace_file(trace_file) {}
----------------
vsk wrote:
> vsk wrote:
> > `const FileSpec &`, or just `FileSpec` might be better here.
> What are the constraints on the format of "trace_file"? Is it a list of PC ranges?
The basic format is a JSON file with a schema specified in TraceSessionFileParser::BuildSchema


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89408/new/

https://reviews.llvm.org/D89408



More information about the lldb-commits mailing list