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
- Prev by Date: Re: [PATCH v2] Re: Battery class driver.
- Next by Date: Re: AHCI should try to claim all AHCI controllers
- Previous by thread: CONFIG_NO_HZ: missed ticks, stall (keyb IRQ required) [2.6.18-rc4-mm1]
- Next by thread: [PATCH] latency tracer support for ARM ep93xx platform
- Index(es):