[Lldb-commits] [PATCH] D123375: [lldb][intelpt] Reduce trace memory usage by grouping instructions

Alisamar Husain via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 8 03:24:00 PDT 2022


zrthxn added a comment.

Example of improvement in memory usage

  thread #1: tid = 42805
    Raw trace size: 4096 KiB
    Total number of instructions: 900004
    Total approximate memory usage: 4394.58 KiB
    Average memory usage per instruction: 5.00 bytes

where previously the same trace took ~12 KiB and 13 bytes per instruction


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123375



More information about the lldb-commits mailing list