Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Enable the :ref:`perf profiler <perf_profiling>` trampoline on Alpine Linux with the
musl C library on ``x86_64`` and ``aarch64``. The
trampoline is architecture-specific and does not depend on the C library, so
the same assembly trampoline used for glibc is reused for musl.
6 changes: 6 additions & 0 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3878,8 +3878,12 @@ PERF_TRAMPOLINE_OBJ=""
AS_CASE([$PLATFORM_TRIPLET],
[x86_64-linux-gnu], [perf_trampoline=yes
PERF_TRAMPOLINE_OBJ=Python/asm_trampoline_x86_64.o],
[x86_64-linux-musl], [perf_trampoline=yes
PERF_TRAMPOLINE_OBJ=Python/asm_trampoline_x86_64.o],
[aarch64-linux-gnu], [perf_trampoline=yes
PERF_TRAMPOLINE_OBJ=Python/asm_trampoline_aarch64.o],
[aarch64-linux-musl], [perf_trampoline=yes
PERF_TRAMPOLINE_OBJ=Python/asm_trampoline_aarch64.o],
[darwin], [AS_CASE([$MACOSX_DEPLOYMENT_TARGET],
[[10.[0-9]|10.1[0-1]]], [perf_trampoline=no],
[perf_trampoline=yes
Expand Down
Loading