All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: linux-kernel@vger.kernel.org, tglx@linutronix.de
Subject: [PATCH] Fix documentation of sysrq-q
Date: Tue, 7 Oct 2008 12:20:44 +0200	[thread overview]
Message-ID: <20081007102044.GA25693@basil.nowhere.org> (raw)

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)

                 reply	other threads:[~2008-10-07 10:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081007102044.GA25693@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.