]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/scripting-engines/trace-event-python.c
Merge remote-tracking branch 'arm-soc/for-next'
[karo-tx-linux.git] / tools / perf / util / scripting-engines / trace-event-python.c
index aa9e1257c1ee85d515bb5a90e4c3c8640e24b276..a8e825fca42af9aeab46de300855e5e22ea8ffc0 100644 (file)
@@ -319,7 +319,7 @@ static PyObject *python_process_callchain(struct perf_sample *sample,
 
        if (thread__resolve_callchain(al->thread, evsel,
                                      sample, NULL, NULL,
-                                     PERF_MAX_STACK_DEPTH) != 0) {
+                                     scripting_max_stack) != 0) {
                pr_err("Failed to resolve callchain. Skipping\n");
                goto exit;
        }