aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/session.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-06-11 09:20:03 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-06-19 12:06:21 -0400
commita9c34a9f9c677fcbe06bd3eda8d6caa3487b4a65 (patch)
tree6214ccb28df7e2ddce0cca32942447544a8b4b09 /tools/perf/util/session.c
parent6eef3d9c2bcf52b7a3c18e609f5838c007b989a4 (diff)
perf tools: Remove unused evsel parameter from machine__resolve_callchain
Removing unused evsel parameter from machine__resolve_callchain function. Plus related header file and callers changes. The evsel parameter is unused since following commit: perf callchain: Make callchain cursors TLS commit 472606458f3e1ced5fe3cc5f04e90a6b5a4732cf Author: Namhyung Kim <namhyung.kim@lge.com> Date: Thu May 31 14:43:26 2012 +0900 Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Arun Sharma <asharma@fb.com> Cc: Benjamin Redelings <benjamin.redelings@nescent.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Frank Ch. Eigler <fche@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Robert Richter <robert.richter@amd.com> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Ulrich Drepper <drepper@gmail.com> Link: http://lkml.kernel.org/r/1339420814-7379-9-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/session.c')
-rw-r--r--tools/perf/util/session.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/perf/util/session.c b/tools/perf/util/session.c
index 582ee38ed216..febc0aeb3c66 100644
--- a/tools/perf/util/session.c
+++ b/tools/perf/util/session.c
@@ -289,7 +289,6 @@ struct branch_info *machine__resolve_bstack(struct machine *self,
289} 289}
290 290
291int machine__resolve_callchain(struct machine *self, 291int machine__resolve_callchain(struct machine *self,
292 struct perf_evsel *evsel __used,
293 struct thread *thread, 292 struct thread *thread,
294 struct ip_callchain *chain, 293 struct ip_callchain *chain,
295 struct symbol **parent) 294 struct symbol **parent)
@@ -1480,8 +1479,8 @@ struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session,
1480} 1479}
1481 1480
1482void perf_event__print_ip(union perf_event *event, struct perf_sample *sample, 1481void perf_event__print_ip(union perf_event *event, struct perf_sample *sample,
1483 struct machine *machine, struct perf_evsel *evsel, 1482 struct machine *machine, int print_sym,
1484 int print_sym, int print_dso, int print_symoffset) 1483 int print_dso, int print_symoffset)
1485{ 1484{
1486 struct addr_location al; 1485 struct addr_location al;
1487 struct callchain_cursor_node *node; 1486 struct callchain_cursor_node *node;
@@ -1495,7 +1494,7 @@ void perf_event__print_ip(union perf_event *event, struct perf_sample *sample,
1495 1494
1496 if (symbol_conf.use_callchain && sample->callchain) { 1495 if (symbol_conf.use_callchain && sample->callchain) {
1497 1496
1498 if (machine__resolve_callchain(machine, evsel, al.thread, 1497 if (machine__resolve_callchain(machine, al.thread,
1499 sample->callchain, NULL) != 0) { 1498 sample->callchain, NULL) != 0) {
1500 if (verbose) 1499 if (verbose)
1501 error("Failed to resolve callchain. Skipping\n"); 1500 error("Failed to resolve callchain. Skipping\n");