Ver código fonte

fix documentation of sysrq-q really

SysRq-Q also dumps information about the clockevent devices.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Thomas Gleixner 16 anos atrás
pai
commit
322acf6585
2 arquivos alterados com 3 adições e 3 exclusões
  1. 2 2
      Documentation/sysrq.txt
  2. 1 1
      drivers/char/sysrq.c

+ 2 - 2
Documentation/sysrq.txt

@@ -95,8 +95,8 @@ On all -  write a character to /proc/sysrq-trigger.  e.g.:
 
 
 'p'     - Will dump the current registers and flags to your console.
 'p'     - Will dump the current registers and flags to your console.
 
 
-'q'     - Will dump a list of all running hrtimers.
-	  WARNING: Does not cover any other timers
+'q'     - Will dump per CPU lists of all armed hrtimers (not timer_list timers)
+	  and detailed information about all clockevent devices.
 
 
 'r'     - Turns off keyboard raw mode and sets it to XLATE.
 'r'     - Turns off keyboard raw mode and sets it to XLATE.
 
 

+ 1 - 1
drivers/char/sysrq.c

@@ -168,7 +168,7 @@ static void sysrq_handle_show_timers(int key, struct tty_struct *tty)
 static struct sysrq_key_op sysrq_show_timers_op = {
 static struct sysrq_key_op sysrq_show_timers_op = {
 	.handler	= sysrq_handle_show_timers,
 	.handler	= sysrq_handle_show_timers,
 	.help_msg	= "show-all-timers(Q)",
 	.help_msg	= "show-all-timers(Q)",
-	.action_msg	= "Show pending hrtimers (no others)",
+	.action_msg	= "Show clockevent devices & pending hrtimers (no others)",
 };
 };
 
 
 static void sysrq_handle_mountro(int key, struct tty_struct *tty)
 static void sysrq_handle_mountro(int key, struct tty_struct *tty)