diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-03 09:58:45 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-03-11 09:17:09 -0400 |
commit | b7b61cbebd789a3dbca522e3fdb727fe5c95593f (patch) | |
tree | ea6757b8b1d85b1562ce10217912c5827a4d2b23 /tools/perf/builtin-diff.c | |
parent | fa713a4eb9cebe5dec71b1bd11429603e17d841d (diff) |
perf ordered_events: Shorten function signatures
By keeping pointers to machines, evlist and tool in ordered_events.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-0c6huyaf59mqtm2ek9pmposl@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-diff.c')
-rw-r--r-- | tools/perf/builtin-diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c index 74aada554b12..f800fc95f5d7 100644 --- a/tools/perf/builtin-diff.c +++ b/tools/perf/builtin-diff.c | |||
@@ -747,7 +747,7 @@ static int __cmd_diff(void) | |||
747 | goto out_delete; | 747 | goto out_delete; |
748 | } | 748 | } |
749 | 749 | ||
750 | ret = perf_session__process_events(d->session, &tool); | 750 | ret = perf_session__process_events(d->session); |
751 | if (ret) { | 751 | if (ret) { |
752 | pr_err("Failed to process %s\n", d->file.path); | 752 | pr_err("Failed to process %s\n", d->file.path); |
753 | goto out_delete; | 753 | goto out_delete; |