Skip to content

Commit 8bc6150

Browse files
committed
simplify link to perf map docs from perf profiling
1 parent 59f3c15 commit 8bc6150

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Doc/howto/perf_profiling.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ functions to appear in the output of the ``perf`` profiler. When this mode is
2424
enabled, the interpreter will interpose a small piece of code compiled on the
2525
fly before the execution of every Python function and it will teach ``perf`` the
2626
relationship between this piece of code and the associated Python function using
27-
`perf map files`_. If you're an extension author interested in having your extension
28-
write to the perf map files, refer to :doc:`the C-API <../c-api/perfmaps>`.
27+
:doc:`perf map files <../c-api/perfmaps>`.
2928

3029
.. note::
3130

@@ -207,5 +206,3 @@ You can check if your system has been compiled with this flag by running::
207206
If you don't see any output it means that your interpreter has not been compiled with
208207
frame pointers and therefore it may not be able to show Python functions in the output
209208
of ``perf``.
210-
211-
.. _perf map files: https://github.com/torvalds/linux/blob/0513e464f9007b70b96740271a948ca5ab6e7dd7/tools/perf/Documentation/jit-interface.txt

0 commit comments

Comments
 (0)