sysrq: fix ftrace help msg & doc.
Subsystems (2)
PATCH 1/1 sysrq: fix ftrace help msg & doc.
From: Randy Dunlap <[email protected]>
We have a conventional method of explicitly stating the sysrq action key in a sysrq help message, so change dump-ftrace-buffer to use that method and add it to Documentation/sysrq.txt.
Signed-off-by Randy Dunlap <[email protected]>
cc Steven Rostedt <[email protected]>
cc Ingo Molnar <[email protected]>
--- Documentation/sysrq.txt | 2 ++ drivers/char/sysrq.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
drivers/char/sysrq.c +1 -1
@@ -283,7 +283,7 @@ static void sysrq_ftrace_dump(int key, s }static struct sysrq_key_op sysrq_ftrace_dump_op = { .handler = sysrq_ftrace_dump, - .help_msg ="dumpZ-ftrace-buffer" , + .help_msg ="dump-ftrace-buffer(Z)" , .action_msg ="Dump ftrace buffer" , .enable_mask =SYSRQ_ENABLE_DUMP , };
Documentation/sysrq.txt +2 -0
@@ -114,6 +114,8 @@ On all - write a character to /proc/sys 'x' - Used by xmon interface on ppc/powerpc platforms. +'z' - Dump the ftrace buffer + '0'-'9' - Sets the console log level, controlling which kernel messages will be printed to your console. ('0', for example would make it so that only emergency messages like PANICs or OOPSes would
Ingo Molnar
AppliedQuoted 7 lines · Randy Dunlap
From: Randy Dunlap <[email protected]>
We have a conventional method of explicitly stating the sysrq action key in a sysrq help message, so change dump-ftrace-buffer to use that method and add it to
Documentation/sysrq.txt.
Quoted 7 lines
Signed-off-by Randy Dunlap <[email protected]>cc Steven Rostedt <[email protected]>cc Ingo Molnar <[email protected]>--- Documentation/sysrq.txt | 2 ++ drivers/char/sysrq.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
applied to tip/tracing/docs, thanks Randy!
Ingo