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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index 62c7f6988e0e..5d1eb1ccd96c 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c | |||
@@ -264,8 +264,7 @@ static SV *perl_process_callchain(struct perf_sample *sample, | |||
264 | goto exit; | 264 | goto exit; |
265 | 265 | ||
266 | if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, | 266 | if (thread__resolve_callchain(al->thread, &callchain_cursor, evsel, |
267 | sample, NULL, NULL, | 267 | sample, NULL, NULL, scripting_max_stack) != 0) { |
268 | sysctl_perf_event_max_stack) != 0) { | ||
269 | pr_err("Failed to resolve callchain. Skipping\n"); | 268 | pr_err("Failed to resolve callchain. Skipping\n"); |
270 | goto exit; | 269 | goto exit; |
271 | } | 270 | } |