Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/tools/perf/util/
Devlist.h51 struct evlist { struct
52 struct perf_evlist core; argument
68 void (*trace_event_sample_raw)(struct evlist *evlist, argument
80 int pos; /* index at evlist core object to check signals */ argument
89 struct evlist *evlist__new(void); argument
102 static inline int evlist__add_default(struct evlist *evlist) in evlist__add_default()
110 #define evlist__add_default_attrs(evlist, array) \ argument
130 #define evlist__set_tracepoints_handlers(evlist, array) \ argument
138 #define perf_evlist__set_sample_bit(evlist, bit) \ argument
141 #define perf_evlist__reset_sample_bit(evlist, bit) \ argument
[all …]
Devlist.c59 void evlist__init(struct evlist *evlist, struct perf_cpu_map *cpus, in evlist__init()
73 struct evlist *evlist = zalloc(sizeof(*evlist)); in evlist__new() local
83 struct evlist *evlist = evlist__new(); in perf_evlist__new_default() local
95 struct evlist *evlist = evlist__new(); in perf_evlist__new_dummy() local
112 void perf_evlist__set_id_pos(struct evlist *evlist) in perf_evlist__set_id_pos()
120 static void perf_evlist__update_id_pos(struct evlist *evlist) in perf_evlist__update_id_pos()
130 static void evlist__purge(struct evlist *evlist) in evlist__purge()
143 void evlist__exit(struct evlist *evlist) in evlist__exit()
150 void evlist__delete(struct evlist *evlist) in evlist__delete()
162 void evlist__add(struct evlist *evlist, struct evsel *entry) in evlist__add()
[all …]
Dsideband_evlist.c15 int perf_evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, in perf_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 perf_evlist__start_sb_thread(struct evlist *evlist, struct target *target) in perf_evlist__start_sb_thread()
141 void perf_evlist__stop_sb_thread(struct evlist *evlist) in perf_evlist__stop_sb_thread()
Dcgroup.c38 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup()
83 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup()
90 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup()
144 void evlist__set_default_cgroup(struct evlist *evlist, struct cgroup *cgroup) in evlist__set_default_cgroup()
155 struct evlist *evlist = *(struct evlist **)opt->value; in parse_cgroups() local
204 int evlist__expand_cgroup(struct evlist *evlist, const char *str, in evlist__expand_cgroup()
Drecord.c24 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler()
50 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling()
92 void perf_evlist__config(struct evlist *evlist, struct record_opts *opts, in perf_evlist__config()
220 bool perf_evlist__can_select_event(struct evlist *evlist, const char *str) in perf_evlist__can_select_event()
/kernel/linux/linux-5.10/tools/perf/tests/
Dparse-events.c47 static int test__checkevent_tracepoint(struct evlist *evlist) in test__checkevent_tracepoint()
60 static int test__checkevent_tracepoint_multi(struct evlist *evlist) in test__checkevent_tracepoint_multi()
78 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw()
88 static int test__checkevent_numeric(struct evlist *evlist) in test__checkevent_numeric()
98 static int test__checkevent_symbolic_name(struct evlist *evlist) in test__checkevent_symbolic_name()
109 static int test__checkevent_symbolic_name_config(struct evlist *evlist) in test__checkevent_symbolic_name_config()
130 static int test__checkevent_symbolic_alias(struct evlist *evlist) in test__checkevent_symbolic_alias()
141 static int test__checkevent_genhw(struct evlist *evlist) in test__checkevent_genhw()
151 static int test__checkevent_breakpoint(struct evlist *evlist) in test__checkevent_breakpoint()
165 static int test__checkevent_breakpoint_x(struct evlist *evlist) in test__checkevent_breakpoint_x()
[all …]
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
Dexpand-cgroup.c16 static int test_expand_events(struct evlist *evlist, in test_expand_events()
103 struct evlist *evlist; in expand_default_events() local
118 struct evlist *evlist; in expand_group_events() local
146 struct evlist *evlist; in expand_libpfm_events() local
179 struct evlist *evlist; in expand_metric_events() local
/kernel/linux/linux-6.6/tools/perf/util/
Devlist.h54 struct evlist { struct
55 struct perf_evlist core; argument
70 void (*trace_event_sample_raw)(struct evlist *evlist, argument
82 int pos; /* index at evlist core object to check signals */ argument
92 struct evlist *evlist__new(void); argument
112 #define evlist__add_default_attrs(evlist, array) \ argument
119 static inline struct evsel *evlist__add_dummy_on_all_cpus(struct evlist *evlist) in evlist__add_dummy_on_all_cpus()
141 #define evlist__set_tracepoints_handlers(evlist, array) \ argument
233 static inline bool evlist__empty(struct evlist *evlist) in evlist__empty()
238 static inline struct evsel *evlist__first(struct evlist *evlist) in evlist__first()
[all …]
Devlist.c72 void evlist__init(struct evlist *evlist, struct perf_cpu_map *cpus, in evlist__init()
86 struct evlist *evlist = zalloc(sizeof(*evlist)); in evlist__new() local
96 struct evlist *evlist = evlist__new(); in evlist__new_default() local
122 struct evlist *evlist = evlist__new(); in evlist__new_dummy() local
139 void evlist__set_id_pos(struct evlist *evlist) in evlist__set_id_pos()
147 static void evlist__update_id_pos(struct evlist *evlist) in evlist__update_id_pos()
157 static void evlist__purge(struct evlist *evlist) in evlist__purge()
170 void evlist__exit(struct evlist *evlist) in evlist__exit()
178 void evlist__delete(struct evlist *evlist) in evlist__delete()
191 void evlist__add(struct evlist *evlist, struct evsel *entry) in evlist__add()
[all …]
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()
142 void evlist__stop_sb_thread(struct evlist *evlist) in evlist__stop_sb_thread()
Dstat.c112 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()
561 struct evlist *evlist = evsel->evlist; in evsel__merge_aliases() local
591 void perf_stat_merge_counters(struct perf_stat_config *config, struct evlist *evlist) in perf_stat_merge_counters()
[all …]
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()
221 bool evlist__can_select_event(struct evlist *evlist, const char *str) in evlist__can_select_event()
/kernel/linux/linux-6.6/tools/perf/tests/
Dparse-events.c85 static int test__checkevent_tracepoint(struct evlist *evlist) in test__checkevent_tracepoint()
98 static int test__checkevent_tracepoint_multi(struct evlist *evlist) in test__checkevent_tracepoint_multi()
117 static int test__checkevent_raw(struct evlist *evlist) in test__checkevent_raw()
155 static int test__checkevent_numeric(struct evlist *evlist) in test__checkevent_numeric()
165 static int test__checkevent_symbolic_name(struct evlist *evlist) in test__checkevent_symbolic_name()
179 static int test__checkevent_symbolic_name_config(struct evlist *evlist) in test__checkevent_symbolic_name_config()
199 static int test__checkevent_symbolic_alias(struct evlist *evlist) in test__checkevent_symbolic_alias()
209 static int test__checkevent_genhw(struct evlist *evlist) in test__checkevent_genhw()
222 static int test__checkevent_breakpoint(struct evlist *evlist) in test__checkevent_breakpoint()
236 static int test__checkevent_breakpoint_x(struct evlist *evlist) in test__checkevent_breakpoint_x()
[all …]
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
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
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
/kernel/linux/linux-6.6/tools/lib/perf/
Devlist.c28 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init()
36 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps()
81 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps()
91 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add()
102 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove()
111 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local
120 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next()
139 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge()
151 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit()
162 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete()
[all …]
/kernel/linux/linux-5.10/tools/lib/perf/
Devlist.c27 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init()
38 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps()
61 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps()
69 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add()
77 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove()
86 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local
95 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next()
114 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge()
126 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit()
137 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete()
[all …]
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/
Dhybrid.c25 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()
223 struct evlist *evlist; in test_event() local
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Devlist.h70 #define perf_evlist__for_each_entry(evlist, evsel) \ argument
86 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
104 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
107 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first()
112 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
/kernel/linux/linux-5.10/tools/lib/perf/tests/
Dtest-evlist.c31 struct perf_evlist *evlist; in test_stat_cpu() local
86 struct perf_evlist *evlist; in test_stat_thread() local
137 struct perf_evlist *evlist; in test_stat_thread_enable() local
197 struct perf_evlist *evlist; in test_mmap_thread() local
307 struct perf_evlist *evlist; in test_mmap_cpus() local
/kernel/linux/linux-6.6/tools/lib/perf/include/internal/
Devlist.h78 #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()
/kernel/linux/linux-6.6/tools/perf/bench/
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
/kernel/linux/linux-6.6/tools/lib/perf/tests/
Dtest-evlist.c37 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

12345678