summaryrefslogtreecommitdiffstats
path: root/Doc/howto
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-12 21:27:35 (GMT)
committerGitHub <noreply@github.com>2021-04-12 21:27:35 (GMT)
commit85918e4ab6e9410008aef6dedf000d24b3e120ea (patch)
treee4c282aec978ebb45778dbd3897978aa42f4cea7 /Doc/howto
parent20ac34772aa9805ccbf082e700f2b033291ff5d2 (diff)
downloadcpython-85918e4ab6e9410008aef6dedf000d24b3e120ea.zip
cpython-85918e4ab6e9410008aef6dedf000d24b3e120ea.tar.gz
cpython-85918e4ab6e9410008aef6dedf000d24b3e120ea.tar.bz2
bpo-43774: Add more links to configure options (GH-25363)
Diffstat (limited to 'Doc/howto')
-rw-r--r--Doc/howto/instrumentation.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/howto/instrumentation.rst b/Doc/howto/instrumentation.rst
index ab6240d..4a59ae8 100644
--- a/Doc/howto/instrumentation.rst
+++ b/Doc/howto/instrumentation.rst
@@ -46,7 +46,8 @@ or::
$ sudo apt-get install systemtap-sdt-dev
-CPython must then be configured ``--with-dtrace``:
+CPython must then be :option:`configured with the --with-dtrace option
+<--with-dtrace>`:
.. code-block:: none
@@ -77,7 +78,8 @@ the built binary by seeing if it contains a ".note.stapsdt" section.
$ readelf -S ./python | grep .note.stapsdt
[30] .note.stapsdt NOTE 0000000000000000 00308d78
-If you've built Python as a shared library (with --enable-shared), you
+If you've built Python as a shared library
+(with the :option:`--enable-shared` configure option), you
need to look instead within the shared library. For example::
$ readelf -S libpython3.3dm.so.1.0 | grep .note.stapsdt
@@ -252,7 +254,7 @@ where the columns are:
and the remainder indicates the call/return hierarchy as the script executes.
-For a `--enable-shared` build of CPython, the markers are contained within the
+For a :option:`--enable-shared` build of CPython, the markers are contained within the
libpython shared library, and the probe's dotted path needs to reflect this. For
example, this line from the above example: