A trace bundle contains many trace files, and, in the case of intel pt, the
largest files are often the context switch traces because they are not
compressed by default. As a way to improve this, I'm adding a --compact option
to the trace save command that filters out unwanted processes from the
context switch traces. Eventually we can do the same for intel pt traces as
well.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
rename 'process trace save' to 'trace save' because it can actually dump the information of multiple processes.
lldb/source/Commands/CommandObjectProcess.cpp | ||
---|---|---|
582 | Please separate the formatting changes into a separate patch/commit. That way they're much easier to identify in the git blame output instead of getting attributed to an unrelated change. What I usually do in this scenario is format the file, commit than, and then rebase my change on top. |
lldb/source/Plugins/Trace/intel-pt/PerfContextSwitchDecoder.cpp | ||
---|---|---|
318 | i don't want to lose this information because they can show contention issues |
many formatting changes sneaked in. The actual changes are in the end of this file