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

Jerome Forissier jerome.forissier at linaro.org
Fri Dec 13 13:45:35 CET 2024


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

-- 
2.43.0



More information about the U-Boot mailing list