Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\opt.c Create Date:2022-07-28 08:39:19
Last Modify:2022-05-22 07:44:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Free optimized instruction slot

Proto:static void __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty)

Type:void

Parameter:

TypeParameterName
struct optimized_kprobe *op
intdirty
336  If detour code buffer Then
337  free_optinsn_slot( detour code buffer , dirty)
338  detour code buffer = NULL
339  the size of instructions copied to detour code buffer = 0
Caller
NameDescribe
arch_remove_optimized_kprobe
arch_prepare_optimized_kprobeCopy replacing target instructions* Target instructions MUST be relocatable (checked inside)* This is called when new aggr(opt)probe is allocated or reused.