函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\kprobes\core.c Create Date:2022-07-27 09:37:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:restore_btf

函数原型:static inline __attribute__((__always_inline__)) void restore_btf(void)

返回类型:void

参数:

561  如果test_thread_flag(set when we want DEBUGCTLMSR_BTF )则
562  debugctl等于get_debugctlmsr()
564  debugctl或等于single-step on branches
565  update_debugctlmsr(debugctl)
调用者
名称描述
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