/tools/perf/util/ |
A D | evlist.h | 58 struct evlist { struct 59 struct perf_evlist core; argument 75 void (*trace_event_sample_raw)(struct evlist *evlist, argument 87 int pos; /* index at evlist core object to check signals */ argument 102 struct evlist *evlist__new(void); argument 140 #define evlist__set_tracepoints_handlers(evlist, array) \ argument 232 static inline bool evlist__empty(struct evlist *evlist) in evlist__empty() 275 #define evlist__for_each_entry(evlist, evsel) \ argument 291 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 307 #define evlist__for_each_entry_from(evlist, evsel) \ argument [all …]
|
A D | evlist.c | 102 struct evlist *evlist = evlist__new(); in evlist__new_default() local 128 struct evlist *evlist = evlist__new(); in evlist__new_dummy() local 176 void evlist__exit(struct evlist *evlist) in evlist__exit() 185 void evlist__delete(struct evlist *evlist) in evlist__delete() 277 int evlist__add_dummy(struct evlist *evlist) in evlist__add_dummy() 498 void evlist__disable(struct evlist *evlist) in evlist__disable() 555 void evlist__enable(struct evlist *evlist) in evlist__enable() 741 void evlist__munmap(struct evlist *evlist) in evlist__munmap() 1329 void evlist__close(struct evlist *evlist) in evlist__close() 1392 int evlist__open(struct evlist *evlist) in evlist__open() [all …]
|
A D | sideband_evlist.c | 15 int evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, in evlist__add_sb_event() 37 struct evlist *evlist = arg; in perf_evlist__poll_thread() local 84 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data) in evlist__set_cb() 97 int evlist__start_sb_thread(struct evlist *evlist, struct target *target) in evlist__start_sb_thread() 142 void evlist__stop_sb_thread(struct evlist *evlist) in evlist__stop_sb_thread()
|
A D | stat.c | 112 int evlist__alloc_aggr_stats(struct evlist *evlist, int nr_aggr) in evlist__alloc_aggr_stats() 190 struct evlist *evlist, bool alloc_raw) in evlist__alloc_stats() 210 void evlist__free_stats(struct evlist *evlist) in evlist__free_stats() 221 void evlist__reset_stats(struct evlist *evlist) in evlist__reset_stats() 231 void evlist__reset_aggr_stats(struct evlist *evlist) in evlist__reset_aggr_stats() 239 void evlist__reset_prev_raw_counts(struct evlist *evlist) in evlist__reset_prev_raw_counts() 259 void evlist__copy_prev_raw_counts(struct evlist *evlist) in evlist__copy_prev_raw_counts() 278 void evlist__copy_res_stats(struct perf_stat_config *config, struct evlist *evlist) in evlist__copy_res_stats() 541 struct evlist *evlist = evsel->evlist; in evsel__merge_aliases() local 566 void perf_stat_merge_counters(struct perf_stat_config *config, struct evlist *evlist) in perf_stat_merge_counters() [all …]
|
A D | record.c | 26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() 53 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling() 95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callch… in evlist__config() 221 bool evlist__can_select_event(struct evlist *evlist, const char *str) in evlist__can_select_event()
|
A D | bpf_counter_cgroup.c | 44 static int bperf_load_program(struct evlist *evlist) in bperf_load_program() 198 static int bperf_cgrp__sync_counters(struct evlist *evlist) in bperf_cgrp__sync_counters() 234 struct evlist *evlist = evsel->evlist; in bperf_cgrp__read() local
|
A D | python.c | 1061 struct evlist evlist; member 1099 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__mmap() local 1119 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__poll() local 1139 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__get_pollfd() local 1168 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__add() local 1183 static struct mmap *get_md(struct evlist *evlist, int cpu) in get_md() 1200 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__read_on_cpu() local 1255 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__open() local 1268 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__close() local 1294 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__config() local [all …]
|
A D | cgroup.c | 101 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup() 146 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup() 153 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup() 207 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup() 362 struct evlist *evlist = *(struct evlist **)opt->value; in parse_cgroups() local 416 int evlist__expand_cgroup(struct evlist *evlist, const char *str, bool open_cgroup) in evlist__expand_cgroup()
|
/tools/perf/tests/ |
A D | parse-events.c | 114 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw() 856 static int test__group1(struct evlist *evlist) in test__group1() 904 static int test__group2(struct evlist *evlist) in test__group2() 1220 static int test__group_gh1(struct evlist *evlist) in test__group_gh1() 1267 static int test__group_gh2(struct evlist *evlist) in test__group_gh2() 1314 static int test__group_gh3(struct evlist *evlist) in test__group_gh3() 1361 static int test__group_gh4(struct evlist *evlist) in test__group_gh4() 1531 static int test__pinned_group(struct evlist *evlist) in test__pinned_group() 1731 static int test__intel_pt(struct evlist *evlist) in test__intel_pt() 2462 struct evlist *evlist; in test_event() local [all …]
|
A D | event-times.c | 17 static int attach__enable_on_exec(struct evlist *evlist) in attach__enable_on_exec() 51 static int detach__enable_on_exec(struct evlist *evlist) in detach__enable_on_exec() 57 static int attach__current_disabled(struct evlist *evlist) in attach__current_disabled() 83 static int attach__current_enabled(struct evlist *evlist) in attach__current_enabled() 103 static int detach__disable(struct evlist *evlist) in detach__disable() 110 static int attach__cpu_disabled(struct evlist *evlist) in attach__cpu_disabled() 139 static int attach__cpu_enabled(struct evlist *evlist) in attach__cpu_enabled() 161 static int test_times(int (attach)(struct evlist *), in test_times() 162 int (detach)(struct evlist *)) in test_times() 165 struct evlist *evlist = NULL; in test_times() local
|
A D | expand-cgroup.c | 16 static int test_expand_events(struct evlist *evlist) in test_expand_events() 102 struct evlist *evlist = evlist__new_default(); in expand_default_events() local 114 struct evlist *evlist; in expand_group_events() local 141 struct evlist *evlist; in expand_libpfm_events() local 172 struct evlist *evlist; in expand_metric_events() local
|
A D | backward-ring-buffer.c | 32 static int count_samples(struct evlist *evlist, int *sample_count, in count_samples() 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() 89 struct evlist *evlist; in test__backward_ring_buffer() local
|
A D | pfm.c | 15 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events() 29 struct evlist *evlist; in test__pfm_events() local 90 struct evlist *evlist; in test__pfm_group() local
|
A D | switch-tracking.c | 125 static int process_sample_event(struct evlist *evlist, in process_sample_event() 181 static int process_event(struct evlist *evlist, union perf_event *event, in process_event() 221 static int add_event(struct evlist *evlist, struct list_head *events, in add_event() 270 static int process_events(struct evlist *evlist, in process_events() 348 struct evlist *evlist = NULL; in test__switch_tracking() local
|
A D | keep-tracking.c | 33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm() 76 struct evlist *evlist = NULL; in test__keep_tracking() local
|
A D | evsel-roundtrip-name.c | 21 struct evlist *evlist = evlist__new(); in perf_evsel__roundtrip_cache_name_test() local 57 struct evlist *evlist = evlist__new(); in perf_evsel__name_array_test() local
|
/tools/lib/perf/ |
A D | evlist.c | 28 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init() 148 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add() 159 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove() 168 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local 208 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() 219 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete() 255 int perf_evlist__open(struct perf_evlist *evlist) in perf_evlist__open() 273 void perf_evlist__close(struct perf_evlist *evlist) in perf_evlist__close() 281 void perf_evlist__enable(struct perf_evlist *evlist) in perf_evlist__enable() 289 void perf_evlist__disable(struct perf_evlist *evlist) in perf_evlist__disable() [all …]
|
/tools/perf/arch/x86/tests/ |
A D | hybrid.c | 25 static int test__hybrid_hw_event_with_pmu(struct evlist *evlist) in test__hybrid_hw_event_with_pmu() 36 static int test__hybrid_hw_group_event(struct evlist *evlist) in test__hybrid_hw_group_event() 55 static int test__hybrid_sw_hw_group_event(struct evlist *evlist) in test__hybrid_sw_hw_group_event() 72 static int test__hybrid_hw_sw_group_event(struct evlist *evlist) in test__hybrid_hw_sw_group_event() 89 static int test__hybrid_group_modifier1(struct evlist *evlist) in test__hybrid_group_modifier1() 112 static int test__hybrid_raw1(struct evlist *evlist) in test__hybrid_raw1() 126 static int test__hybrid_raw2(struct evlist *evlist) in test__hybrid_raw2() 136 static int test__hybrid_cache_event(struct evlist *evlist) in test__hybrid_cache_event() 146 static int test__checkevent_pmu(struct evlist *evlist) in test__checkevent_pmu() 166 static int test__hybrid_hw_group_event_2(struct evlist *evlist) in test__hybrid_hw_group_event_2() [all …]
|
/tools/lib/perf/include/internal/ |
A D | evlist.h | 78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument 115 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 120 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
|
/tools/lib/perf/tests/ |
A D | test-evlist.c | 37 struct perf_evlist *evlist; in test_stat_cpu() local 96 struct perf_evlist *evlist; in test_stat_thread() local 151 struct perf_evlist *evlist; in test_stat_thread_enable() local 215 struct perf_evlist *evlist; in test_mmap_thread() local 326 struct perf_evlist *evlist; in test_mmap_cpus() local 444 struct perf_evlist *evlist; in test_stat_multiplexing() local
|
/tools/perf/bench/ |
A D | evlist-open-close.c | 49 static int evlist__count_evsel_fds(struct evlist *evlist) in evlist__count_evsel_fds() 63 struct evlist *evlist = evlist__new(); in bench__create_evlist() local 108 static int bench__do_evlist_open_close(struct evlist *evlist) in bench__do_evlist_open_close() 135 struct evlist *evlist = bench__create_evlist(evstr, uid_str); in bench_evlist_open_close__run() local
|
/tools/lib/perf/include/perf/ |
A D | evlist.h | 26 #define perf_evlist__for_each_evsel(evlist, pos) \ argument 44 #define perf_evlist__for_each_mmap(evlist, pos, overwrite) \ argument
|
/tools/perf/arch/x86/util/ |
A D | auxtrace.c | 20 struct auxtrace_record *auxtrace_record__init_intel(struct evlist *evlist, in auxtrace_record__init_intel() 54 struct auxtrace_record *auxtrace_record__init(struct evlist *evlist, in auxtrace_record__init()
|
/tools/perf/arch/powerpc/util/ |
A D | kvm-stat.c | 110 static int is_tracepoint_available(const char *str, struct evlist *evlist) in is_tracepoint_available() 124 struct evlist *evlist) in ppc__setup_book3s_hv() 151 struct evlist *evlist = evlist__new(); in ppc__setup_kvm_tp() local
|
/tools/perf/arch/arm64/util/ |
A D | arm-spe.c | 38 struct evlist *evlist; member 60 static struct perf_cpu_map *arm_spe_find_cpus(struct evlist *evlist) in arm_spe_find_cpus() 80 struct evlist *evlist) in arm_spe_info_priv_size() 353 static int arm_spe_setup_tracking_event(struct evlist *evlist, in arm_spe_setup_tracking_event() 385 struct evlist *evlist, in arm_spe_recording_options()
|