Home
last modified time | relevance | path

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

123456

/linux/tools/perf/util/
A Devsel.h59 struct evsel { struct
69 * Please check evsel__clone() to copy them properly so that argument
72 struct {
118 struct perf_stat_evsel *stats; argument
139 evsel__sb_cb_t *cb; argument
143 * For reporting purposes, an evsel sample can have a callchain argument
161 int br_cntr_idx;
162 int br_cntr_nr;
178 union {
191 union {
[all …]
A Devsel.c123 void (*fini)(struct evsel *evsel)) in evsel__object_config()
222 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
278 void evsel__init(struct evsel *evsel, in evsel__init()
363 struct evsel *evsel; in evsel__clone() local
1433 int evsel__enable(struct evsel *evsel) in evsel__enable()
1448 int evsel__disable(struct evsel *evsel) in evsel__disable()
1480 void evsel__exit(struct evsel *evsel) in evsel__exit()
1511 void evsel__delete(struct evsel *evsel) in evsel__delete()
1571 struct evsel *evsel; in evsel__group_has_tpebs() local
1583 struct evsel *evsel; in evsel__group_read_nr_members() local
[all …]
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
593 struct evsel *evsel; in perf_stat_merge_counters() local
664 struct evsel *evsel; in perf_stat_process_percore() local
[all …]
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()
589 static int bperf_sync_counters(struct evsel *evsel) in bperf_sync_counters()
601 static int bperf__enable(struct evsel *evsel) in bperf__enable()
607 static int bperf__disable(struct evsel *evsel) in bperf__disable()
613 static int bperf__read(struct evsel *evsel) in bperf__read()
673 static int bperf__destroy(struct evsel *evsel) in bperf__destroy()
794 int bpf_counter__enable(struct evsel *evsel) in bpf_counter__enable()
801 int bpf_counter__disable(struct evsel *evsel) in bpf_counter__disable()
808 int bpf_counter__read(struct evsel *evsel) in bpf_counter__read()
[all …]
A Dstat-shadow.c234 const struct evsel *evsel, in print_branch_miss()
245 const struct evsel *evsel, in print_l1d_miss()
256 const struct evsel *evsel, in print_l1i_miss()
267 const struct evsel *evsel, in print_ll_miss()
278 const struct evsel *evsel, in print_dtlb_miss()
289 const struct evsel *evsel, in print_itlb_miss()
300 const struct evsel *evsel, in print_cache_miss()
471 struct evsel *evsel, in generic_metric()
569 struct evsel *evsel, in perf_stat__print_metricgroup_header()
616 struct evsel *evsel, in perf_stat__print_shadow_stats_metricgroup()
[all …]
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()
A Devlist.h271 #define __evlist__for_each_entry(list, evsel) \ argument
279 #define evlist__for_each_entry(evlist, evsel) \ argument
287 #define __evlist__for_each_entry_continue(list, evsel) \ argument
295 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
303 #define __evlist__for_each_entry_from(list, evsel) \ argument
311 #define evlist__for_each_entry_from(evlist, evsel) \ argument
319 #define __evlist__for_each_entry_reverse(list, evsel) \ argument
327 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
336 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument
345 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
[all …]
A Devlist.c113 struct evsel *evsel; in evlist__new_default() local
151 struct evsel *evsel; in evlist__update_id_pos() local
367 struct evsel *evsel; in evlist__find_tracepoint_by_id() local
380 struct evsel *evsel; in evlist__find_tracepoint_by_name() local
1096 struct evsel *evsel; in evlist__apply_filters() local
1129 struct evsel *evsel; in evlist__set_tp_filter() local
1149 struct evsel *evsel; in evlist__append_tp_filter() local
1242 struct evsel *evsel; in __evlist__combined_sample_type() local
1261 struct evsel *evsel; in evlist__combined_branch_type() local
1389 struct evsel *evsel; in evlist__close() local
[all …]
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()
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
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()
A Dbpf-filter.c74 struct evsel *evsel; member
119 static int check_sample_flags(struct evsel *evsel, struct perf_bpf_filter_expr *expr) in check_sample_flags()
155 static int get_filter_entries(struct evsel *evsel, struct perf_bpf_filter_entry *entry) in get_filter_entries()
285 static u64 create_event_hash(struct evsel *evsel) in create_event_hash()
349 static int create_idx_hash(struct evsel *evsel, struct perf_bpf_filter_entry *entry) in create_idx_hash()
445 int perf_bpf_filter__prepare(struct evsel *evsel, struct target *target) in perf_bpf_filter__prepare()
551 int perf_bpf_filter__destroy(struct evsel *evsel) in perf_bpf_filter__destroy()
570 u64 perf_bpf_filter__lost_count(struct evsel *evsel) in perf_bpf_filter__lost_count()
/linux/tools/perf/tests/
A Dparse-events.c100 struct evsel *evsel; in test__checkevent_tracepoint_multi() local
119 struct perf_evsel *evsel; in test__checkevent_raw() local
183 struct perf_evsel *evsel; in test__checkevent_symbolic_name() local
199 struct perf_evsel *evsel; in test__checkevent_symbolic_name_config() local
231 struct perf_evsel *evsel; in test__checkevent_genhw() local
330 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi_modifier() local
347 struct perf_evsel *evsel; in test__checkevent_raw_modifier() local
360 struct perf_evsel *evsel; in test__checkevent_numeric_modifier() local
373 struct perf_evsel *evsel; in test__checkevent_symbolic_name_modifier() local
389 struct perf_evsel *evsel; in test__checkevent_exclude_host_modifier() local
[all …]
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
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/tools/lib/perf/
A Devsel.c33 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() local
41 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete()
194 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd()
200 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd()
206 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close()
223 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap()
245 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap()
292 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size()
462 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable()
477 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable()
[all …]
A Devlist.c83 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local
103 struct perf_evsel *evsel) in perf_evlist__remove()
200 struct perf_evsel *evsel; in perf_evlist__open() local
218 struct perf_evsel *evsel; in perf_evlist__close() local
226 struct perf_evsel *evsel; in perf_evlist__enable() local
234 struct perf_evsel *evsel; in perf_evlist__disable() local
330 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() local
460 struct perf_evsel *evsel; in mmap_per_evsel() local
643 struct perf_evsel *evsel; in perf_evlist__mmap_ops() local
711 struct perf_evsel *evsel; in __perf_evlist__set_leader() local
[all …]
/linux/tools/perf/arch/x86/tests/
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/tools/perf/arch/x86/util/
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()
A Devsel.c16 void arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight()
22 bool evsel__sys_has_perf_metrics(const struct evsel *evsel) in evsel__sys_has_perf_metrics()
41 bool arch_evsel__must_be_in_group(const struct evsel *evsel) in arch_evsel__must_be_in_group()
50 int arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in arch_evsel__hw_name()
77 void arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) in arch__post_evsel_config()
105 int arch_evsel__open_strerror(struct evsel *evsel, char *msg, size_t size) in arch_evsel__open_strerror()
A Devlist.c28 struct evsel *evsel = evsel__new(attrs + i); in ___evlist__add_default_attrs() local
38 struct evsel *evsel; in ___evlist__add_default_attrs() local
58 struct evsel *evsel, *n; in ___evlist__add_default_attrs() local
/linux/tools/lib/perf/include/internal/
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/tools/perf/arch/s390/util/
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/tools/perf/
A Dbuiltin-kwork.c450 struct evsel *evsel, in work_push_atom()
509 struct evsel *evsel, in work_pop_atom()
815 struct evsel *evsel, in timehist_raise_event()
826 struct evsel *evsel, in timehist_entry_event()
898 struct evsel *evsel, in top_entry_event()
909 struct evsel *evsel, in top_exit_event()
939 struct evsel *evsel, in top_sched_switch_event()
975 struct evsel *evsel, in process_irq_handler_exit_event()
1008 struct evsel *evsel, in irq_work_init()
1235 struct evsel *evsel, in workqueue_work_init()
[all …]
/linux/tools/lib/perf/tests/
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

Completed in 69 milliseconds

123456