Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\uprobes.c Create Date:2022-07-28 08:47:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:arch_uprobe_pre_xol - prepare to execute out of line.*@auprobe: the probepoint information.*@regs: reflects the saved user state of current task.

Proto:int arch_uprobe_pre_xol(struct arch_uprobe *auprobe, struct pt_regs *regs)

Type:int

Parameter:

TypeParameterName
struct arch_uprobe *auprobe
struct pt_regs *regs
914  utask = utask
916  If pre_xol Then
917  err = pre_xol(auprobe, regs)
918  If err Then Return err
922  Return frame for iretq = xol_vaddr
923  saved_trap_nr = trap_nr
924  trap_nr = UPROBE_TRAP_NR
926  saved_tf = Not Not (flags & X86_EFLAGS_TF)
927  flags |= X86_EFLAGS_TF
928  If test_tsk_thread_flag(current process, set when we want DEBUGCTLMSR_BTF ) Then set_task_blockstep(current process, false)
931  Return 0