Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kprobes.h Create Date:2022-07-28 05:53:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kprobe_running() will just return the current_kprobe on this CPU

Proto:static inline struct kprobe *kprobe_running(void)

Type:struct kprobe

Parameter:Nothing

340  Return Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(current_kprobe)
Caller
NameDescribe
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