This is an archive of the discontinued LLVM Phabricator instance.

[NFC][lldb][trace] Rename trace session to trace bundle
ClosedPublic

Authored by wallace on Jun 23 2022, 5:58 PM.

Details

Summary

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.

Diff Detail

Event Timeline

wallace created this revision.Jun 23 2022, 5:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2022, 5:58 PM
Herald added a subscriber: mgorny. · View Herald Transcript
wallace requested review of this revision.Jun 23 2022, 5:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2022, 5:58 PM
jj10306 accepted this revision.Jun 24 2022, 6:10 AM

lgtm - thanks for doing this renaming 🙂

lldb/include/lldb/Core/PluginManager.h
346

nit: FromBundle makes more sense than ForBundle imo

This revision is now accepted and ready to land.Jun 24 2022, 6:10 AM
wallace added inline comments.Jun 24 2022, 8:09 AM
lldb/include/lldb/Core/PluginManager.h
346

makes sense! will do