Public bug reported: Description of the issue: The 7.0 perf build/package appears to contain a generic Arm PMUv3 database but not the Olympus/Grace CPU-specific JSON tables shipped in the NVIDIA 7.0 builds. The target kernel still enables CONFIG_PERF_EVENTS, CONFIG_HW_PERF_EVENTS, CONFIG_ARM_PMU and CONFIG_ARM_PMUV3; raw encodings count successfully. Check the perf pmu- events source inputs, mapfile/model matching, build inputs and package carry-forward.
Specifically, we are not seeing the perf events introduced by this patch (https://github.com/NVIDIA/NV-Kernels/commit/feafe6f224d5) that we’ve carried since the first 7.0-bos kernel that supported VR. As an example, the patch introduces support for the “cpu_slot” event. The perf version from the Canonical packages does not contain this event while a locally built version of perf from NV-Kernels does contain it: $ sudo perf list | grep cpu_slot $ $ sudo ./tools/perf/perf list | grep cpu_slot cpu_slot OR armv8_pmuv3_0/cpu_slot/ $ Looking into this further, I see the patch in the changelog for linux-tools-7.0.0-2015-nvidia-bos-64k: $ apt changelog linux-tools-7.0.0-2015-nvidia-bos-64k | grep 410 ... - perf vendor events arm64: Add Tegra410 Olympus PMU events But it doesn’t look like that package ships a perf binary that is specific to the 7.0.0-2015-nvidia-bos-64k kernel. This is further evidenced by running a find on my system and only seeing the default version of perf and my locally built version: $ sudo find / -name perf -type f /usr/bin/perf /home/nvidia/mochs/NV-Kernels/tools/perf/perf ** Affects: linux-nvidia-bos (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2162778 Title: Perf binary for linux-nvidia kernel not including event aliases To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-bos/+bug/2162778/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
