Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:modify_fentry

Proto:static int modify_fentry(struct bpf_trampoline *tr, void *old_addr, void *new_addr)

Type:int

Parameter:

TypeParameterName
struct bpf_trampoline *tr
void *old_addr
void *new_addr
89  ip = addr
92  If ftrace_managed Then ret = modify_ftrace_direct((long)ip, (long)old_addr, (long)new_addr)
94  Else ret = bpf_arch_text_poke(ip, BPF_MOD_CALL, old_addr, new_addr)
96  Return ret
Caller
NameDescribe
bpf_trampoline_update