[PATCH 00/16] dynamic-debug cleanups, 2 new features
From: Jim Cromie
Date: Tue Oct 29 2019 - 16:00:02 EST
random cleanups of obsolete code, comments, verbose output, etc.
accept new query input:
file inode.c:100-200
file inode.c:start_*
add 'xyz' user flags to callsites' flagstate, allowing user to compose
a set of callsites by marking them with user flags.
extend flags-spec to allow filter-flags, which select callsites for
modification based upon their current flagstate. This lets user
activate the set of callsites composed previously.
Jim Cromie (16):
dyndbg: drop trim_prefix, obsoleted by __FILE__s relative path
dyndbg: drop overwrought comment on ddebug_proc_open
dyndbg: raise verbosity needed to enable ddebug_proc_* logging
dyndbg: rename __verbose section to __dyndbg
dyndbg: parse flags last, restore original behavior
dyndbg: fix overcounting of ram used by dyndbg
dyndbg: fix a BUG_ON in ddebug_change
dyndbg: refactor parse_linerange out of ddebug_parse_query
dyndbg: accept 'file foo.c:func1' and 'file foo.c:10-100'
dyndbg: refactor ddebug_read_flags out of ddebug_parse_flags
dyndbg: combine flags & mask into a struct, use that
dyndbg: add filter parameter to ddebug_parse_flags
dyndbg: extend ddebug_parse_flags to accept optional filter-flags
dyndbg: prefer declarative init in caller, to memset in callee
dyndbg: add inverted-flags, implement filtering on flags
dyndbg: allow inverted-flag-chars in modflags
.../admin-guide/dynamic-debug-howto.rst | 72 +++--
include/asm-generic/vmlinux.lds.h | 6 +-
include/linux/dynamic_debug.h | 7 +-
kernel/module.c | 2 +-
lib/dynamic_debug.c | 304 ++++++++++--------
5 files changed, 236 insertions(+), 155 deletions(-)
--
2.21.0