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:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kprobe_dispatcher

Proto:static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct kprobe *kp
struct pt_regs *regs
1518  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.(kp, structtrace_kprobe, kp)
1519  ret = 0
1521  raw_cpu_inc( * nhit)
1523  If trace_probe_test_flag( & tp, Flags for trace_probe ) Then kprobe_trace_func(tk, regs)
1529  Return ret