Skip to content

Commit 1973514

Browse files
committed
Turn on perf trampoline
1 parent 35b5eaa commit 1973514

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/pylifecycle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ init_interp_main(PyThreadState *tstate)
12231223
cur_cb = &_Py_perfmap_jit_callbacks;
12241224
}
12251225
if (_PyPerfTrampoline_SetCallbacks(cur_cb) < 0 ||
1226-
_PyPerfTrampoline_Init(config->perf_profiling) < 0) {
1226+
_PyPerfTrampoline_Init(1) < 0) {
12271227
return _PyStatus_ERR("can't initialize the perf trampoline");
12281228
}
12291229
}

0 commit comments

Comments
 (0)