Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:For uprobe @uprobe, delete the consumer @uc.* Return true if the @uc is deleted successfully* or return false.

Proto:static bool consumer_del(struct uprobe *uprobe, struct uprobe_consumer *uc)

Type:bool

Parameter:

TypeParameterName
struct uprobe *uprobe
struct uprobe_consumer *uc
782  bool ret = false
784  lock for writing
785  When con cycle
786  If con == uc Then
787  con = next
788  ret = true
789  Break
792  lease a write lock
794  Return ret
Caller
NameDescribe
__uprobe_unregister