linux/arch/x86/events/amd
Andrii Nakryiko 9794563d4d perf/x86/amd: Don't reject non-sampling events with configured LBR
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
2024-04-03 09:14:26 +02:00
..
brs.c arch/x86: Fix typos 2024-01-03 11:46:22 +01:00
core.c perf/x86/amd: Support capturing LBR from software events 2024-04-03 09:14:26 +02:00
ibs.c perf/x86/amd: Reject branch stack for IBS events 2023-11-30 09:34:40 +01:00
iommu.c
iommu.h
lbr.c perf/x86/amd: Don't reject non-sampling events with configured LBR 2024-04-03 09:14:26 +02:00
Makefile perf/x86/amd/lbr: Detect LbrExtV2 support 2022-08-27 00:05:43 +02:00
power.c
uncore.c perf/x86/amd/uncore: Fix __percpu annotation 2024-03-04 11:58:36 +01:00