log level cleanups

Submitted by Kir Kolyshkin on Feb. 10, 2017, 4:03 a.m.

Details

Reviewer None
Submitted Feb. 10, 2017, 4:03 a.m.
Last Updated Feb. 14, 2017, 12:48 p.m.
Revision 4

Cover Letter

This is mostly (but not only) prefixing for compel log level names.

v2: drop the last patch
v3: fix a typo, add printf annotation patches
v4: add rename printing functions patch

Kir Kolyshkin (5):
  compel/include/log.h: whitespace cleanup
  compel/uapi: add prefix to log levels
  compel_print_on_level(): annotate with printf
  compel std_printf: annotate with printf
  compel std: rename printing functions

 compel/include/log.h                     | 61 +++++++++++++++++---------------
 compel/include/uapi/log.h                |  4 +++
 compel/include/uapi/loglevels.h          | 23 +++++++-----
 compel/plugins/include/uapi/std/string.h | 17 ++++-----
 compel/plugins/std/log.c                 |  4 +--
 compel/plugins/std/string.c              | 20 +++++------
 compel/src/lib/log.c                     |  2 +-
 compel/src/main.c                        |  6 ++--
 compel/test/infect/spy.c                 |  2 +-
 compel/test/rsys/spy.c                   |  2 +-
 10 files changed, 78 insertions(+), 63 deletions(-)
  

Revisions

Patches download mbox

Tests

Patches download mbox

Tests

SERIES REVISION LOOKS STRANGE. Please double-check patch list and the ordering before proceeding.

Patches download mbox

Tests