[Lldb-commits] [PATCH] D122991: [lldb][intelpt] Remove `IntelPTInstruction` and move methods to `DecodedThread`

Alisamar Husain via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 4 11:01:27 PDT 2022


zrthxn updated this revision to Diff 420245.
zrthxn added a comment.

Change in memory use is appreciable.

  thread #1: tid = 40371
    Raw trace size: 4 KiB
    Total number of instructions: 145011
    Total approximate memory usage: 1840.96 KiB
    Average memory usage per instruction: 13.00 bytes
  
    Number of TSC decoding errors: 0

Tests still need to be updated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122991

Files:
  lldb/source/Plugins/Trace/intel-pt/DecodedThread.cpp
  lldb/source/Plugins/Trace/intel-pt/DecodedThread.h
  lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.cpp
  lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122991.420245.patch
Type: text/x-patch
Size: 13756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220404/64d050d4/attachment.bin>


More information about the lldb-commits mailing list