Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_kprobe_has_same_kprobe

Proto:static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, struct trace_kprobe *comp)

Type:bool

Parameter:

TypeParameterName
struct trace_kprobe *orig
struct trace_kprobe *comp
560  tpe = event
565  orig = 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.(pos, structtrace_kprobe, tp)
566  If strcmp(trace_kprobe_symbol(orig), trace_kprobe_symbol(comp)) || trace_kprobe_offset(orig) != trace_kprobe_offset(comp) Then Continue
575  When i < nr_args cycle
576  If strcmp( Command of this argument , Command of this argument ) Then Break
581  If i == nr_args Then Return true
585  Return false
Caller
NameDescribe
append_trace_kprobe