commit | 592903cdcbf606a838056bae6d03fc557806c914 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Fri Mar 13 12:21:36 2009 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Mon Apr 06 09:29:43 2009 +0200 |
tree | 6851004446a405654ff3f1c39a70b313456544a5 | |
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>