perf: cs-etm: Coresight decode and disassembly improvements
Status from this message: Applied to perf-tools-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 4 repliesApplied
- v27 patches 13 repliesSuperseded
- v18 patches 3 repliesSuperseded
Changes in v3 from the cover letter
* Check validity of start stop arguments
* Make test work if Perf was installed
* Document that start and stop time are monotonic clock values
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | perf cs-etm: Don't flush when packet_queue fills uptools/ | +18 | 0 replies | |
| 2/7 | perf cs-etm: Use new OpenCSD consistency checkstools/ | +6 | 0 replies | |
| 3/7 | perf scripting python: Add function to get a config valuetools/ tools/ tools/ +1 more | +35 | 0 replies | |
| 4/7 | perf scripts python cs-etm: Update to use argparsetools/ | +10 | 0 replies | |
| 5/7 | perf scripts python cs-etm: Improve argumentstools/ | +55 | 0 replies | |
| 6/7 | perf scripts python cs-etm: Add start and stop argumentstools/ | +38 | 0 replies | |
| 7/7 | perf test: cs-etm: Test Coresight disassembly scripttools/ | +65 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yan | Ganapatrao Kulkarni |
|---|---|---|
| Series | T-b | |
| 1/7 | R-b | |
| 2/7 | R-b | |
| 3/7 | R-b | |
| 4/7 | R-b | |
| 5/7 | R-b | |
| 6/7 | R-b | |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/7] perf: cs-etm: Coresight decode and disassembly improvements
A set of changes that came out of the issues reported here [1].
* First 2 patches fix a decode bug in Perf and add support for new consistency checks in OpenCSD
* The remaining ones make the disassembly script easier to test and use. This also involves adding a new Python binding to Perf to get a config value (perf_config_get())
[1]: https://lore.kernel.org/linux-arm-kernel/[email protected]/
Changes since V2:
* Check validity of start stop arguments
* Make test work if Perf was installed
* Document that start and stop time are monotonic clock values
Changes since V1:
* Keep the flush function for discontinuities
* Still remove the flush when the buffer fills, but now add cs_etm__end_block() for the end trace. That way we won't drop the last branch stack if the instruction sample period wasn't hit at the very end.
James Clark (7):
perf cs-etm: Don't flush when packet_queue fills up perf cs-etm: Use new OpenCSD consistency checks perf scripting python: Add function to get a config value perf scripts python cs-etm: Update to use argparse perf scripts python cs-etm: Improve arguments perf scripts python cs-etm: Add start and stop arguments perf test: cs-etm: Test Coresight disassembly script
.../perf/Documentation/perf-script-python.txt | 2 +- .../scripts/python/Perf-Trace-Util/Context.c | 11 ++ .../scripts/python/arm-cs-trace-disasm.py | 127 ++++++++++++++---- .../tests/shell/test_arm_coresight_disasm.sh | 65 +++++++++ tools/perf/util/config.c | 22 +++ tools/perf/util/config.h | 1 + .../perf/util/cs-etm-decoder/cs-etm-decoder.c | 7 +- tools/perf/util/cs-etm.c | 25 +++- 8 files changed, 225 insertions(+), 35 deletions(-) create mode 100755 tools/perf/tests/shell/test_arm_coresight_disasm.sh
Signature · 1 line
2.34.1