9794563d4d
Now that it's possible to capture LBR on AMD CPU from BPF at arbitrary point, there is no reason to artificially limit this feature to just sampling events. So corresponding check is removed. AFAIU, there is no correctness implications of doing this (and it was possible to bypass this check by just setting perf_event's sample_period to 1 anyways, so it doesn't guard all that much). Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Reviewed-by: Sandipan Das <sandipan.das@amd.com> Link: https://lore.kernel.org/r/20240402022118.1046049-5-andrii@kernel.org |
||
---|---|---|
.. | ||
Makefile | ||
brs.c | ||
core.c | ||
ibs.c | ||
iommu.c | ||
iommu.h | ||
lbr.c | ||
power.c | ||
uncore.c |