[NFC][lldb][trace] Rename trace session to trace bundle
authorWalter Erquinigo <wallace@fb.com>
Fri, 24 Jun 2022 00:45:24 +0000 (17:45 -0700)
committerWalter Erquinigo <wallace@fb.com>
Fri, 24 Jun 2022 15:41:33 +0000 (08:41 -0700)
commitb8dcd0ba26a90166cc76e6d1db23b88656610b2e
tree380b7f919a982e6ec22bc917f6f60128c0e1fcbd
parent07b7fada73da5e371607cf42b60b5d1a2706ad1c
[NFC][lldb][trace] Rename trace session to trace bundle

As previously discussed with @jj10306, we didn't really have a name for
the post-mortem (or offline) trace session representation, which is in
fact a folder with a bunch of files. We decided to call this folder
"trace bundle", and the main JSON file in it "trace bundle description
file". This naming is pretty decent, so I'm refactoring all the existing
code to account for that.

Differential Revision: https://reviews.llvm.org/D128484
18 files changed:
lldb/include/lldb/Core/PluginManager.h
lldb/include/lldb/Target/Trace.h
lldb/include/lldb/lldb-private-interfaces.h
lldb/source/Commands/CommandObjectTrace.cpp
lldb/source/Core/PluginManager.cpp
lldb/source/Plugins/Trace/common/ThreadPostMortemTrace.h
lldb/source/Plugins/Trace/intel-pt/CMakeLists.txt
lldb/source/Plugins/Trace/intel-pt/TraceCursorIntelPT.h
lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.cpp
lldb/source/Plugins/Trace/intel-pt/TraceIntelPT.h
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.cpp [moved from lldb/source/Plugins/Trace/intel-pt/TraceIntelPTSessionFileParser.cpp with 80% similarity]
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleLoader.h [moved from lldb/source/Plugins/Trace/intel-pt/TraceIntelPTSessionFileParser.h with 57% similarity]
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp [moved from lldb/source/Plugins/Trace/intel-pt/TraceIntelPTSessionSaver.cpp with 91% similarity]
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.h [moved from lldb/source/Plugins/Trace/intel-pt/TraceIntelPTSessionSaver.h with 67% similarity]
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTJSONStructs.cpp
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTJSONStructs.h
lldb/source/Target/Trace.cpp
lldb/test/API/commands/trace/TestTraceLoad.py