[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090305113828.GA9548@elte.hu>
Date: Thu, 5 Mar 2009 12:38:28 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Frederic Weisbecker <fweisbec@...il.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Peter Zijlstra <peterz@...radead.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] tracing/function-graph-tracer: use the more
lightweight local clock
* Frederic Weisbecker <fweisbec@...il.com> wrote:
> > There will be one problem though: function trace elapsed
> > time measurements across idle. Those are not correctly
> > measured by the local clock.
>
> Oh, why? If I'm not wrong it uses sched_clock() which uses tsc
> on x86. And this register always goes forward at the same
> rate. Unless some Cpu decrease their frequency while beeing
> idle for some time and then become unreliable?
TSC stops in idle on many CPUs.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists