All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/6] log: syslog logging driver
@ 2020-02-26 20:48 Heinrich Schuchardt
  2020-02-26 20:48 ` [PATCH v5 1/6] log: correct CONFIG_LOG_TEST prerequisites Heinrich Schuchardt
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Heinrich Schuchardt @ 2020-02-26 20:48 UTC (permalink / raw)
  To: u-boot

This patch series provides a logging driver to send syslog messages via
UDP port 514 to a syslog server and a unit test for the syslog driver.
For testing LOG_SYSLOG is enabled on the sandbox.

For CONFIG_LOG=n a patch enables printf() or debug() output for log_*
functions. A unit test for this use case is provided.

v5:
	do not build syslog driver in SPL
v4:
	correct syslog test (expect 'uboot:' not 'uboot[1]:')
	provide more comments for syslog test

*** BLURB HERE ***

Heinrich Schuchardt (6):
  log: correct CONFIG_LOG_TEST prerequisites
  log: syslog driver
  log: output for CONFIG_LOG=n
  test: log functions with CONFIG_LOG=n
  test: log: test syslog logging driver
  configs: sandbox: enable LOG_SYSLOG

 MAINTAINERS                        |   4 +-
 common/Kconfig                     |   9 +-
 common/Makefile                    |   1 +
 common/log_syslog.c                | 117 ++++++++++++
 configs/sandbox64_defconfig        |   1 +
 configs/sandbox_defconfig          |   1 +
 configs/sandbox_flattree_defconfig |   1 +
 doc/README.log                     |   3 +
 include/log.h                      |  10 +-
 include/test/log.h                 |  16 ++
 include/test/suites.h              |   1 +
 test/Kconfig                       |   9 +
 test/Makefile                      |   2 +-
 test/cmd_ut.c                      |   6 +
 test/log/Makefile                  |  14 ++
 test/log/nolog_test.c              | 135 ++++++++++++++
 test/log/syslog_test.c             | 280 +++++++++++++++++++++++++++++
 test/log/test-main.c               |  20 +++
 18 files changed, 621 insertions(+), 9 deletions(-)
 create mode 100644 common/log_syslog.c
 create mode 100644 include/test/log.h
 create mode 100644 test/log/nolog_test.c
 create mode 100644 test/log/syslog_test.c
 create mode 100644 test/log/test-main.c

--
2.25.0

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

end of thread, other threads:[~2020-05-06  3:42 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-26 20:48 [PATCH v5 0/6] log: syslog logging driver Heinrich Schuchardt
2020-02-26 20:48 ` [PATCH v5 1/6] log: correct CONFIG_LOG_TEST prerequisites Heinrich Schuchardt
2020-02-26 20:48 ` [PATCH v5 2/6] log: syslog driver Heinrich Schuchardt
2020-02-27 23:40   ` Simon Glass
2020-03-03  2:46   ` sjg at google.com
2020-02-26 20:48 ` [PATCH v5 3/6] log: output for CONFIG_LOG=n Heinrich Schuchardt
2020-04-22 19:00   ` Marek Vasut
2020-04-22 19:01     ` Tom Rini
2020-04-22 19:10       ` Marek Vasut
2020-02-26 20:48 ` [PATCH v5 4/6] test: log functions with CONFIG_LOG=n Heinrich Schuchardt
2020-02-26 20:48 ` [PATCH v5 5/6] test: log: test syslog logging driver Heinrich Schuchardt
2020-02-27 23:40   ` Simon Glass
2020-03-03  2:45   ` sjg at google.com
2020-05-06  3:42     ` Simon Glass
2020-02-26 20:48 ` [PATCH v5 6/6] configs: sandbox: enable LOG_SYSLOG Heinrich Schuchardt
2020-03-03  2:45 ` sjg at google.com
2020-03-03  2:46 ` [PATCH v5 4/6] test: log functions with CONFIG_LOG=n sjg at google.com
2020-03-03  2:46 ` [PATCH v5 3/6] log: output for CONFIG_LOG=n sjg at google.com
2020-03-03  2:46 ` [PATCH v5 1/6] log: correct CONFIG_LOG_TEST prerequisites sjg at google.com

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.