FS#77020 - [perf] perf record --off-cpu support is not compiled in (BUILD_BPF_SKEL=1 is missing)

Attached to Project: Community Packages
Opened by Petr Špaček (pspacek) - Friday, 06 January 2023, 09:51 GMT
Last edited by Sébastien Luttringer (seblu) - Saturday, 30 September 2023, 15:56 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
`perf record` is missing support for `--off-cpu` command line option because it is not compiled in. Could you please enable it?

Additional info:
* package version(s): 6.1-1
* link to upstream bug report, if any: https://lkml.kernel.org/lkml/Ya4CxsyoyFQVFzoi%40kernel.org/T/
Reportedly the feature requires "new enough" Clang, but that should not be an issue in Arch, I believe.

Steps to reproduce:
1. Run `perf record --off-cpu date`
2. Output:
Warning: option `off-cpu' is being ignored because no BUILD_BPF_SKEL=1

Thank you!
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Saturday, 30 September 2023, 15:56 GMT
Reason for closing:  Implemented
Additional comments about closing:  6.5-1
Comment by Sébastien Luttringer (seblu) - Wednesday, 24 May 2023, 00:40 GMT
I'm not able to build perf with this option enabled with 6.3.
There are upstream thread about similar issues on another architectures.

Loading...