lkml.org 
[lkml]   [2008]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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@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)

\
 
 \ /
  Last update: 2008-10-07 12:23    [W:0.039 / U:4.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site