函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hw_breakpoint_parse

函数原型:static int hw_breakpoint_parse(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw)

返回类型:int

参数:

类型参数名称
struct perf_event *bp
const struct perf_event_attr *attr
struct arch_hw_breakpoint *hw
396  err等于Validate the arch-specific HW Breakpoint register settings
397  如果err则返回:err
400  如果Check for virtual address in kernel space.
401  如果ditto kernel 则返回:负EINVAL
407  如果非操作权限检查则返回:负EPERM
411  返回:0
调用者
名称描述
register_perf_hw_breakpoint
modify_user_hw_breakpoint_check