diff options
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-perl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index 35ed00a600fb..ae1cebc307c5 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c | |||
@@ -263,7 +263,7 @@ static SV *perl_process_callchain(struct perf_sample *sample, | |||
263 | if (!symbol_conf.use_callchain || !sample->callchain) | 263 | if (!symbol_conf.use_callchain || !sample->callchain) |
264 | goto exit; | 264 | goto exit; |
265 | 265 | ||
266 | if (thread__resolve_callchain(al->thread, evsel, | 266 | if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, |
267 | sample, NULL, NULL, | 267 | sample, NULL, NULL, |
268 | PERF_MAX_STACK_DEPTH) != 0) { | 268 | PERF_MAX_STACK_DEPTH) != 0) { |
269 | pr_err("Failed to resolve callchain. Skipping\n"); | 269 | pr_err("Failed to resolve callchain. Skipping\n"); |