Skip to content

dynamic debug: ehancements and cleanups

Jason Baron lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16dynamic_debug: fix whitespace complaints from scripts/cleanfilelib/dynamic_debug.c+9 -70 replies
2/16dynamic_debug: drop enabled field from struct _ddebug, use _DPRINTK_FLAGS_PRINTinclude/linux/dynamic_debug.h lib/dynamic_debug.c+4 -100 replies
3/16dynamic_debug: make dynamic-debug supersede DEBUG ccflaginclude/linux/device.h include/linux/dynamic_debug.h include/linux/netdevice.h +1 more+16 -120 replies
4/16dynamic_debug: change verbosity at runtimelib/dynamic_debug.c+1 -00 replies
5/16dynamic_debug: replace strcpy with strlcpy, in ddebug_setup_query()lib/dynamic_debug.c+5 -32 replies
6/16dynamic_debug: pr_err() call should not depend upon verbositylib/dynamic_debug.c+1 -20 replies
7/16dynamic_debug: drop explicit !=NULL checkslib/dynamic_debug.c+5 -60 replies
8/16dynamic_debug: describe_flags with '=[pmflt_]*'include/linux/dynamic_debug.h lib/dynamic_debug.c+12 -120 replies
9/16dynamic_debug: tighten up error checking on debug querieslib/dynamic_debug.c+33 -60 replies
10/16dynamic_debug: early return if _ddebug table is emptylib/dynamic_debug.c+20 -150 replies
11/16dynamic_debug: reduce lineno field to a saner 18 bitsinclude/linux/dynamic_debug.h+1 -10 replies
12/16dynamic_debug: chop off comments in ddebug_tokenizelib/dynamic_debug.c+2 -00 replies
13/16dynamic_debug: enlarge command/query write bufferlib/dynamic_debug.c+12 -40 replies
14/16dynamic_debug: add trim_prefix() to provide source-root relative pathsDocumentation/dynamic-debug-howto.txt lib/dynamic_debug.c+19 -62 replies
15/16dynamic_debug: factor vpr_info_dq out of ddebug_parse_querylib/dynamic_debug.c+17 -85 replies
16/16dynamic_debug: process multiple debug-queries on a lineDocumentation/dynamic-debug-howto.txt lib/dynamic_debug.c+66 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/16] dynamic debug: ehancements and cleanups

Hi,

Mostly cleanups and minor feature ehancements for dynamic debug. I haven't included the module parameter feature, since its implementation is still being worked out, but I wanted to get some of Jim's patches included, since I've got so many. These have already been through several review iterations. Patches are against Linus's latest tree.

Thanks,

-Jason

Jim Cromie (16):
dynamic_debug: fix whitespace complaints from scripts/cleanfile
dynamic_debug: drop enabled field from struct _ddebug, use _DPRINTK_FLAGS_PRINT
dynamic_debug: make dynamic-debug supersede DEBUG ccflag
dynamic_debug: change verbosity at runtime
dynamic_debug: replace strcpy with strlcpy, in ddebug_setup_query()
dynamic_debug: pr_err() call should not depend upon verbosity
dynamic_debug: drop explicit !=NULL checks
dynamic_debug: describe_flags with '=[pmflt_]*'
dynamic_debug: tighten up error checking on debug queries
dynamic_debug: early return if _ddebug table is empty
dynamic_debug: reduce lineno field to a saner 18 bits
dynamic_debug: chop off comments in ddebug_tokenize
dynamic_debug: enlarge command/query write buffer
dynamic_debug: add trim_prefix() to provide source-root relative paths
dynamic_debug: factor vpr_info_dq out of ddebug_parse_query
dynamic_debug: process multiple debug-queries on a line

 Documentation/dynamic-debug-howto.txt |   30 ++---
 include/linux/device.h                |    8 +-
 include/linux/dynamic_debug.h         |   19 ++-
 include/linux/netdevice.h             |    8 +-
 include/linux/printk.h                |    8 +-
 lib/dynamic_debug.c                   |  270 +++++++++++++++++++++++----------
 6 files changed, 222 insertions(+), 121 deletions(-)
Signature · 1 line
1.7.7.3