aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2024-04-01 19:21:18 -0700
committerIngo Molnar <[email protected]>2024-04-03 09:14:26 +0200
commit9794563d4d053b1b46a0cc91901f0a11d8678c19 (patch)
tree0dc20025966edbb0f425d4d2ee448bb2cd58bbe0 /net/lapb/lapb_subr.c
parenta4d18112e5317c120bcadeb486fbe950f749bb5e (diff)
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Sandipan Das <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions