Unverified Commit 86b04026 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!1894 add UPROBE_ALTER_PC flag for uprobe mechanism

Merge Pull Request from: @anatas 
 
[Description]
We try to implement a live-patch mechanism in the userspace based on the UPROBE.
In the handler, we may change the PC register.
In this case, UPROBE must skip the handle of the next instruction.

[Testing]
kernel options:
UPROBES_SUPPORT_PC_ALTER=y 
 
Link:https://gitee.com/openeuler/kernel/pulls/1894

 

Reviewed-by: default avatarLiu Chao <liuchao173@huawei.com>
Reviewed-by: default avatarXu Kuohai <xukuohai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
parents f73d3213 75bfa98c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment