]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-121201: Disable perf_trampoline on riscv64 for now (GH-121328) (#121336)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 4 Jul 2024 08:57:52 +0000 (10:57 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2024 08:57:52 +0000 (08:57 +0000)
gh-121201: Disable perf_trampoline on riscv64 for now (GH-121328)

Disable perf_trampoline on riscv64 for now

Until support is added in perf_jit_trampoline.c

gh-120089 was incomplete.
(cherry picked from commit ca2e8765009d0d3eb9fe6c75465825c50808f4dd)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Misc/NEWS.d/next/Core and Builtins/2024-06-05-06-26-04.gh-issue- [deleted file]
configure
configure.ac

diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-06-05-06-26-04.gh-issue- b/Misc/NEWS.d/next/Core and Builtins/2024-06-05-06-26-04.gh-issue-
deleted file mode 100644 (file)
index 29f06d4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Support Linux perf profiler to see Python calls on RISC-V architecture
index a0f7185060abc7a43fd8d85f9f7d64bede61a850..5552b617203f882fc5348ee3032db0208919087a 100755 (executable)
--- a/configure
+++ b/configure
@@ -13206,8 +13206,6 @@ case $PLATFORM_TRIPLET in #(
     perf_trampoline=yes ;; #(
   aarch64-linux-gnu) :
     perf_trampoline=yes ;; #(
-  riscv64-linux-gnu) :
-    perf_trampoline=yes ;; #(
   *) :
     perf_trampoline=no
  ;;
index 9db779565719f55e9279e5aa80d951b4ab764d7a..58fd1c769f3d3160851d6c26f52605055902eafc 100644 (file)
@@ -3699,7 +3699,6 @@ AC_MSG_CHECKING([perf trampoline])
 AS_CASE([$PLATFORM_TRIPLET],
   [x86_64-linux-gnu], [perf_trampoline=yes],
   [aarch64-linux-gnu], [perf_trampoline=yes],
-  [riscv64-linux-gnu], [perf_trampoline=yes],
   [perf_trampoline=no]
 )
 AC_MSG_RESULT([$perf_trampoline])