]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: Fix throttle/unthrottle event logging
authorAnton Blanchard <anton@samba.org>
Wed, 22 Jul 2009 13:05:46 +0000 (23:05 +1000)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Wed, 22 Jul 2009 16:05:56 +0000 (18:05 +0200)
commit5a1237a5be655a515f487b5c203c74f41d285c2a
tree2f06225dc023f5fc07f1135147dd09f19601ba2b
parent89e0e104065ceef097696a1465ca7f401367401e
perf_counter: Fix throttle/unthrottle event logging

Right now we only print PERF_EVENT_THROTTLE + 1 (ie PERF_EVENT_UNTHROTTLE).
Fix this to print both a throttle and unthrottle event.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090722130546.GE9029@kryten>
kernel/perf_counter.c