函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kprobes.h Create Date:2022-07-27 06:52:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Is this kprobe disabled ?

函数原型:static inline int kprobe_disabled(struct kprobe *p)

返回类型:int

参数:

类型参数名称
struct kprobe *p
122  返回:* Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered.按位与probe is temporarily disabled 按位或akpoint has already gone 的值
调用者
名称描述
optimized_callbackOptimized kprobe call back function: called from optinsn
arch_check_optimized_kprobeCheck optimized_kprobe can actually be optimized.
arch_optimize_kprobesReplace breakpoints (int3) with relative jumps.* Caller must call with locking kprobe_mutex and text_mutex.
kprobe_ftrace_handlerFtrace callback handler for kprobes -- called under preepmt disabed
kprobe_unusedReturn true(!0) if the kprobe is unused
opt_pre_handlerCall all pre_handler on the list, but ignores its return value.* This must be called from arch-dep optimized caller.
kprobe_disarmedReturn true(!0) if the kprobe is disarmed. Note: p must be on hash list
do_unoptimize_kprobesUnoptimize (replace a jump with a breakpoint and remove the breakpoint* if need) kprobes listed on unoptimizing_list.
optimize_kprobeOptimize kprobe if p is ready to be optimized
force_unoptimize_kprobeShort cut to direct unoptimizing
optimize_all_kprobes
unoptimize_all_kprobes
aggr_pre_handler
aggr_post_handler
register_aggr_kprobeThis is the second or subsequent kprobe at the address - handle* the intricacies
register_kprobe
aggr_kprobe_disabledCheck if all probes on the aggrprobe are disabled
__disable_kprobeDisable one kprobe: Make sure called under kprobe_mutex is locked
__unregister_kprobe_topUnregister a kprobe without a scheduler synchronization.
enable_kprobeEnable one kprobe