aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/tool.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-07-11 11:28:33 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-07-15 15:28:22 -0400
commit6065210db932fd183cbc8bc77558fee275360e71 (patch)
tree350d0369a8f367d528b9881964977bf567f9213d /tools/perf/util/tool.h
parent30d350795e8e57c17eabaab454932889f1ae8159 (diff)
perf tools: Remove event types framework completely
Removing event types framework completely. The only remainder (apart from few comments) is following enum: enum perf_user_event_type { ... PERF_RECORD_HEADER_EVENT_TYPE = 65, /* deprecated */ ... } It's kept as deprecated, resulting in error when processed in perf_session__process_user_event function. Signed-off-by: Jiri Olsa <jolsa@redhat.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1373556513-3000-6-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/tool.h')
-rw-r--r--tools/perf/util/tool.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/perf/util/tool.h b/tools/perf/util/tool.h
index 88f8cbdb8a34..62b16b6165ba 100644
--- a/tools/perf/util/tool.h
+++ b/tools/perf/util/tool.h
@@ -22,8 +22,6 @@ typedef int (*event_attr_op)(struct perf_tool *tool,
22 union perf_event *event, 22 union perf_event *event,
23 struct perf_evlist **pevlist); 23 struct perf_evlist **pevlist);
24 24
25typedef int (*event_simple_op)(struct perf_tool *tool, union perf_event *event);
26
27typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event, 25typedef int (*event_op2)(struct perf_tool *tool, union perf_event *event,
28 struct perf_session *session); 26 struct perf_session *session);
29 27
@@ -39,7 +37,6 @@ struct perf_tool {
39 unthrottle; 37 unthrottle;
40 event_attr_op attr; 38 event_attr_op attr;
41 event_op2 tracing_data; 39 event_op2 tracing_data;
42 event_simple_op event_type;
43 event_op2 finished_round, 40 event_op2 finished_round,
44 build_id; 41 build_id;
45 bool ordered_samples; 42 bool ordered_samples;