Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Acquire uprobes_treelock.* Matching uprobe already exists in rbtree;* increment (access refcount) and return the matching uprobe.* No matching uprobe; insert the uprobe in rb_tree;* get a double refcount (access + creation) and return NULL.

Proto:static struct uprobe *insert_uprobe(struct uprobe *uprobe)

Type:struct uprobe

Parameter:

TypeParameterName
struct uprobe *uprobe
717  spin_lock( & uprobes_treelock)
718  u = __insert_uprobe(uprobe)
719  spin_unlock( & uprobes_treelock)
721  Return u
Caller
NameDescribe
alloc_uprobe