]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in perf profiling docs (#112112)
authorRyuji Tsutsui <ryu22e+github@gmail.com>
Wed, 15 Nov 2023 15:40:19 +0000 (00:40 +0900)
committerGitHub <noreply@github.com>
Wed, 15 Nov 2023 15:40:19 +0000 (15:40 +0000)
Doc/howto/perf_profiling.rst

index af7b67d20429502f23f8c19223dce4df9da695a6..bb1c00e0aa51d5f210f14f42022aff1f0fc88df0 100644 (file)
@@ -97,7 +97,7 @@ Then we can use ``perf report`` to analyze the data:
                             |          |          |                     |          |          |--2.97%--_PyObject_Malloc
     ...
 
-As you can see, the Python functions are not shown in the output, only ``_Py_Eval_EvalFrameDefault``
+As you can see, the Python functions are not shown in the output, only ``_PyEval_EvalFrameDefault``
 (the function that evaluates the Python bytecode) shows up. Unfortunately that's not very useful because all Python
 functions use the same C function to evaluate bytecode so we cannot know which Python function corresponds to which
 bytecode-evaluating function.