New: oprofile can not find the events files
https://bugs.busybox.net/show_bug.cgi?id=14641
Bug ID: 14641
Summary: oprofile can not find the events files
Product: buildroot
Version: 2020.02.12
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]Target Milestone: ---
Hi all,
We are using Intel ApolloLake AtomE3930 SOC with goldmont microarchitecture.
Buildroot configure file contains the BR2_x86_64=y. When we starting the operf, we get following error:
oprofile: could not open unit mask description file /usr/share/oprofile//i386/goldmont/unit_masks Unable to find info for event cpu_clk_unhalted
It looks for me a problem in OPROFILE_INSTALL_TARGET_CMDS. It copies the x86-64 for our SOC, but oprofile awaits them at i386 Architecture, s.
https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/monitoring-and-automation/OProfile/#s2-oprofile-events
Best Regards,
Sergey
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14641] oprofile can not find the events files
https://bugs.busybox.net/show_bug.cgi?id=14641
--- Comment #1 from Fabrice Fontaine <[email protected]> --- Hi,
Thanks for your bug report. Can you confirm that the following patch fixes your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
?
Best Regards,
Fabrice
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14641] oprofile can not find the events files
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=14641
--- Comment #2 from Sergey <[email protected]> --- Hi Fabrice,
Built and tested right now, it works.
I think yours patch is easy solution. All events files take 2.8M. For some applications it could be a wasted space, but it is working solution, if someone wanna save the flash space (for example me), he can write own OPROFILE_INSTALL_TARGET_CMDS
Thanks,
Best Regards,
Sergey
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
[Buildroot] [Bug 14641] oprofile can not find the events files
In reply to [email protected]https://bugs.busybox.net/show_bug.cgi?id=14641
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED--- Comment #3 from Peter Korsgaard <[email protected]> --- Fixed in git:
https://git.buildroot.org/buildroot/commit/?id=5259807318699646a7bb9cbc24fb137983bc5270
Signature · 6 lines
You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot