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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:gister_user_hw_breakpoint - register a hardware breakpoint for user space*@attr: breakpoint attributes*@triggered: callback to trigger when we hit the breakpoint*@tsk: pointer to 'task_struct' of the process to which the address belongs

Proto:struct perf_event *register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, struct task_struct *tsk)

Type:struct perf_event

Parameter:

TypeParameterName
struct perf_event_attr *attr
perf_overflow_handler_ttriggered
void *context
struct task_struct *tsk
446  Return perf_event_create_kernel_counter*@attr: attributes of the counter to create*@cpu: cpu in which the counter is bound*@task: task to profile (NULL for percpu)