Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Is this kprobe uses ftrace ?

Proto:static inline int kprobe_ftrace(struct kprobe *p)

Type:int

Parameter:

TypeParameterName
struct kprobe *p
134  Return * Indicates various status flags. * Protected by kprobe_mutex after this kprobe is registered. & probe is using ftrace
Caller
NameDescribe
__prepare_optimized_kprobe
try_to_optimize_kprobePrepare an optimized_kprobe and optimize it* NOTE: p must be a normal registered kprobe
arm_kprobeArm a kprobe with text_mutex
disarm_kprobeDisarm a kprobe with text_mutex