aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-09-06 08:48:15 -0400
committerIngo Molnar <mingo@elte.hu>2010-09-09 14:46:32 -0400
commitb28ab83c595e767f2028276b7398d17f2253cec0 (patch)
treeae52b2d4c10d1317ec7a5906bea56847e95b5f43 /include/linux/perf_event.h
parentc3f00c70276d8ae82578c8b773e2db657f69a478 (diff)
perf: Remove the swevent hash-table from the cpu context
Separate the swevent hash-table from the cpu_context bits in preparation for per pmu cpu contexts. This keeps the swevent hash a global entity. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: paulus <paulus@samba.org> Cc: stephane eranian <eranian@googlemail.com> Cc: Robert Richter <robert.richter@amd.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Lin Ming <ming.m.lin@intel.com> Cc: Yanmin <yanmin_zhang@linux.intel.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index b22176d3ebdf..4ab4f0ca09a1 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -861,12 +861,6 @@ struct perf_cpu_context {
861 struct perf_event_context *task_ctx; 861 struct perf_event_context *task_ctx;
862 int active_oncpu; 862 int active_oncpu;
863 int exclusive; 863 int exclusive;
864 struct swevent_hlist *swevent_hlist;
865 struct mutex hlist_mutex;
866 int hlist_refcount;
867
868 /* Recursion avoidance in each contexts */
869 int recursion[PERF_NR_CONTEXTS];
870}; 864};
871 865
872struct perf_output_handle { 866struct perf_output_handle {