perf tools: Remove perf_tool from event_op3
Now that we keep a perf_tool pointer inside perf_session, there's no need to have a perf_tool argument in the event_op3 callback. Remove it. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180913125450.21342-3-jolsa@kernel.org [ Fix the builtin-inject.c build for !HAVE_AUXTRACE_SUPPORT ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
89f1688a57
commit
7336555a68
@@ -27,13 +27,11 @@ typedef int (*event_attr_op)(struct perf_tool *tool,
|
||||
struct perf_evlist **pevlist);
|
||||
|
||||
typedef int (*event_op2)(struct perf_session *session, union perf_event *event);
|
||||
typedef s64 (*event_op3)(struct perf_session *session, union perf_event *event);
|
||||
|
||||
typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
|
||||
struct ordered_events *oe);
|
||||
|
||||
typedef s64 (*event_op3)(struct perf_tool *tool, union perf_event *event,
|
||||
struct perf_session *session);
|
||||
|
||||
enum show_feature_header {
|
||||
SHOW_FEAT_NO_HEADER = 0,
|
||||
SHOW_FEAT_HEADER,
|
||||
|
Reference in New Issue
Block a user