]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sysrq: fix ftrace help msg & doc.
authorRandy Dunlap <randy.dunlap@oracle.com>
Thu, 25 Dec 2008 00:06:57 +0000 (16:06 -0800)
committerIngo Molnar <mingo@elte.hu>
Fri, 26 Dec 2008 09:27:22 +0000 (10:27 +0100)
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>
Documentation/sysrq.txt
drivers/char/sysrq.c

index 10a0263ebb3f01e832c7827cc75d7fe54b341a6f..56b53e005d189c0fe967beed267bd00793f79d0a 100644 (file)
@@ -114,6 +114,8 @@ On all -  write a character to /proc/sysrq-trigger.  e.g.:
 
 '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
index 94966edfb44dedc340d4d81f230c43a0aec9b7bf..785a08ef9a13c77b53549a60598109ed242fc9ea 100644 (file)
@@ -283,7 +283,7 @@ static void sysrq_ftrace_dump(int key, struct tty_struct *tty)
 }
 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,
 };