[all-commits] [llvm/llvm-project] ca922a: [intelpt] Refactor timestamps out of `IntelPTInstr...
Alisamar Husain via All-commits
all-commits at lists.llvm.org
Fri Apr 1 09:22:16 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca922a3559d7c537fefbf023b6c9fd0f8ff0ed9d
https://github.com/llvm/llvm-project/commit/ca922a3559d7c537fefbf023b6c9fd0f8ff0ed9d
Author: Alisamar Husain <zrthxn at gmail.com>
Date: 2022-04-01 (Fri, 01 Apr 2022)
Changed paths:
M lldb/source/Plugins/Trace/intel-pt/DecodedThread.cpp
M lldb/source/Plugins/Trace/intel-pt/DecodedThread.h
M lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.cpp
M lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.h
M lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
M lldb/test/API/commands/trace/TestTraceDumpInfo.py
M lldb/test/API/commands/trace/TestTraceLoad.py
Log Message:
-----------
[intelpt] Refactor timestamps out of `IntelPTInstruction`
Storing timestamps (TSCs) in a more efficient map at the decoded thread level to speed up TSC lookup, as well as reduce the amount of memory used by each decoded instruction. Also introduced TSC range which keeps the current timestamp valid for all subsequent instructions until the next timestamp is emitted.
Differential Revision: https://reviews.llvm.org/D122603
More information about the All-commits
mailing list