Commit 3871f2ffe53db3cef4fe0c18993ad9e6e0f69408
Committed by
Ingo Molnar
1 parent
5250d329e3
Exists in
master
and in
4 other branches
sysrq: fix ftrace help msg & doc.
Impact: update documentation and help messages 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 <randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 2 changed files with 3 additions and 1 deletions Side-by-side Diff
Documentation/sysrq.txt
... | ... | @@ -114,6 +114,8 @@ |
114 | 114 | |
115 | 115 | 'x' - Used by xmon interface on ppc/powerpc platforms. |
116 | 116 | |
117 | +'z' - Dump the ftrace buffer | |
118 | + | |
117 | 119 | '0'-'9' - Sets the console log level, controlling which kernel messages |
118 | 120 | will be printed to your console. ('0', for example would make |
119 | 121 | it so that only emergency messages like PANICs or OOPSes would |
drivers/char/sysrq.c
... | ... | @@ -283,7 +283,7 @@ |
283 | 283 | } |
284 | 284 | static struct sysrq_key_op sysrq_ftrace_dump_op = { |
285 | 285 | .handler = sysrq_ftrace_dump, |
286 | - .help_msg = "dumpZ-ftrace-buffer", | |
286 | + .help_msg = "dump-ftrace-buffer(Z)", | |
287 | 287 | .action_msg = "Dump ftrace buffer", |
288 | 288 | .enable_mask = SYSRQ_ENABLE_DUMP, |
289 | 289 | }; |