Skip to content

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

Closed
@ixgbe00

Description

@ixgbe00

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 

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions