Lines Matching refs:perf_event
4 #include <linux/perf_event.h>
31 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp)
36 static inline int hw_breakpoint_type(struct perf_event *bp)
41 static inline unsigned long hw_breakpoint_len(struct perf_event *bp)
46 extern struct perf_event *
54 modify_user_hw_breakpoint(struct perf_event *bp, struct perf_event_attr *attr);
59 extern struct perf_event *
65 extern struct perf_event * __percpu *
70 extern int register_perf_hw_breakpoint(struct perf_event *bp);
71 extern int __register_perf_hw_breakpoint(struct perf_event *bp);
72 extern void unregister_hw_breakpoint(struct perf_event *bp);
73 extern void unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events);
75 extern int dbg_reserve_bp_slot(struct perf_event *bp);
76 extern int dbg_release_bp_slot(struct perf_event *bp);
77 extern int reserve_bp_slot(struct perf_event *bp);
78 extern void release_bp_slot(struct perf_event *bp);
82 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp)
91 static inline struct perf_event *
97 modify_user_hw_breakpoint(struct perf_event *bp,
99 static inline struct perf_event *
104 static inline struct perf_event * __percpu *
109 register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; }
111 __register_perf_hw_breakpoint(struct perf_event *bp) { return -ENOSYS; }
112 static inline void unregister_hw_breakpoint(struct perf_event *bp) { }
114 unregister_wide_hw_breakpoint(struct perf_event * __percpu *cpu_events) { }
116 reserve_bp_slot(struct perf_event *bp) {return -ENOSYS; }
117 static inline void release_bp_slot(struct perf_event *bp) { }
121 static inline struct arch_hw_breakpoint *counter_arch_bp(struct perf_event *bp)