Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Fix documentation of sysrq-q

I fell into the trap recently that it only dumps hrtimers instead of
all timers. Fix the documentation.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andi Kleen and committed by
Linus Torvalds
2a80a378 966c8079

+3 -2
+2 -1
Documentation/sysrq.txt
··· 95 95 96 96 'p' - Will dump the current registers and flags to your console. 97 97 98 - 'q' - Will dump a list of all running timers. 98 + 'q' - Will dump a list of all running hrtimers. 99 + WARNING: Does not cover any other timers 99 100 100 101 'r' - Turns off keyboard raw mode and sets it to XLATE. 101 102
+1 -1
drivers/char/sysrq.c
··· 168 168 static struct sysrq_key_op sysrq_show_timers_op = { 169 169 .handler = sysrq_handle_show_timers, 170 170 .help_msg = "show-all-timers(Q)", 171 - .action_msg = "Show Pending Timers", 171 + .action_msg = "Show pending hrtimers (no others)", 172 172 }; 173 173 174 174 static void sysrq_handle_mountro(int key, struct tty_struct *tty)