Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Disable one kprobe

Proto:int disable_kprobe(struct kprobe *kp)

Type:int

Parameter:

TypeParameterName
struct kprobe *kp
2086  ret = 0
2089  mutex_lock( & This protects kprobe_table and optimizing_list )
2092  p = Disable one kprobe: Make sure called under kprobe_mutex is locked
2093  If IS_ERR(p) Then ret = PTR_ERR(p)
2096  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
2097  Return ret
Caller
NameDescribe
__disable_trace_kprobe
disable_kretprobe