[PATCH] trivial patch for comment correction in -rt patches since 2.6.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Correct the comment about userspace function which triggers the latency tracer

Signed-off-by: Luotao Fu <[email protected]>

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: signature.asc
Description: Digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux