diff options
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-python.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-python.c b/tools/perf/util/scripting-engines/trace-event-python.c index 496f21cadd97..25e5a238f1cb 100644 --- a/tools/perf/util/scripting-engines/trace-event-python.c +++ b/tools/perf/util/scripting-engines/trace-event-python.c | |||
@@ -312,9 +312,9 @@ static PyObject *python_process_callchain(struct perf_sample *sample, | |||
312 | if (!symbol_conf.use_callchain || !sample->callchain) | 312 | if (!symbol_conf.use_callchain || !sample->callchain) |
313 | goto exit; | 313 | goto exit; |
314 | 314 | ||
315 | if (machine__resolve_callchain(al->machine, evsel, al->thread, | 315 | if (thread__resolve_callchain(al->thread, evsel, |
316 | sample, NULL, NULL, | 316 | sample, NULL, NULL, |
317 | PERF_MAX_STACK_DEPTH) != 0) { | 317 | PERF_MAX_STACK_DEPTH) != 0) { |
318 | pr_err("Failed to resolve callchain. Skipping\n"); | 318 | pr_err("Failed to resolve callchain. Skipping\n"); |
319 | goto exit; | 319 | goto exit; |
320 | } | 320 | } |