Kernel branch records leak kernel addresses. If an LBR PMC can record
kernel branches, require PRIV_PMC_SYSTEM and refuse it in a jail.
User-only LBR keeps the normal rules.
LBR samples need a log file, so require one.
Depends on D60567
Differential D60568
hwpmc: add the LBR allocation policy Authored by afscoelho_gmail.com on Sat, Oct 10, 1:22 AM. Tags None Referenced Files
Subscribers
Details
Kernel branch records leak kernel addresses. If an LBR PMC can record LBR samples need a log file, so require one. Depends on D60567 Built amd64 GENERIC + hwpmc.ko, GENERIC without HWPMC_HOOKS, and arm64.
Diff Detail
|