diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-05-23 12:29:01 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-05-24 02:24:30 -0400 |
commit | 475c55797323b67435083f6e2eb8ee670f6410ec (patch) | |
tree | 2aad9762396b01ccf92581489e70bd3689246f19 /include/linux/perf_counter.h | |
parent | 082ff5a2767a0679ee543f14883adbafb631ffbe (diff) |
perf_counter: Remove perf_counter_context::nr_enabled
now that pctrl() no longer disables other people's counters,
remove the PMU cache code that deals with that.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <20090523163013.032998331@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 4159ee5940f..2ddf5e3c551 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -516,7 +516,6 @@ struct perf_counter_context { | |||
516 | struct list_head event_list; | 516 | struct list_head event_list; |
517 | int nr_counters; | 517 | int nr_counters; |
518 | int nr_active; | 518 | int nr_active; |
519 | int nr_enabled; | ||
520 | int is_active; | 519 | int is_active; |
521 | atomic_t refcount; | 520 | atomic_t refcount; |
522 | struct task_struct *task; | 521 | struct task_struct *task; |