mbox series

[v2,0/3] Add 'trace wipe'

Message ID cover.1734093566.git.jerome.forissier@linaro.org
Headers show
Series Add 'trace wipe' | expand

Message

Jerome Forissier Dec. 13, 2024, 12:45 p.m. UTC
This short series adds the 'trace wipe' command which clears the trace
buffer, allowing to re-start a capture from scratch.

Jerome Forissier (3):
  trace: add support for 'trace wipe'
  test: test_trace.py: test 'trace wipe'
  trace: document 'trace wipe'

 cmd/trace.c                 |  5 ++++
 doc/develop/trace.rst       | 11 +++++++++
 include/trace.h             |  2 ++
 lib/trace.c                 | 47 ++++++++++++++++++++++++++-----------
 test/py/tests/test_trace.py | 30 +++++++++++++++++++++++
 5 files changed, 81 insertions(+), 14 deletions(-)

v2:
- Change 'trace clear' to 'trace wipe'
- Add doc patch
- Minor edits to the patch descriptions

v1:
- Added patch: 'test: test_trace.py: test "trace clear" command'

v0:
- Sent as a single patch:
https://lists.denx.de/pipermail/u-boot/2024-December/574148.html