diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-19 15:00:45 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-19 15:03:39 -0500 |
commit | 8b640cc4c56cee14bfe5cfb4dbb372ac66d5ec6b (patch) | |
tree | de4b15ad89a41ecbcbfa4a22e0deb0421d4089f6 | |
parent | 8853a1b76288d79aa1a6c5b8fe623d892aa9958b (diff) |
perf mem: Remove unused parameter from dump_raw_samples()
The 'evsel' parameter is not used, ditch it, reducing the function
signature.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-kx9temzdcy7mk2edya9c1tdu@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/builtin-mem.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/perf/builtin-mem.c b/tools/perf/builtin-mem.c index 31c00f186da1..2e3ade69a58e 100644 --- a/tools/perf/builtin-mem.c +++ b/tools/perf/builtin-mem.c | |||
@@ -62,7 +62,6 @@ static int | |||
62 | dump_raw_samples(struct perf_tool *tool, | 62 | dump_raw_samples(struct perf_tool *tool, |
63 | union perf_event *event, | 63 | union perf_event *event, |
64 | struct perf_sample *sample, | 64 | struct perf_sample *sample, |
65 | struct perf_evsel *evsel __maybe_unused, | ||
66 | struct machine *machine) | 65 | struct machine *machine) |
67 | { | 66 | { |
68 | struct perf_mem *mem = container_of(tool, struct perf_mem, tool); | 67 | struct perf_mem *mem = container_of(tool, struct perf_mem, tool); |
@@ -112,10 +111,10 @@ dump_raw_samples(struct perf_tool *tool, | |||
112 | static int process_sample_event(struct perf_tool *tool, | 111 | static int process_sample_event(struct perf_tool *tool, |
113 | union perf_event *event, | 112 | union perf_event *event, |
114 | struct perf_sample *sample, | 113 | struct perf_sample *sample, |
115 | struct perf_evsel *evsel, | 114 | struct perf_evsel *evsel __maybe_unused, |
116 | struct machine *machine) | 115 | struct machine *machine) |
117 | { | 116 | { |
118 | return dump_raw_samples(tool, event, sample, evsel, machine); | 117 | return dump_raw_samples(tool, event, sample, machine); |
119 | } | 118 | } |
120 | 119 | ||
121 | static int report_raw_events(struct perf_mem *mem) | 120 | static int report_raw_events(struct perf_mem *mem) |