From: Peter Zijlstra Date: Fri, 13 Mar 2009 11:21:36 +0000 (+0100) Subject: perf_counter: add an event_list X-Git-Tag: v2.6.31-rc1~383^2~475 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=592903cdcbf606a838056bae6d03fc557806c914;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed