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

From: Steven Rostedt
Date: Fri Aug 19 2011 - 11:14:11 EST


On Fri, 2011-08-19 at 23:04 +0800, tom.leiming@xxxxxxxxx wrote:
> From: Ming Lei <tom.leiming@xxxxxxxxx>
>
> 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


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/