From 861d23b98db850c72bd06fcbf77fe4a92d8fba65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= <5621605+rodrigogiraoserrao@users.noreply.github.com> Date: Wed, 21 Oct 2026 18:20:42 +0100 Subject: [PATCH 1/2] Fix reference formatting for replay command Updated reference formatting for the replay command in profiling documentation. --- Doc/library/profiling.sampling.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/profiling.sampling.rst b/Doc/library/profiling.sampling.rst index aeb1a429b58515..650902c367bef5 100644 --- a/Doc/library/profiling.sampling.rst +++ b/Doc/library/profiling.sampling.rst @@ -1270,8 +1270,8 @@ The :option:`--compression` option controls data compression: python -m profiling.sampling run --binary --compression=zstd -o profile.bin script.py -To analyze binary profiles, use the :ref:`replay-command` to convert them to -other formats like flame graphs or pstats output. +To analyze binary profiles, use :ref:`the replay command ` to convert +them to other formats like flame graphs or pstats output. Record and replay workflow From b5dbfd7b84861ae08d77649ceb763009b927b6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= <5621605+rodrigogiraoserrao@users.noreply.github.com> Date: Wed, 21 Oct 2026 18:36:10 +0100 Subject: [PATCH 2/2] Update Doc/library/profiling.sampling.rst Co-authored-by: Stan Ulbrych --- Doc/library/profiling.sampling.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/profiling.sampling.rst b/Doc/library/profiling.sampling.rst index 650902c367bef5..25d0d098ff84b4 100644 --- a/Doc/library/profiling.sampling.rst +++ b/Doc/library/profiling.sampling.rst @@ -1270,7 +1270,7 @@ The :option:`--compression` option controls data compression: python -m profiling.sampling run --binary --compression=zstd -o profile.bin script.py -To analyze binary profiles, use :ref:`the replay command ` to convert +To analyze binary profiles, use the :ref:`replay command ` to convert them to other formats like flame graphs or pstats output.