-
Notifications
You must be signed in to change notification settings - Fork 116
create_llvm_prof is not working when perf version is 6.12 #233
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
Comments
Little update: If you could help me debugging this down, I would like to report ustream |
Thanks for reporting. We are looking into it and will report back shortly. |
Hi Peter, I am trying to reproduce. I worked on a archlinux, updated to newest with kernel 6.12.4 and perf 6.12-1. Seems the system is missing libpfm support, and I cannot find libpfm via pacman. Then I saw you patch to add support and I tried to makepkg on your change but failed with libpfm not found error on my archlinux. Could you briefly describe how to add libpfm support for arch, thanks. -Han |
Hi, I have pushed a perf version with working pfm support now into the extra-testing repository. You can find them here (Click the download button and then install with sudo pacman -U): |
Hi Peter, thanks for preparing the packages. I am now able to reproduce. The perf data parser, that this tool depends on, failed to parse "struct perf_event_header" (all fields are filled with zero), this may be caused by (unlikely) the new perf-6.12 tool's failing to correctly write the header into perf.data, or (probably) the parser has a bug or is incapable of parsing the new perf-6.12. format (I don't know what has changed in 6.12). I'll keep looking. |
Filed an internal bug regarding perf data parser, will report back. |
We found the error happens during reading build-id, and we then found this. After apply the patch on top of linux-tools-6.12-7 , the "Error reading build ID header." is gone.
|
cc @captain5050, perhaps a bug in googleprodkernel/linux-perf@ae39ba1. |
I believe this is fixed by: https://lore.kernel.org/r/Z0aRFFW9xMh3mqKB@google.com |
Does that need to get cherry-picked back into 6.12? |
Thanks! The fix appears to work from Namhyung Kim |
The fixes tag means it should be pulled automatically. |
Hi together,
Recently on cachyos we have updated the linux-tools perf to the 6.12 release.
When trying to convert the profile with perf 6.12 I get following:
When using perf 6.10 it does work correctly:
Reproducer:
If you need further logs, please let me know
The text was updated successfully, but these errors were encountered: