Skip to content

Commit 4c31a4f

Browse files
committed
Document PYTHONPERFSUPPORT in the manpage
1 parent 0ca6b15 commit 4c31a4f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Misc/python.man

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,12 @@ extra location information (end line, start column offset and end column
594594
offset) to every instruction in code objects. This is useful when smaller code
595595
objects and pyc files are desired as well as suppressing the extra visual
596596
location indicators when the interpreter displays tracebacks.
597+
.IP PYTHONPERFSUPPORT
598+
If this variable is set to a nonzero value, it enables support for
599+
the Linux perf profiler so Python calls can be detected by it.
600+
Setting to 0 disables.
601+
.IP
602+
See also the \fB\-X perf\fR option.
597603
.IP PYTHONASYNCIODEBUG
598604
If this environment variable is set to a non-empty string, enable the debug
599605
mode of the asyncio module.

0 commit comments

Comments
 (0)