diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-03-13 07:21:36 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 03:29:43 -0400 |
commit | 592903cdcbf606a838056bae6d03fc557806c914 (patch) | |
tree | 6851004446a405654ff3f1c39a70b313456544a5 /mm/sparse.c | |
parent | d6d020e9957745c61285ef3da9f294c5e6801f0f (diff) |
perf_counter: add an event_list
I noticed that the counter_list only includes top-level counters, thus
perf_swcounter_event() will miss sw-counters in groups.
Since perf_swcounter_event() also wants an RCU safe list, create a new
event_list that includes all counters and uses RCU list ops and use call_rcu
to free the counter structure.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions