Home
last modified time | relevance | path

Searched defs:evlist (Results 1 – 25 of 101) sorted by relevance

12345

/linux/tools/perf/tests/
A Dparse-events.c80 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw()
668 static int test__group1(struct evlist *evlist) in test__group1()
710 static int test__group2(struct evlist *evlist) in test__group2()
987 static int test__group_gh1(struct evlist *evlist) in test__group_gh1()
1027 static int test__group_gh2(struct evlist *evlist) in test__group_gh2()
1067 static int test__group_gh3(struct evlist *evlist) in test__group_gh3()
1107 static int test__group_gh4(struct evlist *evlist) in test__group_gh4()
1417 static int test__intel_pt(struct evlist *evlist) in test__intel_pt()
1597 static int test__hybrid_raw1(struct evlist *evlist) in test__hybrid_raw1()
1618 static int test__hybrid_raw2(struct evlist *evlist) in test__hybrid_raw2()
[all …]
A Devent-times.c17 static int attach__enable_on_exec(struct evlist *evlist) in attach__enable_on_exec()
53 static int detach__enable_on_exec(struct evlist *evlist) in detach__enable_on_exec()
59 static int attach__current_disabled(struct evlist *evlist) in attach__current_disabled()
85 static int attach__current_enabled(struct evlist *evlist) in attach__current_enabled()
105 static int detach__disable(struct evlist *evlist) in detach__disable()
112 static int attach__cpu_disabled(struct evlist *evlist) in attach__cpu_disabled()
141 static int attach__cpu_enabled(struct evlist *evlist) in attach__cpu_enabled()
163 static int test_times(int (attach)(struct evlist *), in test_times()
164 int (detach)(struct evlist *)) in test_times()
167 struct evlist *evlist = NULL; in test_times() local
A Dexpand-cgroup.c16 static int test_expand_events(struct evlist *evlist, in test_expand_events()
104 struct evlist *evlist = evlist__new_default(); in expand_default_events() local
117 struct evlist *evlist; in expand_group_events() local
147 struct evlist *evlist; in expand_libpfm_events() local
180 struct evlist *evlist; in expand_metric_events() local
A Dbackward-ring-buffer.c32 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 Dswitch-tracking.c123 static int process_sample_event(struct evlist *evlist, in process_sample_event()
173 static int process_event(struct evlist *evlist, union perf_event *event, in process_event()
213 static int add_event(struct evlist *evlist, struct list_head *events, in add_event()
262 static int process_events(struct evlist *evlist, in process_events()
339 struct evlist *evlist = NULL; in test__switch_tracking() local
A Dpfm.c15 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 Dkeep-tracking.c33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm()
76 struct evlist *evlist = NULL; in test__keep_tracking() local
A Devsel-roundtrip-name.c17 struct evlist *evlist = evlist__new(); in perf_evsel__roundtrip_cache_name_test() local
72 struct evlist *evlist = evlist__new(); in __perf_evsel__name_array_test() local
/linux/tools/perf/util/
A Devlist.h51 struct evlist { struct
52 struct perf_evlist core; argument
67 void (*trace_event_sample_raw)(struct evlist *evlist, argument
79 int pos; /* index at evlist core object to check signals */ argument
88 struct evlist *evlist__new(void); argument
109 #define evlist__add_default_attrs(evlist, array) \ argument
128 #define evlist__set_tracepoints_handlers(evlist, array) \ argument
221 static inline bool evlist__empty(struct evlist *evlist) in evlist__empty()
259 #define evlist__for_each_entry(evlist, evsel) \ argument
291 #define evlist__for_each_entry_from(evlist, evsel) \ argument
[all …]
A Devlist.c88 struct evlist *evlist = evlist__new(); in evlist__new_default() local
100 struct evlist *evlist = evlist__new(); in evlist__new_dummy() local
117 void evlist__set_id_pos(struct evlist *evlist) in evlist__set_id_pos()
148 void evlist__exit(struct evlist *evlist) in evlist__exit()
155 void evlist__delete(struct evlist *evlist) in evlist__delete()
245 int evlist__add_dummy(struct evlist *evlist) in evlist__add_dummy()
452 void evlist__disable(struct evlist *evlist) in evlist__disable()
501 void evlist__enable(struct evlist *evlist) in evlist__enable()
723 void evlist__munmap(struct evlist *evlist) in evlist__munmap()
1264 void evlist__close(struct evlist *evlist) in evlist__close()
[all …]
A Dsideband_evlist.c15 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()
141 void evlist__stop_sb_thread(struct evlist *evlist) in evlist__stop_sb_thread()
A Devlist-hybrid.c19 int evlist__add_default_hybrid(struct evlist *evlist, bool precise) in evlist__add_default_hybrid()
61 void evlist__warn_hybrid_group(struct evlist *evlist) in evlist__warn_hybrid_group()
76 bool evlist__has_hybrid(struct evlist *evlist) in evlist__has_hybrid()
90 int evlist__fix_hybrid_cpus(struct evlist *evlist, const char *cpu_list) in evlist__fix_hybrid_cpus()
A Drecord.c26 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()
228 bool evlist__can_select_event(struct evlist *evlist, const char *str) in evlist__can_select_event()
A Dcgroup.c93 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup()
138 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup()
145 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup()
199 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
341 struct evlist *evlist = *(struct evlist **)opt->value; in parse_cgroups() local
395 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup()
A Dstat.c191 int evlist__alloc_stats(struct evlist *evlist, bool alloc_raw) in evlist__alloc_stats()
207 void evlist__free_stats(struct evlist *evlist) in evlist__free_stats()
218 void evlist__reset_stats(struct evlist *evlist) in evlist__reset_stats()
228 void evlist__reset_prev_raw_counts(struct evlist *evlist) in evlist__reset_prev_raw_counts()
252 void evlist__copy_prev_raw_counts(struct evlist *evlist) in evlist__copy_prev_raw_counts()
260 void evlist__save_aggr_prev_raw_counts(struct evlist *evlist) in evlist__save_aggr_prev_raw_counts()
A Dbpf_counter_cgroup.c44 static int bperf_load_program(struct evlist *evlist) in bperf_load_program()
208 static int bperf_cgrp__sync_counters(struct evlist *evlist) in bperf_cgrp__sync_counters()
246 struct evlist *evlist = evsel->evlist; in bperf_cgrp__read() local
/linux/tools/lib/perf/
A Devlist.c27 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init()
66 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add()
75 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove()
84 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local
124 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit()
135 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete()
174 int perf_evlist__open(struct perf_evlist *evlist) in perf_evlist__open()
192 void perf_evlist__close(struct perf_evlist *evlist) in perf_evlist__close()
200 void perf_evlist__enable(struct perf_evlist *evlist) in perf_evlist__enable()
208 void perf_evlist__disable(struct perf_evlist *evlist) in perf_evlist__disable()
[all …]
/linux/tools/lib/perf/include/internal/
A Devlist.h71 #define perf_evlist__for_each_entry(evlist, evsel) \ argument
87 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
105 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
108 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first()
113 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
/linux/tools/lib/perf/tests/
A Dtest-evlist.c33 struct perf_evlist *evlist; in test_stat_cpu() local
92 struct perf_evlist *evlist; in test_stat_thread() local
147 struct perf_evlist *evlist; in test_stat_thread_enable() local
211 struct perf_evlist *evlist; in test_mmap_thread() local
322 struct perf_evlist *evlist; in test_mmap_cpus() local
/linux/tools/perf/bench/
A Devlist-open-close.c68 static int evlist__count_evsel_fds(struct evlist *evlist) in evlist__count_evsel_fds()
82 struct evlist *evlist = evlist__new(); in bench__create_evlist() local
115 static int bench__do_evlist_open_close(struct evlist *evlist) in bench__do_evlist_open_close()
142 struct evlist *evlist = bench__create_evlist(evstr); in bench_evlist_open_close__run() local
/linux/tools/lib/perf/include/perf/
A Devlist.h26 #define perf_evlist__for_each_evsel(evlist, pos) \ argument
44 #define perf_evlist__for_each_mmap(evlist, pos, overwrite) \ argument
/linux/tools/perf/arch/x86/util/
A Dauxtrace.c19 struct auxtrace_record *auxtrace_record__init_intel(struct evlist *evlist, in auxtrace_record__init_intel()
57 struct auxtrace_record *auxtrace_record__init(struct evlist *evlist, in auxtrace_record__init()
A Dintel-pt.c52 struct evlist *evlist; member
121 struct evlist *evlist, u64 *res) in intel_pt_read_config()
143 struct evlist *evlist) in intel_pt_psb_period()
280 static const char *intel_pt_find_filter(struct evlist *evlist, in intel_pt_find_filter()
301 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size()
413 static int intel_pt_track_switches(struct evlist *evlist) in intel_pt_track_switches()
582 static void intel_pt_min_max_sample_sz(struct evlist *evlist, in intel_pt_min_max_sample_sz()
603 static bool intel_pt_too_many_aux_output(struct evlist *evlist) in intel_pt_too_many_aux_output()
620 struct evlist *evlist, in intel_pt_recording_options()
A Diostat.c334 int iostat_prepare(struct evlist *evlist, struct perf_stat_config *config) in iostat_prepare()
372 void iostat_list(struct evlist *evlist, struct perf_stat_config *config) in iostat_list()
385 void iostat_release(struct evlist *evlist) in iostat_release()
398 void iostat_prefix(struct evlist *evlist, in iostat_prefix()
450 void iostat_print_counters(struct evlist *evlist, in iostat_print_counters()
/linux/tools/perf/arch/powerpc/util/
A Dkvm-stat.c111 static int is_tracepoint_available(const char *str, struct evlist *evlist) in is_tracepoint_available()
125 struct evlist *evlist) in ppc__setup_book3s_hv()
152 struct evlist *evlist = evlist__new(); in ppc__setup_kvm_tp() local

Completed in 106 milliseconds

12345