Thread (13 messages) read the whole thread 13 messages, 5 authors, 2011-09-02

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

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2011-08-19 15:14:05
Also in: lkml

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help