[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20081007102044.GA25693@basil.nowhere.org>
Date: Tue, 7 Oct 2008 12:20:44 +0200
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org, tglx@...utronix.de
Subject: [PATCH] Fix documentation of sysrq-q
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@...ux.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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists