函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_uprobe_has_same_uprobe

函数原型:static bool trace_uprobe_has_same_uprobe(struct trace_uprobe *orig, struct trace_uprobe *comp)

返回类型:bool

参数:

类型参数名称
struct trace_uprobe *orig
struct trace_uprobe *comp
410  tpe等于event
412  comp_inode等于d_real_inode - Return the real inode*@dentry: The dentry to query* If dentry is on a union/overlay, then return the underlying, real inode.* Otherwise return d_inode().
416  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_uprobe, tp)
417  如果comp_inode不等于d_real_inode - Return the real inode*@dentry: The dentry to query* If dentry is on a union/overlay, then return the underlying, real inode.* Otherwise return d_inode().offset不等于offset则继续下一循环
425 i小于nr_args循环
426  如果字符串比较退出
431  如果i恒等于nr_args则返回:true
435  返回:false
调用者
名称描述
append_trace_uprobe