public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Luotao Fu <l.fu@pengutronix.de>
To: mingo@elte.hu
Cc: linux-kernel@vger.kernel.org,
	Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [PATCH] trivial patch for comment correction in -rt patches since 2.6.18
Date: Wed, 1 Nov 2006 15:39:33 +0100	[thread overview]
Message-ID: <20061101143932.GA25890@localhost.localdomain> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 574 bytes --]

Hi,
the trivial patch in the following fixes a comment in latency_trace.c
about user triggerring the tracer, which says that the latency tracer is 
to be triggered on- and off by gettimeofday() from userspace. However it
is done by prctl() since 2.6.18-rt1 now.

Regards
Luotao Fu
-- 
     Dipl.-Ing. Luotao Fu | http://www.pengutronix.de
  Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
      Hannoversche Str. 2, 31134 Hildesheim, Germany
    Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


[-- Attachment #1.2: usertriggertrace_comment.diff --]
[-- Type: text/plain, Size: 566 bytes --]

Correct the comment about userspace function which triggers the latency tracer

Signed-off-by: Luotao Fu <lfu@pengutronix.de>

Index: linux-2.6.18-rt.sec/kernel/latency_trace.c
===================================================================
--- kernel/latency_trace.c
+++ kernel/latency_trace.c
@@ -263,7 +263,7 @@ int trace_all_cpus = 0;
 int print_functions = 0;
 
 /*
- * user-triggered via gettimeofday(0,1)/gettimeofday(0,0)
+ * user-triggered via prctl(0,1)/prctl(0,0)
  */
 int trace_user_triggered = 0;
 int trace_user_trigger_irq = -1;

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

                 reply	other threads:[~2006-11-01 14:37 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=20061101143932.GA25890@localhost.localdomain \
    --to=l.fu@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=r.schwebel@pengutronix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox