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
Hi, Thanks for your bug report. Can you confirm that the following patch fixes your issue: https://patchwork.ozlabs.org/project/buildroot/patch/20220307223355.945328-1-fontaine.fabrice@gmail.com/ ? Best Regards, Fabrice
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
Fixed in git: https://git.buildroot.org/buildroot/commit/?id=5259807318699646a7bb9cbc24fb137983bc5270