Skip to content

Commit

Permalink
Fix documentation of sysrq-q
Browse files Browse the repository at this point in the history
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: torvalds@linux-foundation.org
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Andi Kleen authored and Thomas Gleixner committed Oct 20, 2008
1 parent 870e2a2 commit 24bdeb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Documentation/sysrq.txt
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ On all - write a character to /proc/sysrq-trigger. e.g.:

'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.

Expand Down
2 changes: 1 addition & 1 deletion drivers/char/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
.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)
Expand Down

0 comments on commit 24bdeb4

Please sign in to comment.