[PATCH] trivial patch for comment correction in -rt patches since 2.6.18
From: Luotao Fu
Date: Wed Nov 01 2006 - 09:37:40 EST
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 <lfu@xxxxxxxxxxxxxx>
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