public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] trivial patch for comment correction in -rt patches since 2.6.18
@ 2006-11-01 14:39 Luotao Fu
  0 siblings, 0 replies; only message in thread
From: Luotao Fu @ 2006-11-01 14:39 UTC (permalink / raw)
  To: mingo; +Cc: linux-kernel, Robert Schwebel


[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-01 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-01 14:39 [PATCH] trivial patch for comment correction in -rt patches since 2.6.18 Luotao Fu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox