perf: Fix scaling vs. perf_event_enable()
authorPeter Zijlstra <[email protected]>
Wed, 24 Feb 2016 17:45:49 +0000 (18:45 +0100)
committerIngo Molnar <[email protected]>
Thu, 25 Feb 2016 07:44:19 +0000 (08:44 +0100)
commitbd2afa49d194c6412c333e9fdd48bc5d06bb465d
tree4568fb1b834f6b70d067157d4f6134b9e3667b6e
parent7fce250915efca0f8f51dddee3ae89bf30d86ca5
perf: Fix scaling vs. perf_event_enable()

Similar to the perf_enable_on_exec(), ensure that event timings are
consistent across perf_event_enable().

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/events/core.c