aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2020-08-27 15:01:13 -0700
committerDaniel Borkmann <[email protected]>2020-08-28 21:20:33 +0200
commit2b288740a1072235166b2706e139f2725b5ea26f (patch)
treee8580afd3ccfba2986f1a1451985c798edaea25a /tools/perf/scripts/python
parent07be4c4a3e7a0db148e44b16c5190e753d1c8569 (diff)
libbpf: Support sleepable progs
Pass request to load program as sleepable via ".s" suffix in the section name. If it happens in the future that all map types and helpers are allowed with BPF_F_SLEEPABLE flag "fmod_ret/" and "lsm/" can be aliased to "fmod_ret.s/" and "lsm.s/" to make all lsm and fmod_ret programs sleepable by default. The fentry and fexit programs would always need to have sleepable vs non-sleepable distinction, since not all fentry/fexit progs will be attached to sleepable kernel functions. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: KP Singh <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions