[PATCH v2 0/3] log: allow for message continuation
Heinrich Schuchardt
xypron.glpk at gmx.de
Sat Oct 17 14:31:56 CEST 2020
The first patch move a static variable to the global data.
With the second 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 third patch provides a unit test.
v2:
move static variables to global data
Heinrich Schuchardt (3):
log: move processing_msg to global data
log: allow for message continuation
test: log: test message continuation
common/log.c | 30 ++++++++++++------
doc/develop/logging.rst | 6 ++++
include/asm-generic/global_data.h | 20 ++++++++++++
include/log.h | 2 ++
test/log/Makefile | 4 ++-
test/log/cont_test.c | 52 +++++++++++++++++++++++++++++++
6 files changed, 104 insertions(+), 10 deletions(-)
create mode 100644 test/log/cont_test.c
--
2.28.0
More information about the U-Boot
mailing list