函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-27 12:39:43
Last Modify:2022-05-22 18:14:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Disable one kprobe: Make sure called under kprobe_mutex is locked

函数原型:static struct kprobe *__disable_kprobe(struct kprobe *p)

返回类型:struct kprobe

参数:

类型参数名称
struct kprobe *p
1690  orig_p等于Check passed kprobe is valid and return kprobe in kprobe_table.
1691  如果此条件成立可能性小(为编译器优化)(orig_p == NULL)则返回:错误号
1694  如果非Is this kprobe disabled ?
1696  如果p不等于orig_p* Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered.或等于probe is temporarily disabled
1717  返回:orig_p
调用者
名称描述
__unregister_kprobe_topUnregister a kprobe without a scheduler synchronization.
disable_kprobeDisable one kprobe