Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__uprobe_unregister

Proto:static void __uprobe_unregister(struct uprobe *uprobe, struct uprobe_consumer *uc)

Type:void

Parameter:

TypeParameterName
struct uprobe *uprobe
struct uprobe_consumer *uc
1104  If WARN_ON(!For uprobe @uprobe, delete the consumer @uc.* Return true if the @uc is deleted successfully* or return false.) Then Return
1107  err = register_for_each_vma(uprobe, NULL)
1109  If Not consumers && Not err Then There 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().
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_register__uprobe_register - register a probe*@inode: the file in which the probe has to be placed