Lines Matching refs:perf_event
17 #include <uapi/linux/perf_event.h>
24 # include <asm/perf_event.h>
162 struct perf_event;
196 int (*event_init) (struct perf_event *event);
206 int (*add) (struct perf_event *event, int flags);
207 void (*del) (struct perf_event *event, int flags);
214 void (*start) (struct perf_event *event, int flags);
215 void (*stop) (struct perf_event *event, int flags);
220 void (*read) (struct perf_event *event);
248 int (*event_idx) (struct perf_event *event); /*optional */
269 typedef void (*perf_overflow_handler_t)(struct perf_event *,
293 * struct perf_event - performance event kernel representation:
295 struct perf_event {
325 struct perf_event *group_leader;
390 struct perf_event *parent;
417 void (*destroy)(struct perf_event *);
520 struct perf_event *event;
548 extern int perf_event_refresh(struct perf_event *event, int refresh);
549 extern void perf_event_update_userpage(struct perf_event *event);
550 extern int perf_event_release_kernel(struct perf_event *event);
551 extern struct perf_event *
559 extern u64 perf_event_read_value(struct perf_event *event,
607 struct perf_event *event);
610 struct perf_event *event,
613 extern int perf_event_overflow(struct perf_event *event,
617 static inline bool is_sampling_event(struct perf_event *event)
625 static inline int is_software_event(struct perf_event *event)
740 extern void perf_bp_event(struct perf_event *event, void *data);
748 static inline bool has_branch_stack(struct perf_event *event)
754 struct perf_event *event, unsigned int size);
762 extern u64 perf_swevent_set_period(struct perf_event *event);
763 extern void perf_event_enable(struct perf_event *event);
764 extern void perf_event_disable(struct perf_event *event);
781 static inline int perf_event_refresh(struct perf_event *event, int refresh)
789 perf_bp_event(struct perf_event *event, void *data) { }
802 static inline u64 perf_swevent_set_period(struct perf_event *event) { return 0; }
803 static inline void perf_event_enable(struct perf_event *event) { }
804 static inline void perf_event_disable(struct perf_event *event) { }