Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\trampoline.c Create Date:2022-07-28 13:15:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_attach_type_to_tramp

Proto:static enum bpf_tramp_prog_type bpf_attach_type_to_tramp(enum bpf_attach_type t)

Type:enum bpf_tramp_prog_type

Parameter:

TypeParameterName
enum bpf_attach_typet
184  Case t == BPF_TRACE_FENTRY
185  Return BPF_TRAMP_FENTRY
186  Default
187  Return BPF_TRAMP_FEXIT
Caller
NameDescribe
bpf_trampoline_link_prog
bpf_trampoline_unlink_progpf_trampoline_unlink_prog() should never fail.