Messages in this thread | | | Date | Sun, 19 Sep 2004 22:48:41 +0200 | From | Ingo Molnar <> | Subject | Re: [patch] voluntary-preempt-2.6.9-rc2-mm1-S1 |
| |
* Karsten Wiese <annabellesgarden@yahoo.de> wrote:
> Just 1 small correction: > >>>> > --- kernel/time.c~ 2004-09-19 15:09:38.000000000 +0200 > +++ kernel/time.c 2004-09-19 17:02:35.000000000 +0200 > @@ -96,8 +96,10 @@ > asmlinkage long sys_gettimeofday(struct timeval __user *tv, struct timezone > __user *tz) > { > #ifdef CONFIG_LATENCY_TRACE > - if (!tv && ((long)tz == 1)) > + if (!tv && ((long)tz == 1)) { > user_trace_start(); > + tz = NULL; > + } > if (!tv && !tz) > user_trace_stop();
The point is to let gettimeofday(0,1) start tracing and gettimeofday(0,0) stop tracing - a system-call-controlled tracing facility (if trace_enabled=2). This was used to trace weird latencies before, but it's not the normal mode of operation.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |