函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_kprobe.c Create Date:2022-07-27 13:49:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:trace_kprobe_has_same_kprobe

函数原型:static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, struct trace_kprobe *comp)

返回类型:bool

参数:

类型参数名称
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  如果字符串比较trace_kprobe_offset(orig)不等于trace_kprobe_offset(comp)则继续下一循环
575 i小于nr_args循环
576  如果字符串比较退出
581  如果i恒等于nr_args则返回:true
585  返回:false
调用者
名称描述
append_trace_kprobe