Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:set_task_blockstep

Proto:void set_task_blockstep(struct task_struct *task, bool on)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
boolon
181  local_irq_disable()
182  debugctl = get_debugctlmsr()
183  If on Then
184  debugctl |= single-step on branches
185  Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
186  Else
187  debugctl &= ~single-step on branches
188  clear_tsk_thread_flag(task, set when we want DEBUGCTLMSR_BTF )
190  If task == current process Then update_debugctlmsr(debugctl)
192  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
Caller
NameDescribe
enable_stepEnable single or block step.
user_disable_single_step
arch_uprobe_pre_xolarch_uprobe_pre_xol - prepare to execute out of line.*@auprobe: the probepoint information.*@regs: reflects the saved user state of current task.