perf scripting python: Improve general scripting for Intel PT
Status from this message: Thanks, applied.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | perf scripting python: Fix tuple_set_u64()tools/ | +81 | 0 replies | |
| 2/10 | perf scripting python: Factor out set_sym_in_dict()tools/ | +17 | 0 replies | |
| 3/10 | perf scripting python: Add 'addr_location' for 'addr'tools/ tools/ tools/ +4 more | +41 | 0 replies | |
| 4/10 | perf script: Factor out perf_sample__sprintf_flags()tools/ tools/ | +21 | 0 replies | |
| 5/10 | perf scripting python: Add sample flagstools/ | +26 | 0 replies | |
| 6/10 | perf scripting python: Add IPCtools/ | +8 | 0 replies | |
| 7/10 | perf scripting python: Add cpumodetools/ | +3 | 0 replies | |
| 8/10 | perf scripting python: Add context switchtools/ | +45 | 0 replies | |
| 9/10 | perf scripting python: Add auxtrace errortools/ tools/ tools/ | +57 | 3 replies | |
| 10/10 | perf scripts python: intel-pt-events.py: Add branches to scripttools/ tools/ tools/ | +116 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/10] perf scripting python: Improve general scripting for Intel PT
Hi
These patches make it easier to customize scripting for Intel PT traces.
The first patch is a dependent fix.
Subsequent patches add more information to python scripting.
The final patch adds a branch trace to the intel-pt-events.py script which previously supported only power events and ptwrite.
Adrian Hunter (10):
perf scripting python: Fix tuple_set_u64()
perf scripting python: Factor out set_sym_in_dict() perf scripting python: Add 'addr_location' for 'addr' perf script: Factor out perf_sample__sprintf_flags() perf scripting python: Add sample flags
perf scripting python: Add IPC
perf scripting python: Add cpumode
perf scripting python: Add context switch
perf scripting python: Add auxtrace error
perf scripts python: intel-pt-events.py: Add branches to script
tools/perf/builtin-script.c | 56 +++- .../perf/scripts/python/bin/intel-pt-events-record | 4 +- .../perf/scripts/python/bin/intel-pt-events-report | 4 +- tools/perf/scripts/python/intel-pt-events.py | 143 +++++++-- tools/perf/util/db-export.c | 12 +- tools/perf/util/db-export.h | 2 +- .../perf/util/scripting-engines/trace-event-perl.c | 3 +- .../util/scripting-engines/trace-event-python.c | 321 +++++++++++++++------ tools/perf/util/trace-event-scripting.c | 3 +- tools/perf/util/trace-event.h | 8 +- 10 files changed, 415 insertions(+), 141 deletions(-)
Regards
Adrian