Skip to content

Commit 3ae5cb2

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

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Doc/howto/perf_profiling.rst

Lines changed: 7 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,12 @@ 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 Homebrew). In
174+
order to attach to running processes on macOS, run ``samply setup`` once (and
175+
every time samply is updated) to self-sign the samply binary.
171176

172177
How to enable ``perf`` profiling support
173178
----------------------------------------

0 commit comments

Comments
 (0)