Home
last modified time | relevance | path

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

12345678910>>...23

/linux/include/linux/
A Dhw_breakpoint.h47 extern struct perf_event *
63 extern struct perf_event *
69 extern struct perf_event * __percpu *
80 extern int reserve_bp_slot(struct perf_event *bp);
82 int hw_breakpoint_weight(struct perf_event *bp);
83 int arch_reserve_bp_slot(struct perf_event *bp);
84 void arch_release_bp_slot(struct perf_event *bp);
98 static inline struct perf_event *
104 modify_user_hw_breakpoint(struct perf_event *bp, in modify_user_hw_breakpoint()
110 static inline struct perf_event *
[all …]
A Dperf_event.h253 struct perf_event;
629 struct perf_event { struct
717 struct perf_event *parent; argument
754 struct perf_event *aux_event; argument
892 struct perf_event **heap;
897 struct perf_event *event;
912 struct perf_event *event;
949 struct perf_event *event);
985 extern struct perf_event *
1068 struct perf_event *event,
[all …]
A Dtrace_events.h375 struct perf_event *);
663 struct perf_event *p_event) \
729 void perf_event_detach_bpf_prog(struct perf_event *event);
825 struct perf_event;
830 extern int perf_trace_init(struct perf_event *event);
831 extern void perf_trace_destroy(struct perf_event *event);
836 extern void perf_kprobe_destroy(struct perf_event *event);
837 extern int bpf_get_kprobe_info(const struct perf_event *event,
843 extern int perf_uprobe_init(struct perf_event *event,
845 extern void perf_uprobe_destroy(struct perf_event *event);
[all …]
/linux/tools/perf/util/
A Devent.h317 union perf_event *event,
321 union perf_event *event,
329 union perf_event *event,
337 union perf_event *event,
345 union perf_event *event,
353 union perf_event *event,
357 union perf_event *event,
369 union perf_event *event,
373 union perf_event *event,
377 union perf_event *event,
[all …]
A Dmachine.h20 union perf_event;
113 int machine__process_comm_event(struct machine *machine, union perf_event *event,
124 union perf_event *event);
126 union perf_event *event);
128 union perf_event *event);
130 union perf_event *event);
132 union perf_event *event,
135 union perf_event *event,
142 union perf_event *event,
145 union perf_event *event,
[all …]
A Devent.c194 union perf_event *event, in perf_event__process_comm()
202 union perf_event *event, in perf_event__process_namespaces()
218 union perf_event *event, in perf_event__process_lost()
226 union perf_event *event, in perf_event__process_aux()
242 union perf_event *event, in perf_event__process_aux_output_hw_id()
266 union perf_event *event, in perf_event__process_ksymbol()
274 union perf_event *event, in perf_event__process_bpf()
282 union perf_event *event, in perf_event__process_text_poke()
365 union perf_event *event, in perf_event__process_mmap()
373 union perf_event *event, in perf_event__process_mmap2()
[all …]
A Dtool.h10 union perf_event;
18 typedef int (*event_sample)(struct perf_tool *tool, union perf_event *event,
22 typedef int (*event_op)(struct perf_tool *tool, union perf_event *event,
26 union perf_event *event,
29 typedef int (*event_op2)(struct perf_session *session, union perf_event *event);
30 typedef s64 (*event_op3)(struct perf_session *session, union perf_event *event);
31 typedef int (*event_op4)(struct perf_session *session, union perf_event *event, u64 data);
33 typedef int (*event_oe)(struct perf_tool *tool, union perf_event *event,
A Dsession.c317 union perf_event *event in process_event_synth_tracing_data_stub()
373 union perf_event *event,
462 union perf_event *event) in process_event_time_conv_stub()
1708 union perf_event *event; in perf_session__peek_event()
1764 union perf_event *event; in perf_session__peek_events()
1979 union perf_event *event; in __perf_session__process_pipe_events()
2080 static union perf_event *
2084 union perf_event *event; in prefetch_event()
2110 static union perf_event *
2116 static union perf_event *
[all …]
A Dauxtrace.h21 union perf_event;
196 union perf_event *event,
200 union perf_event *event,
495 union perf_event *event, void *data1,
595 union perf_event *event);
597 union perf_event *event);
599 union perf_event *event);
609 union perf_event *event);
710 union perf_event *event __maybe_unused) in perf_event__process_auxtrace()
725 union perf_event *event in perf_session__auxtrace_error_inc()
[all …]
/linux/kernel/events/
A Dhw_breakpoint.c71 __weak int hw_breakpoint_weight(struct perf_event *bp) in hw_breakpoint_weight()
108 struct perf_event *iter; in task_bp_pinned()
216 __weak int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot()
316 int reserve_bp_slot(struct perf_event *bp) in reserve_bp_slot()
341 void release_bp_slot(struct perf_event *bp) in release_bp_slot()
388 int dbg_reserve_bp_slot(struct perf_event *bp) in dbg_reserve_bp_slot()
396 int dbg_release_bp_slot(struct perf_event *bp) in dbg_release_bp_slot()
457 struct perf_event *
542 void unregister_hw_breakpoint(struct perf_event *bp) in unregister_hw_breakpoint()
558 struct perf_event * __percpu *
[all …]
A Dcore.c209 struct perf_event *event;
1740 static struct perf_event *
2026 perf_aux_output_match(struct perf_event *event, struct perf_event *aux_event) in perf_aux_output_match()
2046 struct perf_event *iter; in perf_put_aux_event()
3619 const struct perf_event *le = *(const struct perf_event **)l; in perf_less_group_idx()
3620 const struct perf_event *re = *(const struct perf_event **)r; in perf_less_group_idx()
3659 struct perf_event **evt; in visit_groups_merge()
4917 static bool exclusive_event_match(struct perf_event *e1, struct perf_event *e2) in exclusive_event_match()
5251 struct perf_event *sub; in __perf_read_group_add()
6504 struct perf_event *event = container_of(entry, struct perf_event, pending); in perf_pending_event()
[all …]
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_pmu.h50 int (*get_event_idx)(struct perf_event *);
61 void (*enable_filter)(struct perf_event *event);
62 void (*disable_filter)(struct perf_event *event);
66 struct perf_event *hw_events[HISI_MAX_COUNTERS];
97 int hisi_uncore_pmu_get_event_idx(struct perf_event *event);
98 void hisi_uncore_pmu_read(struct perf_event *event);
99 int hisi_uncore_pmu_add(struct perf_event *event, int flags);
100 void hisi_uncore_pmu_del(struct perf_event *event, int flags);
102 void hisi_uncore_pmu_stop(struct perf_event *event, int flags);
104 void hisi_uncore_pmu_event_update(struct perf_event *event);
[all …]
/linux/arch/x86/events/intel/
A Duncore.h114 struct perf_event *);
357 struct perf_event *event) in uncore_freerunning_counter()
444 struct perf_event *event) in uncore_freerunning_bits()
452 struct perf_event *event) in uncore_num_freerunning()
460 struct perf_event *event) in uncore_num_freerunning_types()
466 struct perf_event *event) in check_valid_freerunning_event()
490 struct perf_event *event) in uncore_freerunning_hw_config()
499 struct perf_event *event) in uncore_disable_event()
505 struct perf_event *event) in uncore_enable_event()
511 struct perf_event *event) in uncore_read_counter()
[all …]
/linux/include/linux/perf/
A 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);
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);
124 int armpmu_event_set_period(struct perf_event *event);
[all …]
/linux/arch/powerpc/kernel/
A Dhw_breakpoint.c68 struct perf_event **slot; in arch_install_hw_breakpoint()
104 struct perf_event **slot; in arch_uninstall_hw_breakpoint()
121 static bool is_ptrace_bp(struct perf_event *bp) in is_ptrace_bp()
128 struct perf_event *bp;
147 static bool bp_addr_range_overlap(struct perf_event *bp1, struct perf_event *bp2) in bp_addr_range_overlap()
169 static int task_bps_add(struct perf_event *bp) in task_bps_add()
227 static int cpu_bps_add(struct perf_event *bp) in cpu_bps_add()
293 int arch_reserve_bp_slot(struct perf_event *bp) in arch_reserve_bp_slot()
337 void arch_release_bp_slot(struct perf_event *bp) in arch_release_bp_slot()
738 struct perf_event *bp = NULL; in single_step_dabr_instruction()
[all …]
/linux/arch/x86/events/
A Dperf_event.h114 struct perf_event *owners[X86_PMC_IDX_MAX];
728 void (*enable)(struct perf_event *);
729 void (*disable)(struct perf_event *);
731 void (*add)(struct perf_event *);
732 void (*del)(struct perf_event *);
733 void (*read)(struct perf_event *event);
734 int (*hw_config)(struct perf_event *event);
756 struct perf_event *event);
759 struct perf_event *event);
905 int (*filter_match)(struct perf_event *event);
[all …]
/linux/arch/xtensa/kernel/
A Dhw_breakpoint.c50 int hw_breakpoint_arch_parse(struct perf_event *bp, in hw_breakpoint_arch_parse()
133 static int alloc_slot(struct perf_event **slot, size_t n, in alloc_slot()
134 struct perf_event *bp) in alloc_slot()
171 int arch_install_hw_breakpoint(struct perf_event *bp) in arch_install_hw_breakpoint()
192 static int free_slot(struct perf_event **slot, size_t n, in free_slot()
193 struct perf_event *bp) in free_slot()
206 void arch_uninstall_hw_breakpoint(struct perf_event *bp) in arch_uninstall_hw_breakpoint()
229 void hw_breakpoint_pmu_read(struct perf_event *bp) in hw_breakpoint_pmu_read()
268 struct perf_event *bp = this_cpu_ptr(wp_on_reg)[i]; in restore_dbreak()
280 struct perf_event **bp = this_cpu_ptr(bp_on_reg); in check_hw_breakpoint()
[all …]
/linux/kernel/trace/
A Dtrace_event_perf.c28 struct perf_event *p_event) in perf_trace_event_perm()
97 struct perf_event *p_event) in perf_trace_event_reg()
196 struct perf_event *p_event) in perf_trace_event_init()
217 int perf_trace_init(struct perf_event *p_event) in perf_trace_init()
239 void perf_trace_destroy(struct perf_event *p_event) in perf_trace_destroy()
290 void perf_kprobe_destroy(struct perf_event *p_event) in perf_kprobe_destroy()
302 int perf_uprobe_init(struct perf_event *p_event, in perf_uprobe_init()
345 void perf_uprobe_destroy(struct perf_event *p_event) in perf_uprobe_destroy()
355 int perf_trace_add(struct perf_event *p_event, int flags) in perf_trace_add()
436 struct perf_event *event; in perf_ftrace_function_call()
[all …]
/linux/arch/x86/include/asm/
A Dhw_breakpoint.h53 struct perf_event;
57 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
64 int arch_install_hw_breakpoint(struct perf_event *bp);
65 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
66 void hw_breakpoint_pmu_read(struct perf_event *bp);
67 void hw_breakpoint_pmu_unthrottle(struct perf_event *bp);
70 arch_fill_perf_breakpoint(struct perf_event *bp);
/linux/drivers/perf/
A Dqcom_l3_pmu.c136 static inline u32 get_event_type(struct perf_event *event) in get_event_type()
146 static inline int event_num_counters(struct perf_event *event) in event_num_counters()
158 struct perf_event *events[L3_NUM_COUNTERS];
175 void (*start)(struct perf_event *event);
177 void (*stop)(struct perf_event *event, int flags);
179 void (*update)(struct perf_event *event);
402 struct perf_event *event; in qcom_l3_cache__handle_irq()
453 struct perf_event *leader = event->group_leader; in qcom_l3_cache__validate_event_group()
454 struct perf_event *sibling; in qcom_l3_cache__validate_event_group()
478 static int qcom_l3_cache__event_init(struct perf_event *event) in qcom_l3_cache__event_init()
[all …]
/linux/tools/perf/
A Dbuiltin-inject.c62 union perf_event event[];
81 union perf_event *event) in perf_event__repipe_synth()
106 union perf_event *event) in perf_event__repipe_op2_synth()
112 union perf_event *event, in perf_event__repipe_op4_synth()
119 union perf_event *event, in perf_event__repipe_attr()
137 union perf_event *event, in perf_event__repipe_event_update()
243 static union perf_event *
245 union perf_event *event, in perf_inject__cut_auxtrace_sample()
250 union perf_event *ev = (union perf_event *)inject->event_copy; in perf_inject__cut_auxtrace_sample()
421 union perf_event *event, in perf_event__jit_repipe_mmap2()
[all …]
/linux/arch/sh/include/asm/
A Dhw_breakpoint.h44 struct perf_event;
58 extern int hw_breakpoint_arch_parse(struct perf_event *bp,
64 int arch_install_hw_breakpoint(struct perf_event *bp);
65 void arch_uninstall_hw_breakpoint(struct perf_event *bp);
66 void hw_breakpoint_pmu_read(struct perf_event *bp);
68 extern void arch_fill_perf_breakpoint(struct perf_event *bp);
/linux/arch/alpha/kernel/
A Dperf_event.c41 struct perf_event *event[MAX_HWEVENTS];
152 static int ev67_check_constraints(struct perf_event **event, in ev67_check_constraints()
341 struct perf_event *event[], unsigned long *evtype, in collect_events()
344 struct perf_event *pe; in collect_events()
400 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration()
412 struct perf_event *pe = cpuc->event[j]; in maybe_change_configuration()
524 static void alpha_pmu_read(struct perf_event *event) in alpha_pmu_read()
602 static int __hw_perf_event_init(struct perf_event *event) in __hw_perf_event_init()
606 struct perf_event *evts[MAX_HWEVENTS]; in __hw_perf_event_init()
690 static int alpha_pmu_event_init(struct perf_event *event) in alpha_pmu_event_init()
[all …]
/linux/kernel/
A Dwatchdog_hld.c25 static DEFINE_PER_CPU(struct perf_event *, watchdog_ev);
26 static DEFINE_PER_CPU(struct perf_event *, dead_event);
110 static void watchdog_overflow_callback(struct perf_event *event, in watchdog_overflow_callback()
170 struct perf_event *evt; in hardlockup_detector_event_create()
207 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable()
228 struct perf_event *event = per_cpu(dead_event, cpu); in hardlockup_detector_perf_cleanup()
253 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_stop()
275 struct perf_event *event = per_cpu(watchdog_ev, cpu); in hardlockup_detector_perf_restart()
/linux/tools/perf/tests/
A Dparse-no-sample-id-all.c12 static int process_event(struct evlist **pevlist, union perf_event *event) in process_event()
38 static int process_events(union perf_event **events, size_t count) in process_events()
95 union perf_event *events[] = { in test__parse_no_sample_id_all()
96 (union perf_event *)&event1, in test__parse_no_sample_id_all()
97 (union perf_event *)&event2, in test__parse_no_sample_id_all()
98 (union perf_event *)&event3, in test__parse_no_sample_id_all()

Completed in 105 milliseconds

12345678910>>...23