All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix documentation of sysrq-q
@ 2008-10-07 10:20 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2008-10-07 10:20 UTC (permalink / raw)
  To: linux-kernel, tglx

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>

Index: linux-2.6.27-rc6-misc/Documentation/sysrq.txt
===================================================================
--- linux-2.6.27-rc6-misc.orig/Documentation/sysrq.txt
+++ linux-2.6.27-rc6-misc/Documentation/sysrq.txt
@@ -95,7 +95,8 @@ On all -  write a character to /proc/sys
 
 'p'     - Will dump the current registers and flags to your console.
 
-'q'     - Will dump a list of all running timers.
+'q'     - Will dump a list of all running hrtimers.
+	  WARNING: Does not cover any other timers
 
 'r'     - Turns off keyboard raw mode and sets it to XLATE.
 
Index: linux-2.6.27-rc6-misc/drivers/char/sysrq.c
===================================================================
--- linux-2.6.27-rc6-misc.orig/drivers/char/sysrq.c
+++ linux-2.6.27-rc6-misc/drivers/char/sysrq.c
@@ -167,7 +167,7 @@ static void sysrq_handle_show_timers(int
 static struct sysrq_key_op sysrq_show_timers_op = {
 	.handler	= sysrq_handle_show_timers,
 	.help_msg	= "show-all-timers(Q)",
-	.action_msg	= "Show Pending Timers",
+	.action_msg	= "Show pending hrtimers (no others)",
 };
 
 static void sysrq_handle_mountro(int key, struct tty_struct *tty)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-07 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-07 10:20 [PATCH] Fix documentation of sysrq-q Andi Kleen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.