Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:45:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Find a uprobe corresponding to a given inode:offset* Acquires uprobes_treelock

Proto:static struct uprobe *find_uprobe(struct inode *inode, loff_t offset)

Type:struct uprobe

Parameter:

TypeParameterName
struct inode *inode
loff_toffset
668  spin_lock( & uprobes_treelock)
669  uprobe = __find_uprobe(inode, offset)
670  spin_unlock( & uprobes_treelock)
672  Return uprobe
Caller
NameDescribe
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