/* register_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  */
struct perf_event* register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, struct task_struct *tsk)
/* register_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  */
struct perf_event* register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, struct task_struct *tsk)
{
	return perf_event_create_kernel_counter(attr, -1, tsk->pid, triggered);
}