Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux perf profile can not see Python calls on RISC-V architecture #120400

Closed
ixgbe00 opened this issue Jun 12, 2024 · 0 comments
Closed

Linux perf profile can not see Python calls on RISC-V architecture #120400

ixgbe00 opened this issue Jun 12, 2024 · 0 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@ixgbe00
Copy link
Contributor

ixgbe00 commented Jun 12, 2024

Bug report

Bug description:

check the output of python -m sysconfig | grep HAVE_PERF_TRAMPOLINE to see that RISC-V system does not support perf profile
(python312_perf_venv) [root@openeuler-riscv64 pytorch]# python3 -m sysconfig | grep HAVE_PERF_TRAMPOLINE
PY_HAVE_PERF_TRAMPOLINE = "0"
refer to https://docs.python.org/3.12/howto/perf_profiling.html

CPython versions tested on:

3.12

Operating systems tested on:

Linux

Tasks

No tasks being tracked yet.

Linked PRs

@ixgbe00 ixgbe00 added the type-bug An unexpected behavior, bug, or error label Jun 12, 2024
pablogsal added a commit that referenced this issue Jun 12, 2024
…rchitecture (#120089)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
@pablogsal pablogsal added needs backport to 3.13 bugs and security fixes and removed needs backport to 3.13 bugs and security fixes labels Jun 12, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jun 12, 2024
…SC-V architecture (pythonGH-120089)

(cherry picked from commit 4b1e85b)

Co-authored-by: ixgbe00 <yangwang@iscas.ac.cn>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Yhg1s pushed a commit that referenced this issue Jun 14, 2024
…ISC-V architecture (GH-120089) (#120413)

gh-120400 :Support Linux perf profile to see Python calls on RISC-V architecture (GH-120089)
(cherry picked from commit 4b1e85b)

Co-authored-by: ixgbe00 <yangwang@iscas.ac.cn>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
mrahtz pushed a commit to mrahtz/cpython that referenced this issue Jun 30, 2024
…SC-V architecture (python#120089)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
noahbkim pushed a commit to hudson-trading/cpython that referenced this issue Jul 11, 2024
…SC-V architecture (python#120089)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
estyxx pushed a commit to estyxx/cpython that referenced this issue Jul 17, 2024
…SC-V architecture (python#120089)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants