This is an archive of the discontinued LLVM Phabricator instance.

[intel-pt] Simplify Python API configuration
AbandonedPublic

Authored by wallace on Jul 28 2020, 4:25 PM.

Details

Summary

Depends on D84791.
The existing way to configure Intel PT tracing through the Python API isn't
trivial. Thus, I'm creating a helper method GetDefaultTraceOptions, which
creates an SBTraceOptions object ready to be used for tracing. This simplifies
the Python code and even some existing C++ code.

Diff Detail

Event Timeline

wallace created this revision.Jul 28 2020, 4:25 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 28 2020, 4:25 PM
wallace requested review of this revision.Jul 28 2020, 4:25 PM
wallace abandoned this revision.Aug 3 2020, 3:00 PM

After syncing up with Greg, we decided to redo this in a different way