Skip to content

linux-tools: Add pfm support

Peter Jung requested to merge ptr1337/linux-tools:main into main

pfm is a helper library used by application to program specific monitoring events. This is commonly and often used in profiling processes and makes it easier to choose the correct event.

Example: AutoFDO for the Kernel provides in their instructions following command: perf record --pfm-events RETIRED_TAKEN_BRANCH_INSTRUCTIONS:k -a -N -b -c 500009 -o kernel.data -- time makepkg -s

This results currently into following: Error: unknown option pfm-events' `

Since this is commonly used in many instructions add support for it, so that its easier for users and developers to use these events.

Signed-off-by: Peter Jung ptr1337@archlinux.org

Merge request reports

Loading