Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:restore_btf

Proto:static inline __attribute__((__always_inline__)) void restore_btf(void)

Type:void

Parameter:Nothing

561  If test_thread_flag(set when we want DEBUGCTLMSR_BTF ) Then
562  debugctl = get_debugctlmsr()
564  debugctl |= single-step on branches
565  update_debugctlmsr(debugctl)
Caller
NameDescribe
resume_executionCalled after single-stepping. p->addr is the address of the* instruction whose first byte has been replaced by the "int 3"* instruction. To avoid the SMP problems that can occur when we* temporarily put back the original opcode to single-step, we