Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/tools/perf/util/
Devsel.h43 struct evsel { struct
44 struct perf_evsel core; argument
54 * Please check evsel__clone() to copy them properly so that argument
57 struct {
90 struct evsel **metric_events; argument
91 struct evsel *metric_leader; argument
97 struct perf_stat_evsel *stats; argument
114 struct evsel *leader; argument
123 * For reporting purposes, an evsel sample can have a callchain argument
129 __u64 synth_sample_type;
[all …]
Devsel.c80 int evsel__object_config(size_t object_size, int (*init)(struct evsel *evsel), in evsel__object_config()
81 void (*fini)(struct evsel *evsel)) in evsel__object_config()
180 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
186 void __evsel__set_sample_bit(struct evsel *evsel, in __evsel__set_sample_bit()
196 void __evsel__reset_sample_bit(struct evsel *evsel, in __evsel__reset_sample_bit()
206 void evsel__set_sample_id(struct evsel *evsel, in evsel__set_sample_id()
226 bool evsel__is_function_event(struct evsel *evsel) in evsel__is_function_event()
236 void evsel__init(struct evsel *evsel, in evsel__init()
264 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__new_idx() local
302 struct evsel *evsel; in evsel__new_cycles() local
[all …]
Dstat.c78 bool __perf_evsel_stat__is(struct evsel *evsel, in __perf_evsel_stat__is()
107 static void perf_stat_evsel_id_init(struct evsel *evsel) in perf_stat_evsel_id_init()
122 static void evsel__reset_stat_priv(struct evsel *evsel) in evsel__reset_stat_priv()
133 static int evsel__alloc_stat_priv(struct evsel *evsel) in evsel__alloc_stat_priv()
142 static void evsel__free_stat_priv(struct evsel *evsel) in evsel__free_stat_priv()
151 static int evsel__alloc_prev_raw_counts(struct evsel *evsel, int ncpus, int nthreads) in evsel__alloc_prev_raw_counts()
162 static void evsel__free_prev_raw_counts(struct evsel *evsel) in evsel__free_prev_raw_counts()
168 static void evsel__reset_prev_raw_counts(struct evsel *evsel) in evsel__reset_prev_raw_counts()
174 static int evsel__alloc_stats(struct evsel *evsel, bool alloc_raw) in evsel__alloc_stats()
189 struct evsel *evsel; in perf_evlist__alloc_stats() local
[all …]
Devlist.c122 struct evsel *evsel; in perf_evlist__update_id_pos() local
174 void evlist__remove(struct evlist *evlist, struct evsel *evsel) in evlist__remove()
183 struct evsel *evsel, *temp; in perf_evlist__splice_list_tail() local
194 struct evsel *evsel; in __evlist__set_tracepoints_handlers() local
217 struct evsel *evsel, *leader; in __perf_evlist__set_leader() local
239 struct evsel *evsel = evsel__new_cycles(precise); in __evlist__add_default() local
255 struct evsel *evsel = evsel__new_idx(&attr, evlist->core.nr_entries); in evlist__add_dummy() local
266 struct evsel *evsel, *n; in evlist__add_attrs() local
300 struct evsel *evsel; in perf_evlist__find_tracepoint_by_id() local
315 struct evsel *evsel; in perf_evlist__find_tracepoint_by_name() local
[all …]
Devlist.h257 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first() local
264 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last() local
281 #define __evlist__for_each_entry(list, evsel) \ argument
289 #define evlist__for_each_entry(evlist, evsel) \ argument
297 #define __evlist__for_each_entry_continue(list, evsel) \ argument
305 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
313 #define __evlist__for_each_entry_reverse(list, evsel) \ argument
321 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
330 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument
339 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
Dperf_api_probe.c17 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()
Drecord.c24 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler()
38 static u64 evsel__config_term_mask(struct evsel *evsel) in evsel__config_term_mask()
50 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling()
95 struct evsel *evsel; in perf_evlist__config() local
223 struct evsel *evsel; in perf_evlist__can_select_event() local
/kernel/linux/linux-5.10/tools/perf/tests/
Dparse-events.c49 struct evsel *evsel = evlist__first(evlist); in test__checkevent_tracepoint() local
62 struct evsel *evsel; in test__checkevent_tracepoint_multi() local
80 struct evsel *evsel = evlist__first(evlist); in test__checkevent_raw() local
90 struct evsel *evsel = evlist__first(evlist); in test__checkevent_numeric() local
100 struct evsel *evsel = evlist__first(evlist); in test__checkevent_symbolic_name() local
111 struct evsel *evsel = evlist__first(evlist); in test__checkevent_symbolic_name_config() local
132 struct evsel *evsel = evlist__first(evlist); in test__checkevent_symbolic_alias() local
143 struct evsel *evsel = evlist__first(evlist); in test__checkevent_genhw() local
153 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint() local
167 struct evsel *evsel = evlist__first(evlist); in test__checkevent_breakpoint_x() local
[all …]
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
/kernel/linux/linux-4.19/tools/perf/tests/
Dparse-events.c49 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_tracepoint() local
62 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi() local
80 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_raw() local
90 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_numeric() local
100 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name() local
111 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name_config() local
132 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_alias() local
143 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_genhw() local
153 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint() local
167 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint_x() local
[all …]
Devent-times.c17 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__enable_on_exec() local
59 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_disabled() local
85 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_enabled() local
105 struct perf_evsel *evsel = perf_evlist__last(evlist); in detach__disable() local
112 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_disabled() local
141 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_enabled() local
166 struct perf_evsel *evsel; in test_times() local
Dhists_output.c52 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local
124 static int test1(struct perf_evsel *evsel, struct machine *machine) in test1()
226 static int test2(struct perf_evsel *evsel, struct machine *machine) in test2()
282 static int test3(struct perf_evsel *evsel, struct machine *machine) in test3()
356 static int test4(struct perf_evsel *evsel, struct machine *machine) in test4()
458 static int test5(struct perf_evsel *evsel, struct machine *machine) in test5()
582 struct perf_evsel *evsel; in test__hists_output() local
/kernel/linux/linux-5.10/tools/lib/perf/
Devsel.c19 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr) in perf_evsel__init()
27 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() local
35 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete()
42 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd()
66 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, in perf_evsel__open()
117 static void perf_evsel__close_fd_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__close_fd_cpu()
128 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd()
136 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd()
142 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close()
151 void perf_evsel__close_cpu(struct perf_evsel *evsel, int cpu) in perf_evsel__close_cpu()
[all …]
Devlist.c39 struct perf_evsel *evsel) in __perf_evlist__propagate_maps()
63 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local
70 struct perf_evsel *evsel) in perf_evlist__add()
78 struct perf_evsel *evsel) in perf_evlist__remove()
178 struct perf_evsel *evsel; in perf_evlist__open() local
196 struct perf_evsel *evsel; in perf_evlist__close() local
204 struct perf_evsel *evsel; in perf_evlist__enable() local
212 struct perf_evsel *evsel; in perf_evlist__disable() local
228 struct perf_evsel *evsel, in perf_evlist__id_hash()
241 struct perf_evsel *evsel, in perf_evlist__id_add()
[all …]
/kernel/linux/linux-4.19/tools/perf/util/
Devsel.c70 int (*init)(struct perf_evsel *evsel), in perf_evsel__object_config()
71 void (*fini)(struct perf_evsel *evsel)) in perf_evsel__object_config()
170 void perf_evsel__calc_id_pos(struct perf_evsel *evsel) in perf_evsel__calc_id_pos()
176 void __perf_evsel__set_sample_bit(struct perf_evsel *evsel, in __perf_evsel__set_sample_bit()
186 void __perf_evsel__reset_sample_bit(struct perf_evsel *evsel, in __perf_evsel__reset_sample_bit()
196 void perf_evsel__set_sample_id(struct perf_evsel *evsel, in perf_evsel__set_sample_id()
216 bool perf_evsel__is_function_event(struct perf_evsel *evsel) in perf_evsel__is_function_event()
226 void perf_evsel__init(struct perf_evsel *evsel, in perf_evsel__init()
252 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__new_idx() local
290 struct perf_evsel *evsel; in perf_evsel__new_cycles() local
[all …]
Dstat.c70 bool __perf_evsel_stat__is(struct perf_evsel *evsel, in __perf_evsel_stat__is()
95 static void perf_stat_evsel_id_init(struct perf_evsel *evsel) in perf_stat_evsel_id_init()
110 static void perf_evsel__reset_stat_priv(struct perf_evsel *evsel) in perf_evsel__reset_stat_priv()
121 static int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel) in perf_evsel__alloc_stat_priv()
130 static void perf_evsel__free_stat_priv(struct perf_evsel *evsel) in perf_evsel__free_stat_priv()
139 static int perf_evsel__alloc_prev_raw_counts(struct perf_evsel *evsel, in perf_evsel__alloc_prev_raw_counts()
151 static void perf_evsel__free_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__free_prev_raw_counts()
157 static void perf_evsel__reset_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__reset_prev_raw_counts()
166 static int perf_evsel__alloc_stats(struct perf_evsel *evsel, bool alloc_raw) in perf_evsel__alloc_stats()
181 struct perf_evsel *evsel; in perf_evlist__alloc_stats() local
[all …]
Devlist.c109 struct perf_evsel *evsel; in perf_evlist__update_id_pos() local
154 struct perf_evsel *evsel) in __perf_evlist__propagate_maps()
174 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local
193 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel) in perf_evlist__remove()
203 struct perf_evsel *evsel, *temp; in perf_evlist__splice_list_tail() local
213 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader() local
249 struct perf_evsel *evsel = perf_evsel__new_cycles(precise); in __perf_evlist__add_default() local
265 struct perf_evsel *evsel = perf_evsel__new_idx(&attr, evlist->nr_entries); in perf_evlist__add_dummy() local
277 struct perf_evsel *evsel, *n; in perf_evlist__add_attrs() local
312 struct perf_evsel *evsel; in perf_evlist__find_tracepoint_by_id() local
[all …]
Devsel.h24 struct perf_evsel *evsel; member
175 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus()
180 static inline int perf_evsel__nr_cpus(struct perf_evsel *evsel) in perf_evsel__nr_cpus()
260 #define perf_evsel__set_sample_bit(evsel, bit) \ argument
263 #define perf_evsel__reset_sample_bit(evsel, bit) \ argument
292 static inline char *perf_evsel__strval(struct perf_evsel *evsel, in perf_evsel__strval()
305 #define perf_evsel__match(evsel, t, c) \ argument
337 static inline int perf_evsel__read_on_cpu(struct perf_evsel *evsel, in perf_evsel__read_on_cpu()
350 static inline int perf_evsel__read_on_cpu_scaled(struct perf_evsel *evsel, in perf_evsel__read_on_cpu_scaled()
363 static inline struct perf_evsel *perf_evsel__next(struct perf_evsel *evsel) in perf_evsel__next()
[all …]
Devlist.h239 #define __evlist__for_each_entry(list, evsel) \ argument
247 #define evlist__for_each_entry(evlist, evsel) \ argument
255 #define __evlist__for_each_entry_continue(list, evsel) \ argument
263 #define evlist__for_each_entry_continue(evlist, evsel) \ argument
271 #define __evlist__for_each_entry_reverse(list, evsel) \ argument
279 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument
288 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument
297 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
Drecord.c17 struct perf_evsel *evsel; in perf_do_probe_api() local
81 static void perf_probe_sample_identifier(struct perf_evsel *evsel) in perf_probe_sample_identifier()
86 static void perf_probe_comm_exec(struct perf_evsel *evsel) in perf_probe_comm_exec()
91 static void perf_probe_context_switch(struct perf_evsel *evsel) in perf_probe_context_switch()
138 struct perf_evsel *evsel; in perf_evlist__config() local
262 struct perf_evsel *evsel; in perf_evlist__can_select_event() local
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dkvm-stat.c31 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()
/kernel/linux/linux-4.19/tools/perf/arch/x86/util/
Dkvm-stat.c29 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key()
40 static bool mmio_event_begin(struct perf_evsel *evsel, in mmio_event_begin()
57 static bool mmio_event_end(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_end()
91 static void ioport_event_get_key(struct perf_evsel *evsel, in ioport_event_get_key()
99 static bool ioport_event_begin(struct perf_evsel *evsel, in ioport_event_begin()
111 static bool ioport_event_end(struct perf_evsel *evsel, in ioport_event_end()
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Devlist.h62 #define __perf_evlist__for_each_entry(list, evsel) \ argument
70 #define perf_evlist__for_each_entry(evlist, evsel) \ argument
78 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument
86 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
95 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument
104 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
/kernel/linux/linux-4.19/tools/perf/arch/s390/util/
Dkvm-stat.c28 static void event_icpt_insn_get_key(struct perf_evsel *evsel, in event_icpt_insn_get_key()
39 static void event_sigp_get_key(struct perf_evsel *evsel, in event_sigp_get_key()
47 static void event_diag_get_key(struct perf_evsel *evsel, in event_diag_get_key()
55 static void event_icpt_prog_get_key(struct perf_evsel *evsel, in event_icpt_prog_get_key()
/kernel/linux/linux-5.10/tools/perf/arch/s390/util/
Dkvm-stat.c27 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()

12345678