Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8b640cc4 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo
Browse files

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: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent 8853a1b7
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -62,7 +62,6 @@ static int
dump_raw_samples(struct perf_tool *tool,
dump_raw_samples(struct perf_tool *tool,
		 union perf_event *event,
		 union perf_event *event,
		 struct perf_sample *sample,
		 struct perf_sample *sample,
		 struct perf_evsel *evsel __maybe_unused,
		 struct machine *machine)
		 struct machine *machine)
{
{
	struct perf_mem *mem = container_of(tool, struct perf_mem, tool);
	struct perf_mem *mem = container_of(tool, struct perf_mem, tool);
@@ -112,10 +111,10 @@ dump_raw_samples(struct perf_tool *tool,
static int process_sample_event(struct perf_tool *tool,
static int process_sample_event(struct perf_tool *tool,
				union perf_event *event,
				union perf_event *event,
				struct perf_sample *sample,
				struct perf_sample *sample,
				struct perf_evsel *evsel,
				struct perf_evsel *evsel __maybe_unused,
				struct machine *machine)
				struct machine *machine)
{
{
	return dump_raw_samples(tool, event, sample, evsel, machine);
	return dump_raw_samples(tool, event, sample, machine);
}
}


static int report_raw_events(struct perf_mem *mem)
static int report_raw_events(struct perf_mem *mem)