函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__uprobe_unregister

函数原型:static void __uprobe_unregister(struct uprobe *uprobe, struct uprobe_consumer *uc)

返回类型:void

参数:

类型参数名称
struct uprobe *uprobe
struct uprobe_consumer *uc
1104  如果WARN_ON(!For uprobe @uprobe, delete the consumer @uc.* Return true if the @uc is deleted successfully* or return false.)则返回
1107  err等于register_for_each_vma(uprobe, NULL)
1109  如果非consumers且非errThere could be threads that have already hit the breakpoint. They* will recheck the current insn and restart if find_uprobe() fails.* See find_active_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_register__uprobe_register - register a probe*@inode: the file in which the probe has to be placed