[PATCH 0/2] log: allow for message continuation
Heinrich Schuchardt
xypron.glpk at gmx.de
Thu Sep 17 14:19:00 CEST 2020
With the first patch it becomes possible to continue a log message with
the same log level and category as the previous messages.
We need this facility to convert pr_cont() to use our logging drivers.
The second patch provides a unit test.
This patch is a prerequisite:
[PATCH 1/1] log: mute messages generated by log drivers
https://lists.denx.de/pipermail/u-boot/2020-September/426418.html
Heinrich Schuchardt (2):
log: allow for message continuation
test: log: test message continuation
common/log.c | 23 ++++++++++++++----
doc/develop/logging.rst | 6 +++++
include/log.h | 2 ++
test/log/Makefile | 4 +++-
test/log/cont_test.c | 52 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 81 insertions(+), 6 deletions(-)
create mode 100644 test/log/cont_test.c
--
2.28.0
More information about the U-Boot
mailing list