Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\hw_breakpoint.c Create Date:2022-07-28 13:43:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hw_breakpoint_parse

Proto:static int hw_breakpoint_parse(struct perf_event *bp, const struct perf_event_attr *attr, struct arch_hw_breakpoint *hw)

Type:int

Parameter:

TypeParameterName
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  If err Then Return err
400  If Check for virtual address in kernel space. Then
401  If ditto kernel Then Return -EINVAL
407  If Not Check operation authority Then Return -EPERM
411  Return 0
Caller
NameDescribe
register_perf_hw_breakpoint
modify_user_hw_breakpoint_check