summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2016-04-14 22:53:49 +0200
committerArnaldo Carvalho de Melo2016-04-15 00:46:57 +0200
commitd327e60cfae2201bcdee5aeb9b5a42e3988b184f (patch)
treea3851cbb03baba5b60d94a4fa70a59facf79c37c /tools/perf/builtin-trace.c
parentperf evsel: Require that callchains be resolved before calling fprintf_{sym,c... (diff)
downloadkernel-qcow2-linux-d327e60cfae2201bcdee5aeb9b5a42e3988b184f.tar.gz
kernel-qcow2-linux-d327e60cfae2201bcdee5aeb9b5a42e3988b184f.tar.xz
kernel-qcow2-linux-d327e60cfae2201bcdee5aeb9b5a42e3988b184f.zip
perf tools: Remove addr_location argument to sample__fprintf_callchain
Not used at all, nuke it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-jf2w8ce8nl3wso3vuodg5jci@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r--tools/perf/builtin-trace.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 0e2a82bda22f..5e5a95e34a53 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -1898,8 +1898,7 @@ static int trace__fprintf_callchain(struct trace *trace, struct perf_evsel *evse
return 0;
}
- return sample__fprintf_callchain(sample, &al, 38, print_opts,
- &callchain_cursor, trace->output);
+ return sample__fprintf_callchain(sample, 38, print_opts, &callchain_cursor, trace->output);
}
static int trace__sys_exit(struct trace *trace, struct perf_evsel *evsel,