函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kprobe_running() will just return the current_kprobe on this CPU

函数原型:static inline struct kprobe *kprobe_running(void)

返回类型:struct kprobe

参数:

340  返回:Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(current_kprobe)
调用者
名称描述
do_general_protection
save_previous_kprobe
kprobe_int3_handlerInterrupts are disabled on entry as trap3 is an interrupt gate and they* remain disabled throughout this function.
kprobe_debug_handlerInterrupts are disabled on entry as trap1 is an interrupt gate and they* remain disabled throughout this function.
kprobe_fault_handler
optimized_callbackOptimized kprobe call back function: called from optinsn
kprobe_ftrace_handlerFtrace callback handler for kprobes -- called under preepmt disabed
kprobe_page_faultReturns true if kprobes handled the fault