x86, perf: Add power_end event to process_*.c cpu_idle routine
authorRobert Schöne <robert.schoene@tu-dresden.de>
Mon, 14 Jun 2010 11:37:20 +0000 (13:37 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jun 2010 09:35:10 +0000 (11:35 +0200)
commitc882e0feb937af4e5b991cbd1c81536f37053e86
tree9484ed7de5de761441b3e5128efadf4674dbbd1a
parent646b1db4956ba8bf748b835b5eba211133d91c2e
x86, perf: Add power_end event to process_*.c cpu_idle routine

Systems using the idle thread from process_32.c and process_64.c
do not generate power_end events which could be traced using
perf. This patch adds the event generation for such systems.

Signed-off-by: Robert Schoene <robert.schoene@tu-dresden.de>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1276515440.5441.45.camel@localhost>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c