Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:35:56
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Disable one kprobe: Make sure called under kprobe_mutex is locked

Proto:static struct kprobe *__disable_kprobe(struct kprobe *p)

Type:struct kprobe

Parameter:

TypeParameterName
struct kprobe *p
1690  orig_p = Check passed kprobe is valid and return kprobe in kprobe_table.
1691  If Value for the false possibility is greater at compile time(orig_p == NULL) Then Return ERR_PTR( - EINVAL)
1694  If Not Is this kprobe disabled ? Then
1696  If p != orig_p Then * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. |= probe is temporarily disabled
1717  Return orig_p
Caller
NameDescribe
__unregister_kprobe_topUnregister a kprobe without a scheduler synchronization.
disable_kprobeDisable one kprobe