/linux/tools/perf/util/ |
A D | evsel.h | 49 struct evsel { struct 50 struct perf_evsel core; argument 59 * Please check evsel__clone() to copy them properly so that argument 62 struct { 99 struct evsel **metric_events; argument 106 struct perf_stat_evsel *stats; argument 130 * For reporting purposes, an evsel sample can have a callchain argument 136 __u64 synth_sample_type; 151 union { 155 unsigned long open_flags; [all …]
|
A D | evsel.c | 84 void (*fini)(struct evsel *evsel)) in evsel__object_config() 183 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos() 239 void evsel__init(struct evsel *evsel, in evsel__init() 299 struct evsel *evsel; in evsel__new_cycles() local 365 struct evsel *evsel; in evsel__clone() local 1380 int evsel__enable(struct evsel *evsel) in evsel__enable() 1395 int evsel__disable(struct evsel *evsel) in evsel__disable() 1427 void evsel__exit(struct evsel *evsel) in evsel__exit() 1452 void evsel__delete(struct evsel *evsel) in evsel__delete() 1664 static int update_fds(struct evsel *evsel, in update_fds() [all …]
|
A D | bpf_counter.c | 48 static int bpf_program_profiler__destroy(struct evsel *evsel) in bpf_program_profiler__destroy() 357 static int bperf_check_target(struct evsel *evsel, in bperf_check_target() 581 static int bperf_sync_counters(struct evsel *evsel) in bperf_sync_counters() 593 static int bperf__enable(struct evsel *evsel) in bperf__enable() 599 static int bperf__disable(struct evsel *evsel) in bperf__disable() 605 static int bperf__read(struct evsel *evsel) in bperf__read() 660 static int bperf__destroy(struct evsel *evsel) in bperf__destroy() 782 int bpf_counter__enable(struct evsel *evsel) in bpf_counter__enable() 789 int bpf_counter__disable(struct evsel *evsel) in bpf_counter__disable() 796 int bpf_counter__read(struct evsel *evsel) in bpf_counter__read() [all …]
|
A D | stat.c | 111 static void perf_stat_evsel_id_init(struct evsel *evsel) in perf_stat_evsel_id_init() 126 static void evsel__reset_stat_priv(struct evsel *evsel) in evsel__reset_stat_priv() 137 static int evsel__alloc_stat_priv(struct evsel *evsel) in evsel__alloc_stat_priv() 146 static void evsel__free_stat_priv(struct evsel *evsel) in evsel__free_stat_priv() 193 struct evsel *evsel; in evlist__alloc_stats() local 209 struct evsel *evsel; in evlist__free_stats() local 220 struct evsel *evsel; in evlist__reset_stats() local 230 struct evsel *evsel; in evlist__reset_prev_raw_counts() local 254 struct evsel *evsel; in evlist__copy_prev_raw_counts() local 262 struct evsel *evsel; in evlist__save_aggr_prev_raw_counts() local [all …]
|
A D | perf_api_probe.c | 17 struct evsel *evsel; in perf_do_probe_api() local 81 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier() 86 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec() 91 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch() 96 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke() 101 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id() 106 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup()
|
A D | evlist.h | 235 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last() local 251 #define __evlist__for_each_entry(list, evsel) \ argument 259 #define evlist__for_each_entry(evlist, evsel) \ argument 267 #define __evlist__for_each_entry_continue(list, evsel) \ argument 275 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 283 #define __evlist__for_each_entry_from(list, evsel) \ argument 291 #define evlist__for_each_entry_from(evlist, evsel) \ argument 299 #define __evlist__for_each_entry_reverse(list, evsel) \ argument 307 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument 316 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument [all …]
|
A D | evlist.c | 127 struct evsel *evsel; in evlist__update_id_pos() local 234 struct evsel *evsel; in __evlist__add_default() local 301 struct evsel *evsel; in evlist__find_tracepoint_by_id() local 314 struct evsel *evsel; in evlist__find_tracepoint_by_name() local 1023 struct evsel *evsel; in evlist__apply_filters() local 1046 struct evsel *evsel; in evlist__set_tp_filter() local 1066 struct evsel *evsel; in evlist__append_tp_filter() local 1159 struct evsel *evsel; in __evlist__combined_sample_type() local 1178 struct evsel *evsel; in evlist__combined_branch_type() local 1266 struct evsel *evsel; in evlist__close() local [all …]
|
A D | bpf_counter_cgroup.c | 47 struct evsel *evsel; in bperf_load_program() local 179 static int bperf_cgrp__load(struct evsel *evsel, in bperf_cgrp__load() 222 static int bperf_cgrp__enable(struct evsel *evsel) in bperf_cgrp__enable() 233 static int bperf_cgrp__disable(struct evsel *evsel) in bperf_cgrp__disable() 244 static int bperf_cgrp__read(struct evsel *evsel) in bperf_cgrp__read() 289 static int bperf_cgrp__destroy(struct evsel *evsel) in bperf_cgrp__destroy()
|
A D | evlist-hybrid.c | 21 struct evsel *evsel; in evlist__add_default_hybrid() local 63 struct evsel *evsel; in evlist__warn_hybrid_group() local 78 struct evsel *evsel; in evlist__has_hybrid() local 93 struct evsel *evsel, *tmp; in evlist__fix_hybrid_cpus() local
|
A D | record.c | 26 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 231 struct evsel *evsel; in evlist__can_select_event() local
|
A D | counts.c | 53 void evsel__reset_counts(struct evsel *evsel) in evsel__reset_counts() 58 int evsel__alloc_counts(struct evsel *evsel, int ncpus, int nthreads) in evsel__alloc_counts() 64 void evsel__free_counts(struct evsel *evsel) in evsel__free_counts()
|
A D | sideband_evlist.c | 18 struct evsel *evsel; in evlist__add_sb_event() local 65 struct evsel *evsel = evlist__event2evsel(evlist, event); in perf_evlist__poll_thread() local 86 struct evsel *evsel; in evlist__set_cb() local
|
/linux/tools/perf/tests/ |
A D | parse-events.c | 64 struct evsel *evsel; in test__checkevent_tracepoint_multi() local 240 struct evsel *evsel; in test__checkevent_tracepoint_multi_modifier() local 670 struct evsel *evsel, *leader; in test__group1() local 712 struct evsel *evsel, *leader; in test__group2() local 767 struct evsel *evsel, *leader; in test__group3() local 859 struct evsel *evsel, *leader; in test__group4() local 903 struct evsel *evsel, *leader; in test__group5() local 989 struct evsel *evsel, *leader; in test__group_gh1() local 1029 struct evsel *evsel, *leader; in test__group_gh2() local 1069 struct evsel *evsel, *leader; in test__group_gh3() local [all …]
|
A D | event-times.c | 19 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 D | hists_output.c | 53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 125 static int test1(struct evsel *evsel, struct machine *machine) in test1() 227 static int test2(struct evsel *evsel, struct machine *machine) in test2() 283 static int test3(struct evsel *evsel, struct machine *machine) in test3() 357 static int test4(struct evsel *evsel, struct machine *machine) in test4() 459 static int test5(struct evsel *evsel, struct machine *machine) in test5() 583 struct evsel *evsel; in test__hists_output() local
|
A D | hists_cumulate.c | 83 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 250 static int test1(struct evsel *evsel, struct machine *machine) in test1() 301 static int test2(struct evsel *evsel, struct machine *machine) in test2() 449 static int test3(struct evsel *evsel, struct machine *machine) in test3() 506 static int test4(struct evsel *evsel, struct machine *machine) in test4() 697 struct evsel *evsel; in test__hists_cumulate() local
|
/linux/tools/lib/perf/ |
A D | evsel.c | 33 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() 182 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd() 190 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd() 196 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close() 213 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap() 235 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap() 281 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size() 354 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable() 369 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable() [all …]
|
A D | evlist.c | 36 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 60 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 76 struct perf_evsel *evsel) in perf_evlist__remove() 176 struct perf_evsel *evsel; in perf_evlist__open() local 194 struct perf_evsel *evsel; in perf_evlist__close() local 202 struct perf_evsel *evsel; in perf_evlist__enable() local 210 struct perf_evsel *evsel; in perf_evlist__disable() local 247 struct perf_evsel *evsel, in perf_evlist__id_add() 300 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() local 430 struct perf_evsel *evsel; in mmap_per_evsel() local [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | kvm-stat.c | 31 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() 42 static bool mmio_event_begin(struct evsel *evsel, in mmio_event_begin() 59 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end() 93 static void ioport_event_get_key(struct evsel *evsel, in ioport_event_get_key() 101 static bool ioport_event_begin(struct evsel *evsel, in ioport_event_begin() 113 static bool ioport_event_end(struct evsel *evsel, in ioport_event_end() 137 static void msr_event_get_key(struct evsel *evsel, in msr_event_get_key() 145 static bool msr_event_begin(struct evsel *evsel, in msr_event_begin() 157 static bool msr_event_end(struct evsel *evsel, in msr_event_end()
|
/linux/tools/lib/perf/include/internal/ |
A D | evlist.h | 63 #define __perf_evlist__for_each_entry(list, evsel) \ argument 71 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 79 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument 87 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 96 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument 105 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
|
/linux/tools/perf/arch/s390/util/ |
A D | kvm-stat.c | 27 static void event_icpt_insn_get_key(struct evsel *evsel, in event_icpt_insn_get_key() 38 static void event_sigp_get_key(struct evsel *evsel, in event_sigp_get_key() 46 static void event_diag_get_key(struct evsel *evsel, in event_diag_get_key() 54 static void event_icpt_prog_get_key(struct evsel *evsel, in event_icpt_prog_get_key()
|
/linux/tools/lib/perf/tests/ |
A D | test-evsel.c | 20 struct perf_evsel *evsel; in test_stat_cpu() local 54 struct perf_evsel *evsel; in test_stat_thread() local 86 struct perf_evsel *evsel; in test_stat_thread_enable() local 128 struct perf_evsel *evsel; in test_stat_user_read() local
|
A D | test-evlist.c | 34 struct perf_evsel *evsel, *leader; in test_stat_cpu() local 93 struct perf_evsel *evsel, *leader; in test_stat_thread() local 148 struct perf_evsel *evsel, *leader; in test_stat_thread_enable() local 212 struct perf_evsel *evsel; in test_mmap_thread() local 323 struct perf_evsel *evsel; in test_mmap_cpus() local
|
/linux/tools/perf/arch/arm64/util/ |
A D | kvm-stat.c | 25 static void event_get_key(struct evsel *evsel, in event_get_key() 44 static bool event_begin(struct evsel *evsel, in event_begin() 51 static bool event_end(struct evsel *evsel, in event_end()
|
/linux/tools/perf/ |
A D | builtin-annotate.c | 163 struct evsel *evsel = iter->evsel; in hist_iter__branch_callback() local 178 static int process_branch_callback(struct evsel *evsel, in process_branch_callback() 215 static int evsel__add_sample(struct evsel *evsel, struct perf_sample *sample, in evsel__add_sample() 262 struct evsel *evsel, in process_sample_event() 298 struct evsel *evsel, in hist_entry__tty_annotate() 308 struct evsel *evsel, in hists__find_annotations()
|