Re: [PATCH 1/3] trace points: power: remove 'cpu_id' from trace_clock_*

Steven Rostedt
2011-08-19T15:14:05Z

On Fri, 2011-08-19 at 23:04 +0800, tom.leiming@gmail.com wrote:
> From: Ming Lei <tom.leiming@gmail.com>
>
> This patch removes the 'cpu_id' parameter of the clock_*
> trace point, based on the ideas below:
>
> - the cpu_id which is passed to trace point is always the current
> cpu
> - the current cpu info has been included into the trace result already
> - smp_processor_id() can't be used safely in preemptible context.
>

Do you know if these changes wont break powertop?

-- Steve