Home
last modified time | relevance | path

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

/linux-4.19.296/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 int __register_perf_hw_breakpoint(struct perf_event *bp);
[all …]
Dperf_event.h229 struct perf_event;
297 int (*event_init) (struct perf_event *event);
303 void (*event_mapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
304 void (*event_unmapped) (struct perf_event *event, struct mm_struct *mm); /* optional */
332 int (*add) (struct perf_event *event, int flags);
333 void (*del) (struct perf_event *event, int flags);
353 void (*start) (struct perf_event *event, int flags);
354 void (*stop) (struct perf_event *event, int flags);
362 void (*read) (struct perf_event *event);
396 int (*event_idx) (struct perf_event *event); /*optional */
[all …]
Dtrace_events.h283 struct perf_event *);
406 struct perf_event *p_event) \
469 int perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog);
470 void perf_event_detach_bpf_prog(struct perf_event *event);
471 int perf_event_query_prog_array(struct perf_event *event, void __user *info);
475 int bpf_get_perf_event_info(const struct perf_event *event, u32 *prog_id,
485 perf_event_attach_bpf_prog(struct perf_event *event, struct bpf_prog *prog) in perf_event_attach_bpf_prog()
490 static inline void perf_event_detach_bpf_prog(struct perf_event *event) { } in perf_event_detach_bpf_prog()
493 perf_event_query_prog_array(struct perf_event *event, void __user *info) in perf_event_query_prog_array()
509 static inline int bpf_get_perf_event_info(const struct perf_event *event, in bpf_get_perf_event_info()
[all …]
Dcoresight.h239 struct perf_event *event, u32 mode);
241 struct perf_event *event);
Dcgroup_subsys.h45 SUBSYS(perf_event)
Dbpf_types.h23 BPF_PROG_TYPE(BPF_PROG_TYPE_PERF_EVENT, perf_event)
Dbpf.h21 struct perf_event;
325 struct perf_event *event;
/linux-4.19.296/include/linux/perf/
Darm_pmu.h53 struct perf_event *events[ARMPMU_MAX_HWEVENTS];
88 void (*enable)(struct perf_event *event);
89 void (*disable)(struct perf_event *event);
91 struct perf_event *event);
93 struct perf_event *event);
96 u64 (*read_counter)(struct perf_event *event);
97 void (*write_counter)(struct perf_event *event, u64 val);
101 int (*map_event)(struct perf_event *event);
102 int (*filter_match)(struct perf_event *event);
120 u64 armpmu_event_update(struct perf_event *event);
[all …]
/linux-4.19.296/virt/kvm/arm/
Dpmu.c45 if (pmc->perf_event) in kvm_pmu_get_counter_value()
46 counter += perf_event_read_value(pmc->perf_event, &enabled, in kvm_pmu_get_counter_value()
77 if (pmc->perf_event) { in kvm_pmu_stop_counter()
82 perf_event_disable(pmc->perf_event); in kvm_pmu_stop_counter()
83 perf_event_release_kernel(pmc->perf_event); in kvm_pmu_stop_counter()
84 pmc->perf_event = NULL; in kvm_pmu_stop_counter()
118 if (pmc->perf_event) { in kvm_pmu_vcpu_destroy()
119 perf_event_disable(pmc->perf_event); in kvm_pmu_vcpu_destroy()
120 perf_event_release_kernel(pmc->perf_event); in kvm_pmu_vcpu_destroy()
121 pmc->perf_event = NULL; in kvm_pmu_vcpu_destroy()
[all …]
/linux-4.19.296/drivers/oprofile/
Dnmi_timer_int.c18 static DEFINE_PER_CPU(struct perf_event *, nmi_timer_events);
29 static void nmi_timer_callback(struct perf_event *event, in nmi_timer_callback()
39 struct perf_event *event = per_cpu(nmi_timer_events, cpu); in nmi_timer_start_cpu()
57 struct perf_event *event = per_cpu(nmi_timer_events, cpu); in nmi_timer_stop_cpu()
102 struct perf_event *event; in nmi_timer_shutdown()
Doprofile_perf.c30 static DEFINE_PER_CPU(struct perf_event **, perf_events);
36 static void op_overflow_handler(struct perf_event *event, in op_overflow_handler()
77 struct perf_event *pevent; in op_create_counter()
103 struct perf_event *pevent = per_cpu(perf_events, cpu)[event]; in op_destroy_counter()
258 struct perf_event *event; in oprofile_perf_exit()
302 sizeof(struct perf_event *), GFP_KERNEL); in oprofile_perf_init()
/linux-4.19.296/include/kvm/
Darm_pmu.h30 struct perf_event *perf_event; member
/linux-4.19.296/
DMAINTAINERS1109 F: arch/arm*/include/asm/perf_event.h
11418 F: include/linux/perf_event.h
11419 F: include/uapi/linux/perf_event.h
11420 F: arch/*/kernel/perf_event*.c
11421 F: arch/*/kernel/*/perf_event*.c
11422 F: arch/*/kernel/*/*/perf_event*.c
11423 F: arch/*/include/asm/perf_event.h