perf intel-pt: Add support for instructions-per-cycle (IPC)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest22 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/22 | perf intel-pt: Fix itrace defaults for perf scripttools/ | +2 | 5 replies | |
| 2/22 | perf auxtrace: Fix itrace defaults for perf scripttools/ | +2 | 0 replies | |
| 3/22 | perf intel-pt: Fix itrace defaults for perf script intel-pt documentationtools/ | +5 | 0 replies | |
| 4/22 | perf intel-pt: Factor out intel_pt_update_sample_timetools/ | +10 | 0 replies | |
| 5/22 | perf intel-pt: Accumulate cycle count from CYC packetstools/ tools/ | +14 | 0 replies | |
| 6/22 | perf tools: Add IPC information to perf_sampletools/ | +2 | 0 replies | |
| 7/22 | perf intel-pt: Add support for samples to contain IPC ratiotools/ | +29 | 0 replies | |
| 8/22 | perf script: Add output of IPC ratiotools/ tools/ | +26 | 0 replies | |
| 9/22 | perf intel-pt: Record when decoding PSB+ packetstools/ | +31 | 0 replies | |
| 10/22 | perf intel-pt: Re-factor TIP cases in intel_pt_walk_to_iptools/ | +17 | 0 replies | |
| 11/22 | perf intel-pt: Accumulate cycle count from TSC/TMA/MTC packetstools/ | +51 | 0 replies | |
| 12/22 | perf intel-pt: Document IPC usagetools/ | +30 | 0 replies | |
| 13/22 | perf thread-stack: Accumulate IPC informationtools/ tools/ | +18 | 0 replies | |
| 14/22 | perf db-export: Add brief documentationtools/ | +41 | 0 replies | |
| 15/22 | perf db-export: Export IPC informationtools/ | +6 | 0 replies | |
| 16/22 | perf scripts python: export-to-sqlite.py: Export IPC informationtools/ | +24 | 0 replies | |
| 17/22 | perf scripts python: export-to-postgresql.py: Export IPC informationtools/ | +24 | 0 replies | |
| 18/22 | perf scripts python: exported-sql-viewer.py: Add IPC information to the Branch reportstools/ | +83 | 2 replies | |
| 19/22 | perf scripts python: exported-sql-viewer.py: Add CallGraphModelParamstools/ | +41 | 0 replies | |
| 20/22 | perf scripts python: exported-sql-viewer.py: Add IPC information to Call Graph Graphtools/ | +56 | 0 replies | |
| 21/22 | perf scripts python: exported-sql-viewer.py: Add IPC information to Call Treetools/ | +56 | 0 replies | |
| 22/22 | perf scripts python: exported-sql-viewer.py: Select find text when find bar is activatedtools/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/22] perf intel-pt: Add support for instructions-per-cycle (IPC)
Hi
Here are some patches that add support for IPC. There are 3 dependent fixes to start with. Display of IPC by perf script is in patch 8 "perf script: Add output of IPC ratio". Information about Intel PT and IPC is in patch 12 "perf intel-pt: Document IPC usage". Then there are patches to export IPC including un-related patch 14 "perf db-export: Add brief documentation" and un-related patch 22 "perf scripts python: exported-sql-viewer.py: Select find text when find bar is activated"
Adrian Hunter (22):
perf intel-pt: Fix itrace defaults for perf script
perf auxtrace: Fix itrace defaults for perf script
perf intel-pt: Fix itrace defaults for perf script intel-pt documentation perf intel-pt: Factor out intel_pt_update_sample_time
perf intel-pt: Accumulate cycle count from CYC packets
perf tools: Add IPC information to perf_sample
perf intel-pt: Add support for samples to contain IPC ratio
perf script: Add output of IPC ratio
perf intel-pt: Record when decoding PSB+ packets
perf intel-pt: Re-factor TIP cases in intel_pt_walk_to_ip
perf intel-pt: Accumulate cycle count from TSC/TMA/MTC packets
perf intel-pt: Document IPC usage
perf thread-stack: Accumulate IPC information
perf db-export: Add brief documentation
perf db-export: Export IPC information
perf scripts python: export-to-sqlite.py: Export IPC information
perf scripts python: export-to-postgresql.py: Export IPC information
perf scripts python: exported-sql-viewer.py: Add IPC information to the Branch reports perf scripts python: exported-sql-viewer.py: Add CallGraphModelParams perf scripts python: exported-sql-viewer.py: Add IPC information to Call Graph Graph perf scripts python: exported-sql-viewer.py: Add IPC information to Call Tree perf scripts python: exported-sql-viewer.py: Select find text when find bar is activated
tools/perf/Documentation/db-export.txt | 41 +++ tools/perf/Documentation/intel-pt.txt | 40 ++- tools/perf/Documentation/perf-script.txt | 5 +- tools/perf/builtin-script.c | 23 +- tools/perf/scripts/python/export-to-postgresql.py | 36 ++- tools/perf/scripts/python/export-to-sqlite.py | 36 ++- tools/perf/scripts/python/exported-sql-viewer.py | 294 ++++++++++++++++----- tools/perf/util/auxtrace.c | 3 +- tools/perf/util/event.h | 2 + .../perf/util/intel-pt-decoder/intel-pt-decoder.c | 141 ++++++++-- .../perf/util/intel-pt-decoder/intel-pt-decoder.h | 1 + tools/perf/util/intel-pt.c | 32 ++- .../util/scripting-engines/trace-event-python.c | 8 +- tools/perf/util/thread-stack.c | 14 + tools/perf/util/thread-stack.h | 4 + 15 files changed, 556 insertions(+), 124 deletions(-) create mode 100644 tools/perf/Documentation/db-export.txt
Regards
Adrian