This is an archive of the discontinued LLVM Phabricator instance.

[trace][intel pt] Support dumping the trace info in json
ClosedPublic

Authored by wallace on Jul 7 2022, 2:56 PM.

Details

Summary

Thanks to ymeng@fb.com for coming up with this change.

thread trace dump info can dump some metrics that can be useful for
analyzing the performance and quality of a trace. This diff adds a --json
option for dumping this information in json format that can be easily
understood my machines.

Diff Detail

Event Timeline

wallace created this revision.Jul 7 2022, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2022, 2:56 PM
wallace requested review of this revision.Jul 7 2022, 2:56 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 7 2022, 2:56 PM
wallace updated this revision to Diff 443097.Jul 7 2022, 5:46 PM

improve tests

jj10306 accepted this revision.Jul 13 2022, 8:45 AM
This revision is now accepted and ready to land.Jul 13 2022, 8:45 AM
This revision was landed with ongoing or failed builds.Jul 13 2022, 12:26 PM
This revision was automatically updated to reflect the committed changes.