| Function report | 
| Source Code: kernel\events\uprobes.c | Create Date:2022-07-28 13:45:08 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__insert_uprobe
Proto:static struct uprobe *__insert_uprobe(struct uprobe *uprobe)
Type:struct uprobe
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct uprobe * | uprobe | 
| 685 | match = match_uprobe(uprobe, u) | 
| 686 | If Not match Then Return get_uprobe(u) | 
| 696 | u = NULL | 
| 697 | rb_link_node( & node in the rb tree , parent, p) | 
| 698 | rb_insert_color( & node in the rb tree , & uprobes_tree) | 
| 702 | Return u | 
| Name | Describe | 
|---|---|
| insert_uprobe | 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. | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |