Home
last modified time | relevance | path

Searched defs:evsel (Results 1 – 25 of 149) sorted by relevance

123456

/linux-6.15/tools/perf/util/
H A Devsel.h44 struct evsel { struct
54 * Please check evsel__clone() to copy them properly so that argument
57 struct {
104 struct perf_stat_evsel *stats; argument
127 evsel__sb_cb_t *cb; argument
131 * For reporting purposes, an evsel sample can have a callchain argument
149 int br_cntr_idx;
150 int br_cntr_nr;
166 union {
179 union {
[all …]
H A Devsel.c219 void (*fini)(struct evsel *evsel)) in evsel__object_config()
328 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
384 void evsel__init(struct evsel *evsel, in evsel__init()
470 struct evsel *evsel; in evsel__clone() local
1608 int evsel__enable(struct evsel *evsel) in evsel__enable()
1623 int evsel__disable(struct evsel *evsel) in evsel__disable()
1655 void evsel__exit(struct evsel *evsel) in evsel__exit()
1689 void evsel__delete(struct evsel *evsel) in evsel__delete()
1749 struct evsel *evsel; in evsel__group_has_tpebs() local
1761 struct evsel *evsel; in evsel__group_read_nr_members() local
[all …]
H A Dstat.c114 struct evsel *evsel; in evlist__alloc_aggr_stats() local
192 struct evsel *evsel; in evlist__alloc_stats() local
212 struct evsel *evsel; in evlist__free_stats() local
223 struct evsel *evsel; in evlist__reset_stats() local
233 struct evsel *evsel; in evlist__reset_aggr_stats() local
241 struct evsel *evsel; in evlist__reset_prev_raw_counts() local
261 struct evsel *evsel; in evlist__copy_prev_raw_counts() local
280 struct evsel *evsel; in evlist__copy_res_stats() local
602 struct evsel *evsel; in perf_stat_merge_counters() local
673 struct evsel *evsel; in perf_stat_process_percore() local
[all …]
H A Dbpf_counter.c48 static int bpf_program_profiler__destroy(struct evsel *evsel) in bpf_program_profiler__destroy()
365 static int bperf_check_target(struct evsel *evsel, in bperf_check_target()
610 static int bperf_sync_counters(struct evsel *evsel) in bperf_sync_counters()
622 static int bperf__enable(struct evsel *evsel) in bperf__enable()
628 static int bperf__disable(struct evsel *evsel) in bperf__disable()
634 static int bperf__read(struct evsel *evsel) in bperf__read()
694 static int bperf__destroy(struct evsel *evsel) in bperf__destroy()
815 int bpf_counter__enable(struct evsel *evsel) in bpf_counter__enable()
822 int bpf_counter__disable(struct evsel *evsel) in bpf_counter__disable()
829 int bpf_counter__read(struct evsel *evsel) in bpf_counter__read()
[all …]
H A Dstat-shadow.c236 const struct evsel *evsel, in print_branch_miss()
247 const struct evsel *evsel, in print_l1d_miss()
258 const struct evsel *evsel, in print_l1i_miss()
269 const struct evsel *evsel, in print_ll_miss()
280 const struct evsel *evsel, in print_dtlb_miss()
291 const struct evsel *evsel, in print_itlb_miss()
302 const struct evsel *evsel, in print_cache_miss()
489 struct evsel *evsel, in generic_metric()
587 struct evsel *evsel, in perf_stat__print_metricgroup_header()
634 struct evsel *evsel, in perf_stat__print_shadow_stats_metricgroup()
[all …]
H A Dperf_api_probe.c17 struct evsel *evsel; in perf_do_probe_api() local
82 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier()
87 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec()
92 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch()
97 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke()
102 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id()
107 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup()
H A Devlist.h258 #define __evlist__for_each_entry(list, evsel) \ argument
266 #define evlist__for_each_entry(evlist, evsel) \ argument
274 #define __evlist__for_each_entry_continue(list, evsel) \ argument
282 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
290 #define __evlist__for_each_entry_from(list, evsel) \ argument
298 #define evlist__for_each_entry_from(evlist, evsel) \ argument
306 #define __evlist__for_each_entry_reverse(list, evsel) \ argument
314 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
323 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument
332 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
[all …]
H A Dkvm-stat.c8 bool kvm_exit_event(struct evsel *evsel) in kvm_exit_event()
13 void exit_event_get_key(struct evsel *evsel, in exit_event_get_key()
22 bool exit_event_begin(struct evsel *evsel, in exit_event_begin()
33 bool kvm_entry_event(struct evsel *evsel) in kvm_entry_event()
38 bool exit_event_end(struct evsel *evsel, in exit_event_end()
H A Dbpf_counter_cgroup.c47 struct evsel *evsel; in bperf_load_program() local
169 static int bperf_cgrp__load(struct evsel *evsel, in bperf_cgrp__load()
210 static int bperf_cgrp__enable(struct evsel *evsel) in bperf_cgrp__enable()
221 static int bperf_cgrp__disable(struct evsel *evsel) in bperf_cgrp__disable()
232 static int bperf_cgrp__read(struct evsel *evsel) in bperf_cgrp__read()
276 static int bperf_cgrp__destroy(struct evsel *evsel) in bperf_cgrp__destroy()
H A Devlist.c114 struct evsel *evsel; in evlist__new_default() local
152 struct evsel *evsel; in evlist__update_id_pos() local
325 struct evsel *evsel; in evlist__find_tracepoint_by_name() local
1041 struct evsel *evsel; in evlist__apply_filters() local
1074 struct evsel *evsel; in evlist__set_tp_filter() local
1094 struct evsel *evsel; in evlist__append_tp_filter() local
1182 struct evsel *evsel; in __evlist__combined_sample_type() local
1201 struct evsel *evsel; in evlist__combined_branch_type() local
1329 struct evsel *evsel; in evlist__close() local
1392 struct evsel *evsel; in evlist__open() local
[all …]
H A Drecord.c26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler()
41 static u64 evsel__config_term_mask(struct evsel *evsel) in evsel__config_term_mask()
53 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling()
97 struct evsel *evsel; in evlist__config() local
224 struct evsel *evsel; in evlist__can_select_event() local
H A Dcounts.c53 void evsel__reset_counts(struct evsel *evsel) in evsel__reset_counts()
58 int evsel__alloc_counts(struct evsel *evsel) in evsel__alloc_counts()
67 void evsel__free_counts(struct evsel *evsel) in evsel__free_counts()
/linux-6.15/tools/perf/tests/
H A Dparse-events.c98 struct evsel *evsel; in test__checkevent_tracepoint_multi() local
116 struct perf_evsel *evsel; in test__checkevent_raw() local
180 struct perf_evsel *evsel; in test__checkevent_symbolic_name() local
196 struct perf_evsel *evsel; in test__checkevent_symbolic_name_config() local
228 struct perf_evsel *evsel; in test__checkevent_genhw() local
326 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi_modifier() local
342 struct perf_evsel *evsel; in test__checkevent_raw_modifier() local
355 struct perf_evsel *evsel; in test__checkevent_numeric_modifier() local
368 struct perf_evsel *evsel; in test__checkevent_symbolic_name_modifier() local
384 struct perf_evsel *evsel; in test__checkevent_exclude_host_modifier() local
[all …]
H A Devent-times.c19 struct evsel *evsel = evlist__last(evlist); in attach__enable_on_exec() local
61 struct evsel *evsel = evlist__last(evlist); in attach__current_disabled() local
87 struct evsel *evsel = evlist__last(evlist); in attach__current_enabled() local
107 struct evsel *evsel = evlist__last(evlist); in detach__disable() local
114 struct evsel *evsel = evlist__last(evlist); in attach__cpu_disabled() local
143 struct evsel *evsel = evlist__last(evlist); in attach__cpu_enabled() local
168 struct evsel *evsel; in test_times() local
H A Dhists_output.c53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local
138 static int test1(struct evsel *evsel, struct machine *machine) in test1()
240 static int test2(struct evsel *evsel, struct machine *machine) in test2()
296 static int test3(struct evsel *evsel, struct machine *machine) in test3()
370 static int test4(struct evsel *evsel, struct machine *machine) in test4()
472 static int test5(struct evsel *evsel, struct machine *machine) in test5()
596 struct evsel *evsel; in test__hists_output() local
/linux-6.15/tools/lib/perf/
H A Devsel.c35 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() local
43 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete()
196 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd()
202 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd()
208 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close()
225 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap()
247 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap()
294 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size()
464 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable()
479 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable()
[all …]
H A Devlist.c37 struct perf_evsel *evsel) in __perf_evlist__propagate_maps()
117 struct perf_evsel *evsel) in perf_evlist__remove()
214 struct perf_evsel *evsel; in perf_evlist__open() local
232 struct perf_evsel *evsel; in perf_evlist__close() local
240 struct perf_evsel *evsel; in perf_evlist__enable() local
248 struct perf_evsel *evsel; in perf_evlist__disable() local
344 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() local
474 struct perf_evsel *evsel; in mmap_per_evsel() local
657 struct perf_evsel *evsel; in perf_evlist__mmap_ops() local
725 struct perf_evsel *evsel; in __perf_evlist__set_leader() local
[all …]
/linux-6.15/tools/perf/arch/x86/tests/
H A Dhybrid.c10 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config()
27 struct evsel *evsel = evlist__first(evlist); in test__hybrid_hw_event_with_pmu() local
38 struct evsel *evsel, *leader; in test__hybrid_hw_group_event() local
57 struct evsel *evsel, *leader; in test__hybrid_sw_hw_group_event() local
74 struct evsel *evsel, *leader; in test__hybrid_hw_sw_group_event() local
91 struct evsel *evsel, *leader; in test__hybrid_group_modifier1() local
114 struct perf_evsel *evsel; in test__hybrid_raw1() local
128 struct evsel *evsel = evlist__first(evlist); in test__hybrid_raw2() local
138 struct evsel *evsel = evlist__first(evlist); in test__hybrid_cache_event() local
149 struct evsel *evsel = evlist__first(evlist); in test__checkevent_pmu() local
[all …]
/linux-6.15/tools/perf/arch/x86/util/
H A Dkvm-stat.c30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key()
41 static bool mmio_event_begin(struct evsel *evsel, in mmio_event_begin()
58 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end()
92 static void ioport_event_get_key(struct evsel *evsel, in ioport_event_get_key()
100 static bool ioport_event_begin(struct evsel *evsel, in ioport_event_begin()
112 static bool ioport_event_end(struct evsel *evsel, in ioport_event_end()
136 static void msr_event_get_key(struct evsel *evsel, in msr_event_get_key()
144 static bool msr_event_begin(struct evsel *evsel, in msr_event_begin()
156 static bool msr_event_end(struct evsel *evsel, in msr_event_end()
H A Devsel.c17 void arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight()
23 bool evsel__sys_has_perf_metrics(const struct evsel *evsel) in evsel__sys_has_perf_metrics()
63 bool arch_evsel__must_be_in_group(const struct evsel *evsel) in arch_evsel__must_be_in_group()
72 int arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in arch_evsel__hw_name()
99 void arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) in arch__post_evsel_config()
127 int arch_evsel__open_strerror(struct evsel *evsel, char *msg, size_t size) in arch_evsel__open_strerror()
H A Dtopdown.c36 bool arch_is_topdown_slots(const struct evsel *evsel) in arch_is_topdown_slots()
44 bool arch_is_topdown_metrics(const struct evsel *evsel) in arch_is_topdown_metrics()
70 struct evsel *evsel; in arch_topdown_sample_read() local
/linux-6.15/tools/lib/perf/include/internal/
H A Devlist.h70 #define __perf_evlist__for_each_entry(list, evsel) \ argument
78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument
86 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument
94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
103 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument
112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
/linux-6.15/tools/perf/arch/s390/util/
H A Dkvm-stat.c26 static void event_icpt_insn_get_key(struct evsel *evsel, in event_icpt_insn_get_key()
37 static void event_sigp_get_key(struct evsel *evsel, in event_sigp_get_key()
45 static void event_diag_get_key(struct evsel *evsel, in event_diag_get_key()
53 static void event_icpt_prog_get_key(struct evsel *evsel, in event_icpt_prog_get_key()
/linux-6.15/tools/perf/
H A Dbuiltin-kwork.c451 struct evsel *evsel, in work_push_atom()
510 struct evsel *evsel, in work_pop_atom()
816 struct evsel *evsel, in timehist_raise_event()
827 struct evsel *evsel, in timehist_entry_event()
899 struct evsel *evsel, in top_entry_event()
910 struct evsel *evsel, in top_exit_event()
940 struct evsel *evsel, in top_sched_switch_event()
976 struct evsel *evsel, in process_irq_handler_exit_event()
1009 struct evsel *evsel, in irq_work_init()
1237 struct evsel *evsel, in workqueue_work_init()
[all …]
/linux-6.15/tools/lib/perf/tests/
H A Dtest-evsel.c23 struct perf_evsel *evsel; in test_stat_cpu() local
57 struct perf_evsel *evsel; in test_stat_thread() local
89 struct perf_evsel *evsel; in test_stat_thread_enable() local
131 struct perf_evsel *evsel; in test_stat_user_read() local
197 struct perf_evsel *evsel; in test_stat_read_format_single() local

123456