[Lldb-commits] [PATCH] D130054: [trace][intel pt] Introduce wall clock time for each trace item

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 20 17:32:58 PDT 2022


wallace added inline comments.


================
Comment at: lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.cpp:288
 
+    decoded_thread.NotifyTsc(execution.thread_execution.GetLowestKnownTSC());
     decoded_thread.NotifyCPU(execution.thread_execution.cpu_id);
----------------
jj10306 wrote:
> if we have both a start and end TSC, shouldn't we emit the start here (like you're doing) and then after decoding all the instructions we should also emit the the end TSC?
you are right


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130054



More information about the lldb-commits mailing list