Home
last modified time | relevance | path

Searched refs:perf_event (Results 1 – 12 of 12) sorted by relevance

/include/linux/
Dhw_breakpoint.h32 static inline unsigned long hw_breakpoint_addr(struct perf_event *bp) in hw_breakpoint_addr()
37 static inline int hw_breakpoint_type(struct perf_event *bp) in hw_breakpoint_type()
42 static inline unsigned long hw_breakpoint_len(struct perf_event *bp) in hw_breakpoint_len()
47 extern struct perf_event *
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,
63 extern struct perf_event *
69 extern struct perf_event * __percpu *
74 extern int register_perf_hw_breakpoint(struct perf_event *bp);
75 extern void unregister_hw_breakpoint(struct perf_event *bp);
[all …]
Dperf_event.h252 struct perf_event;
326 int (*event_init) (struct perf_event *event);
332 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
333 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
361 int (*add) (struct perf_event *event, int flags);
362 void (*del) (struct perf_event *event, int flags);
382 void (*start) (struct perf_event *event, int flags);
383 void (*stop) (struct perf_event *event, int flags);
391 void (*read) (struct perf_event *event);
425 int (*event_idx) (struct perf_event *event); /*optional */
[all …]
Dtrace_events.h375 struct perf_event *);
663 struct perf_event *p_event) \
728 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie);
729 void perf_event_detach_bpf_prog(struct perf_event *event);
730 int perf_event_query_prog_array(struct perf_event *event, void __user *info);
735 int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id,
745 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog, u64 bpf_cookie) in perf_event_attach_bpf_prog()
750 static inline void perf_event_detach_bpf_prog(struct perf_event *event) { } in perf_event_detach_bpf_prog()
753 perf_event_query_prog_array(struct perf_event *event, void __user *info) in perf_event_query_prog_array()
772 static inline int bpf_get_perf_event_info(const struct perf_event *event, in bpf_get_perf_event_info()
[all …]
Dcgroup_subsys.h45 SUBSYS(perf_event)
Dcoresight.h298 struct perf_event *event, void **pages,
331 struct perf_event *event, u32 mode);
333 struct perf_event *event);
Dsecurity.h2023 struct perf_event;
2027 extern int security_perf_event_alloc(struct perf_event *event);
2028 extern void security_perf_event_free(struct perf_event *event);
2029 extern int security_perf_event_read(struct perf_event *event);
2030 extern int security_perf_event_write(struct perf_event *event);
2038 static inline int security_perf_event_alloc(struct perf_event *event) in security_perf_event_alloc()
2043 static inline void security_perf_event_free(struct perf_event *event) in security_perf_event_free()
2047 static inline int security_perf_event_read(struct perf_event *event) in security_perf_event_read()
2052 static inline int security_perf_event_write(struct perf_event *event) in security_perf_event_write()
Dbpf_types.h43 BPF_PROG_TYPE(BPF_PROG_TYPE_PERF_EVENT, perf_event,
Dlsm_hook_defs.h403 LSM_HOOK(int, 0, perf_event_alloc, struct perf_event *event)
404 LSM_HOOK(void, LSM_RET_VOID, perf_event_free, struct perf_event *event)
405 LSM_HOOK(int, 0, perf_event_read, struct perf_event *event)
406 LSM_HOOK(int, 0, perf_event_write, struct perf_event *event)
Dbpf.h30 struct perf_event;
1156 struct perf_event *event;
/include/linux/perf/
Darm_pmu.h49 struct perf_event *events[ARMPMU_MAX_HWEVENTS];
86 void (*enable)(struct perf_event *event);
87 void (*disable)(struct perf_event *event);
89 struct perf_event *event);
91 struct perf_event *event);
94 u64 (*read_counter)(struct perf_event *event);
95 void (*write_counter)(struct perf_event *event, u64 val);
99 int (*map_event)(struct perf_event *event);
100 int (*filter_match)(struct perf_event *event);
122 u64 armpmu_event_update(struct perf_event *event);
[all …]
/include/kvm/
Darm_pmu.h27 struct perf_event *perf_event; member
/include/uapi/linux/
Dbpf.h1469 } perf_event; member