aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKP Singh <[email protected]>2020-11-13 00:59:29 +0000
committerDaniel Borkmann <[email protected]>2020-11-13 15:45:54 +0100
commit423f16108c9d832bd96059d5c882c8ef6d76eb96 (patch)
tree16ffedcef30b76f5c4b93636106581cbcad4b452 /tools/perf/scripts/python/event_analyzing_sample.py
parent904709f63b893b275a6d84654b47b0f81b3ca38e (diff)
bpf: Augment the set of sleepable LSM hooks
Update the set of sleepable hooks with the ones that do not trigger a warning with might_fault() when exercised with the correct kernel config options enabled, i.e. DEBUG_ATOMIC_SLEEP=y LOCKDEP=y PROVE_LOCKING=y This means that a sleepable LSM eBPF program can be attached to these LSM hooks. A new helper method bpf_lsm_is_sleepable_hook is added and the set is maintained locally in bpf_lsm.c Signed-off-by: KP Singh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions