summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide/dynamic-debug-howto.rst
diff options
context:
space:
mode:
authorJim Cromie <jim.cromie@gmail.com>2020-07-20 01:10:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-24 17:00:09 +0200
commit14775b04964264189caa4a0862eac05dab8c0502 (patch)
tree4a7adf29a289d782c102d6c212bbfaac9a4fae3a /Documentation/admin-guide/dynamic-debug-howto.rst
parentdyndbg: accept 'file foo.c:func1' and 'file foo.c:10-100' (diff)
downloadlinux-14775b04964264189caa4a0862eac05dab8c0502.tar.xz
linux-14775b04964264189caa4a0862eac05dab8c0502.zip
dyndbg: accept query terms like file=bar and module=foo
Current code expects "keyword" "arg" as 2 words, space separated. Change to also accept "keyword=arg" form as well, and drop !(nwords%2) requirement. Then in rest of function, use new keyword, arg variables instead of word[i], word[i+1] Acked-by: <jbaron@akamai.com> Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Link: https://lore.kernel.org/r/20200719231058.1586423-15-jim.cromie@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/admin-guide/dynamic-debug-howto.rst')
-rw-r--r--Documentation/admin-guide/dynamic-debug-howto.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/admin-guide/dynamic-debug-howto.rst b/Documentation/admin-guide/dynamic-debug-howto.rst
index 6c04aea8f4cd..e5a8def45f3f 100644
--- a/Documentation/admin-guide/dynamic-debug-howto.rst
+++ b/Documentation/admin-guide/dynamic-debug-howto.rst
@@ -156,6 +156,7 @@ against. Possible keywords are:::
``line-range`` cannot contain space, e.g.
"1-30" is valid range but "1 - 30" is not.
+ ``module=foo`` combined keyword=value form is interchangably accepted
The meanings of each keyword are: