• Home
  • Raw
  • Download

Lines Matching refs:attr

12 static inline void hw_breakpoint_init(struct perf_event_attr *attr)  in hw_breakpoint_init()  argument
14 memset(attr, 0, sizeof(*attr)); in hw_breakpoint_init()
16 attr->type = PERF_TYPE_BREAKPOINT; in hw_breakpoint_init()
17 attr->size = sizeof(*attr); in hw_breakpoint_init()
22 attr->pinned = 1; in hw_breakpoint_init()
23 attr->sample_period = 1; in hw_breakpoint_init()
26 static inline void ptrace_breakpoint_init(struct perf_event_attr *attr) in ptrace_breakpoint_init() argument
28 hw_breakpoint_init(attr); in ptrace_breakpoint_init()
29 attr->exclude_kernel = 1; in ptrace_breakpoint_init()
34 return bp->attr.bp_addr; in hw_breakpoint_addr()
39 return bp->attr.bp_type; in hw_breakpoint_type()
44 return bp->attr.bp_len; in hw_breakpoint_len()
48 register_user_hw_breakpoint(struct perf_event_attr *attr,
55 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
57 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr,
64 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr,
70 register_wide_hw_breakpoint(struct perf_event_attr *attr,
99 register_user_hw_breakpoint(struct perf_event_attr *attr, in register_user_hw_breakpoint() argument
105 struct perf_event_attr *attr) { return -ENOSYS; } in modify_user_hw_breakpoint() argument
107 modify_user_hw_breakpoint_check(struct perf_event *bp, struct perf_event_attr *attr, in modify_user_hw_breakpoint_check() argument
111 register_wide_hw_breakpoint_cpu(struct perf_event_attr *attr, in register_wide_hw_breakpoint_cpu() argument
116 register_wide_hw_breakpoint(struct perf_event_attr *attr, in register_wide_hw_breakpoint() argument