mirror of
https://github.com/python/cpython.git
synced 2025-09-14 04:37:29 +00:00
gh-118518: Rename PYTHONPERFJITSUPPORT
and -X perfjit
with underscores (#118693)
This commit is contained in:
parent
48e52fe2c9
commit
04859228aa
8 changed files with 20 additions and 20 deletions
|
@ -1703,7 +1703,7 @@ config_init_perf_profiling(PyConfig *config)
|
|||
if (xoption) {
|
||||
config->perf_profiling = 1;
|
||||
}
|
||||
env = config_get_env(config, "PYTHONPERFJITSUPPORT");
|
||||
env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
|
||||
if (env) {
|
||||
if (_Py_str_to_int(env, &active) != 0) {
|
||||
active = 0;
|
||||
|
@ -1712,7 +1712,7 @@ config_init_perf_profiling(PyConfig *config)
|
|||
config->perf_profiling = 2;
|
||||
}
|
||||
}
|
||||
xoption = config_get_xoption(config, L"perfjit");
|
||||
xoption = config_get_xoption(config, L"perf_jit");
|
||||
if (xoption) {
|
||||
config->perf_profiling = 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue