函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\hw_breakpoint.c Create Date:2022-07-27 15:04:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:modify_user_hw_breakpoint - modify a user-space hardware breakpoint*@bp: the breakpoint structure to modify*@attr: new breakpoint attributes

函数原型:int modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr)

返回类型:int

参数:

类型参数名称
struct perf_event *bp
struct perf_event_attr *attr
507  如果已禁止中断()且ctxtask恒等于当前进程perf_event_disable_local(bp)
509  否则Strictly speaking kernel users cannot create groups and therefore this* interface does not need the perf_event_ctx_lock() magic.
512  err等于modify_user_hw_breakpoint_check(bp, attr, false)
514  如果非disabledSee perf_event_disable();
517  返回:err
调用者
名称描述
ptrace_set_breakpoint_addr