https://github.com/python/cpython/commit/678fb82cd546e7474307e8d4fe29327d2296c94d
commit: 678fb82cd546e7474307e8d4fe29327d2296c94d
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: pablogsal <[email protected]>
date: 2024-07-04T08:57:52Z
summary:

[3.13] gh-121201: Disable perf_trampoline on riscv64 for now (GH-121328) 
(#121336)

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 <[email protected]>

files:
D Misc/NEWS.d/next/Core and Builtins/2024-06-05-06-26-04.gh-issue-
M configure
M 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
index 29f06d43c3598c..00000000000000
--- a/Misc/NEWS.d/next/Core and Builtins/2024-06-05-06-26-04.gh-issue-  
+++ /dev/null
@@ -1 +0,0 @@
-Support Linux perf profiler to see Python calls on RISC-V architecture
diff --git a/configure b/configure
index a0f7185060abc7..5552b617203f88 100755
--- 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
  ;;
diff --git a/configure.ac b/configure.ac
index 9db779565719f5..58fd1c769f3d31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to