diff options
| author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-03-13 12:21:36 +0100 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-04-06 09:29:43 +0200 |
| commit | 592903cdcbf606a838056bae6d03fc557806c914 (patch) | |
| tree | 6851004446a405654ff3f1c39a70b313456544a5 /include/linux/init_task.h | |
| parent | d6d020e9957745c61285ef3da9f294c5e6801f0f (diff) | |
| download | cachepc-linux-592903cdcbf606a838056bae6d03fc557806c914.tar.gz cachepc-linux-592903cdcbf606a838056bae6d03fc557806c914.zip | |
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 'include/linux/init_task.h')
0 files changed, 0 insertions, 0 deletions
