summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-05-07 11:47:21 (GMT)
committerGitHub <noreply@github.com>2024-05-07 11:47:21 (GMT)
commit04859228aa11756558807bcf99ccff78e4e8c56d (patch)
tree050ba0bb7abecaa1b007267a774e07bcfa1f1f99 /Doc/using
parent48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b (diff)
downloadcpython-04859228aa11756558807bcf99ccff78e4e8c56d.zip
cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.gz
cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.bz2
gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores (#118693)
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 522e6e5..2d95fa9 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -587,11 +587,11 @@ Miscellaneous options
.. versionadded:: 3.12
- * ``-X perfjit`` enables support for the Linux ``perf`` profiler with DWARF
+ * ``-X perf_jit`` enables support for the Linux ``perf`` profiler with DWARF
support. When this option is provided, the ``perf`` profiler will be able
- to report Python calls using DWARF ifnormation. This option is only available on
+ to report Python calls using DWARF information. This option is only available on
some platforms and will do nothing if is not supported on the current
- system. The default value is "off". See also :envvar:`PYTHONPERFJITSUPPORT`
+ system. The default value is "off". See also :envvar:`PYTHON_PERF_JIT_SUPPORT`
and :ref:`perf_profiling`.
.. versionadded:: 3.13
@@ -1137,7 +1137,7 @@ conflict.
.. versionadded:: 3.12
-.. envvar:: PYTHONPERFJITSUPPORT
+.. envvar:: PYTHON_PERF_JIT_SUPPORT
If this variable is set to a nonzero value, it enables support for
the Linux ``perf`` profiler so Python calls can be detected by it
@@ -1145,7 +1145,7 @@ conflict.
If set to ``0``, disable Linux ``perf`` profiler support.
- See also the :option:`-X perfjit <-X>` command-line option
+ See also the :option:`-X perf_jit <-X>` command-line option
and :ref:`perf_profiling`.
.. versionadded:: 3.13