public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/3] log: allow for message continuation
@ 2020-10-17 12:31 Heinrich Schuchardt
  2020-10-17 12:31 ` [PATCH v2 1/3] log: move processing_msg to global data Heinrich Schuchardt
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Heinrich Schuchardt @ 2020-10-17 12:31 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-10-28 15:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-17 12:31 [PATCH v2 0/3] log: allow for message continuation Heinrich Schuchardt
2020-10-17 12:31 ` [PATCH v2 1/3] log: move processing_msg to global data Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-28 15:31   ` Tom Rini
2020-10-17 12:31 ` [PATCH v2 2/3] log: allow for message continuation Heinrich Schuchardt
2020-10-27  4:52   ` Simon Glass
2020-10-28 15:31   ` Tom Rini
2020-10-17 12:31 ` [PATCH v2 3/3] test: log: test " Heinrich Schuchardt
2020-10-28 15:32   ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox