This is an archive of the discontinued LLVM Phabricator instance.

[trace][intelpt] Support system-wide tracing [19] - Some other minor improvements
ClosedPublic

Authored by wallace on Jun 14 2022, 3:36 PM.

Details

Summary

This addresses the issues in diffs [13], [14] and [16]

  • Add better documentation
  • Fix some castings by making them safer
  • Simplify CorrelateContextSwitchesAndIntelPtTraces
  • Rename some functions

Diff Detail

Event Timeline

wallace created this revision.Jun 14 2022, 3:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2022, 3:36 PM
wallace requested review of this revision.Jun 14 2022, 3:36 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2022, 3:36 PM
jj10306 accepted this revision.Jun 15 2022, 10:06 AM
jj10306 added inline comments.
lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.h
53

isn't this really an out param?

This revision is now accepted and ready to land.Jun 15 2022, 10:06 AM
wallace added inline comments.Jun 15 2022, 10:45 AM
lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.h
53

you're too good

This revision was landed with ongoing or failed builds.Jun 16 2022, 11:42 AM
This revision was automatically updated to reflect the committed changes.