Skip to content

Commit 2812159

Browse files
committed
Change the version number in the docs and mention macOS restrictions
1 parent a7b043d commit 2812159

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Doc/howto/perf_profiling.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ relationship between this piece of code and the associated Python function using
2929

3030
Support for profiling is available on Linux and macOS on select architectures.
3131
Perf is available on Linux, while samply can be used on both Linux and macOS.
32-
samply support on macOS is available starting from Python 3.14.
32+
samply support on macOS is available starting from Python 3.15.
3333
Check the output of the ``configure`` build step or
3434
check the output of ``python -m sysconfig | grep HAVE_PERF_TRAMPOLINE``
3535
to see if your system is supported.
@@ -167,7 +167,13 @@ interactively. The advantage of samply is that it provides a modern
167167
web-based interface for analyzing profiling data and works on both Linux
168168
and macOS.
169169

170-
On macOS, samply support requires Python 3.14 or later.
170+
On macOS, samply support requires Python 3.15 or later. Also on macOS, samply
171+
can't profile signed Python executables due to restrictions by macOS. You can
172+
profile with Python binaries that you've compiled yourself, or which are
173+
unsigned or locally-signed (such as anything installed by ``cargo install`` or
174+
by Homebrew). In order to attach to running processes on macOS, run
175+
``samply setup`` once (and every time samply is updated) to self-sign the
176+
samply binary.
171177

172178
How to enable ``perf`` profiling support
173179
----------------------------------------

0 commit comments

Comments
 (0)