函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Find a uprobe corresponding to a given inode:offset* Acquires uprobes_treelock

函数原型:static struct uprobe *find_uprobe(struct inode *inode, loff_t offset)

返回类型:struct uprobe

参数:

类型参数名称
struct inode *inode
loff_toffset
668  加自旋锁
669  uprobe等于__find_uprobe(inode, offset)
670  自旋锁解锁
672  返回:uprobe
调用者
名称描述
uprobe_unregisterprobe_unregister - unregister an already registered probe.*@inode: the file in which the probe has to be removed.*@offset: offset from the start of the file.*@uc: identify which probe if multiple probes are colocated.
uprobe_applyprobe_apply - unregister an already registered probe.*@inode: the file in which the probe has to be removed.*@offset: offset from the start of the file.*@uc: consumer which wants to add more or remove some breakpoints*@add: add or remove the breakpoints
find_active_uprobe