diff options
author | gsallam <123525874+gsallam@users.noreply.github.com> | 2023-05-21 10:12:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-21 10:12:24 (GMT) |
commit | be0c106789322273f1f76d232c768c09880a14bd (patch) | |
tree | 5068f5a53ac893d612272fcff8dcaa0c28ee4d69 /Doc/howto | |
parent | 2e91c7e62609ef405901dd5c4cb9d5aa794591ab (diff) | |
download | cpython-be0c106789322273f1f76d232c768c09880a14bd.zip cpython-be0c106789322273f1f76d232c768c09880a14bd.tar.gz cpython-be0c106789322273f1f76d232c768c09880a14bd.tar.bz2 |
gh-103295: expose API for writing perf map files (#103546)
Co-authored-by: Aniket Panse <aniketpanse@fb.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Carl Meyer <carl@oddbird.net>
Diffstat (limited to 'Doc/howto')
-rw-r--r-- | Doc/howto/perf_profiling.rst | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/howto/perf_profiling.rst b/Doc/howto/perf_profiling.rst index 6af5536..61812c1 100644 --- a/Doc/howto/perf_profiling.rst +++ b/Doc/howto/perf_profiling.rst @@ -24,7 +24,7 @@ functions to appear in the output of the ``perf`` profiler. When this mode is enabled, the interpreter will interpose a small piece of code compiled on the fly before the execution of every Python function and it will teach ``perf`` the relationship between this piece of code and the associated Python function using -`perf map files`_. +:doc:`perf map files <../c-api/perfmaps>`. .. note:: @@ -206,5 +206,3 @@ You can check if your system has been compiled with this flag by running:: If you don't see any output it means that your interpreter has not been compiled with frame pointers and therefore it may not be able to show Python functions in the output of ``perf``. - -.. _perf map files: https://github.com/torvalds/linux/blob/0513e464f9007b70b96740271a948ca5ab6e7dd7/tools/perf/Documentation/jit-interface.txt |