log: Support control over the log output format
Get series with b4
b4 am 20180124143323.GT29241@bill-the-catVersions newest first
- v1 Latest0 of 9 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/9] log: Support control over the log output format
Quoted 45 lines · Simon Glass
Hi Tom,
Quoted 43 lines · Tom Rini
Quoted 40 lines · Simon Glass
Hi,
Quoted 21 lines · Simon Glass
This adds a few more features to the log system:
- 'log format' command to control the log output format
- 'log rec' command to output a log record manually
-log_ret()function to log error-return valuesWith these we have more control over how log records are output as well as the ability to log errors more easily.
Simon Glass (9):
dm: core: Add a function to look up a uclass by name
log: Add functions to convert IDs to/from names
log: Add control over log formatting
log: Updatelog_consoleto honour the log format
log: Add a command to control the log output format
log: Add a command to output a log record
log: Add tests for the new log features
log: Add documentation for commands and formatting
log: Add a way to log error-return valuesQuoted 13 lines
cmd/log.c | 82 +++++++++++++++++++++++++++++++++++++++ common/Kconfig | 13 +++++++ common/log.c | 68 ++++++++++++++++++++++++++++++++ common/log_console.c | 27 ++++++++++++- configs/sandbox_defconfig | 1 + doc/README.log | 35 +++++++++++++++++ drivers/core/uclass.c | 14 +++++++ include/asm-generic/global_data.h | 1 + include/dm/uclass.h | 8 ++++ include/log.h | 64 +++++++++++++++++++++++++++++- test/dm/core.c | 9 +++++ test/py/tests/test_log.py | 32 +++++++++++++-- 12 files changed, 348 insertions(+), 6 deletions(-)Are there any comments / reviews on this series, please? I'd like to apply it in this merge window.
Quoted 6 lines
Quoted 1 line
What's the size change in the cases where boards can't opt-out?
There is no size change for boards which don't enable
CONFIG_LOG. For sandbox (which does) the change is:sandbox: (for 4/4 boards) all +970.0 data +136.0 rodata +212.0 text +622.0
OK, that's my main concern taken care of, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180124/ca95edfb/attachment.sig>