Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_kprobe.c Create Date:2022-07-28 12:40:11
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kretprobe_dispatcher

Proto:static int kretprobe_dispatcher(struct kretprobe_instance *ri, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct kretprobe_instance *ri
struct pt_regs *regs
1536  tk = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(rp, structtrace_kprobe, rp)
1538  raw_cpu_inc( * nhit)
1540  If trace_probe_test_flag( & tp, Flags for trace_probe ) Then kretprobe_trace_func(tk, ri, regs)
1546  Return 0