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)
commit966ee4d6b887c14159043ac80b8c3661d2bbe5e2
tree2f06225dc023f5fc07f1135147dd09f19601ba2b
parenta0541234f89c93f313961ce7b28676e11488a5f0
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