Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:35:12
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__prepare_optimized_kprobe

Proto:static inline void __prepare_optimized_kprobe(struct optimized_kprobe *op, struct kprobe *p)

Type:void

Parameter:

TypeParameterName
struct optimized_kprobe *op
struct kprobe *p
766  If Not Is this kprobe uses ftrace ? Then Copy replacing target instructions* Target instructions MUST be relocatable (checked inside)* This is called when new aggr(opt)probe is allocated or reused.
Caller
NameDescribe
prepare_optimized_kprobeTry to prepare optimized instructions
alloc_aggr_kprobeAllocate new optimized_kprobe and try to prepare optimized instructions