summaryrefslogtreecommitdiff
path: root/fs/afs/internal.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2024-04-30 13:28:24 +0200
committerAndrii Nakryiko <andrii@kernel.org>2024-04-30 09:45:53 -0700
commit535a3692ba7245792e6f23654507865d4293c850 (patch)
tree7352550565832f6ebad9e0e333c9857821e624dc /fs/afs/internal.h
parent05cbc217aafbc631a6c2fab4accf95850cb48358 (diff)
bpf: Add support for kprobe session attach
Adding support to attach bpf program for entry and return probe of the same function. This is common use case which at the moment requires to create two kprobe multi links. Adding new BPF_TRACE_KPROBE_SESSION attach type that instructs kernel to attach single link program to both entry and exit probe. It's possible to control execution of the bpf program on return probe simply by returning zero or non zero from the entry bpf program execution to execute or not the bpf program on return probe respectively. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20240430112830.1184228-2-jolsa@kernel.org
Diffstat (limited to 'fs/afs/internal.h')
0 files changed, 0 insertions, 0 deletions