diff options
author | Ingo Molnar | 2008-12-11 15:17:03 +0100 |
---|---|---|
committer | Ingo Molnar | 2008-12-11 15:45:56 +0100 |
commit | 6a930700c8b655a9e25e42fc4adc0b225ebbcefc (patch) | |
tree | 5b6aa07d2734f43d0c5bc7d97aebe256e6d86fa8 /REPORTING-BUGS | |
parent | perf counters: add prctl interface to disable/enable counters (diff) | |
download | kernel-qcow2-linux-6a930700c8b655a9e25e42fc4adc0b225ebbcefc.tar.gz kernel-qcow2-linux-6a930700c8b655a9e25e42fc4adc0b225ebbcefc.tar.xz kernel-qcow2-linux-6a930700c8b655a9e25e42fc4adc0b225ebbcefc.zip |
perf counters: clean up state transitions
Impact: cleanup
Introduce a proper enum for the 3 states of a counter:
PERF_COUNTER_STATE_OFF = -1
PERF_COUNTER_STATE_INACTIVE = 0
PERF_COUNTER_STATE_ACTIVE = 1
and rename counter->active to counter->state and propagate the
changes everywhere.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions