git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d1c7dd
)
perf counters: clean up state transitions
author
Ingo Molnar
<mingo@elte.hu>
Thu, 11 Dec 2008 14:17:03 +0000
(15:17 +0100)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 11 Dec 2008 14:45:56 +0000
(15:45 +0100)
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>
No differences found