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:Returns true if kprobes handled the fault

Proto:static inline __attribute__((__always_inline__)) bool kprobe_page_fault(struct pt_regs *regs, unsigned int trap)

Type:bool

Parameter:

TypeParameterName
struct pt_regs *regs
unsigned inttrap
465  If Not For #ifdef avoidance: Then Return false
467  If ser_mode(regs) determines whether a register set came from user* mode Then Return false
473  If preemptible() Then Return false
475  If Not kprobe_running() will just return the current_kprobe on this CPU Then Return false
477  Return kprobe_fault_handler(regs, trap)