Home
last modified time | relevance | path

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

123

/linux/tools/perf/util/
H A Devsel.c218 int evsel__object_config(size_t object_size, int (*init)(struct evsel *evsel), in evsel__object_config()
219 void (*fini)(struct evsel *evsel)) in evsel__object_config()
240 const char *evsel__pmu_name(const struct evsel *evsel) in evsel__pmu_name()
328 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos()
334 void __evsel__set_sample_bit(struct evsel *evsel, in __evsel__set_sample_bit()
344 void __evsel__reset_sample_bit(struct evsel *evsel, in __evsel__reset_sample_bit()
354 void evsel__set_sample_id(struct evsel *evsel, in evsel__set_sample_id()
374 bool evsel__is_function_event(struct evsel *evsel) in evsel__is_function_event()
384 void evsel__init(struct evsel *evsel, in evsel__init()
413 struct evsel *evsel = zalloc(perf_evsel__object.size); in evsel__new_idx() local
[all …]
H A Dperf_api_probe.c17 struct evsel *evsel; in perf_do_probe_api() local
82 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier()
87 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec()
92 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch()
97 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke()
102 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id()
107 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup()
H A Dbpf_counter_cgroup.c47 struct evsel *evsel; in bperf_load_program() local
169 static int bperf_cgrp__load(struct evsel *evsel, in bperf_cgrp__load()
210 static int bperf_cgrp__enable(struct evsel *evsel) in bperf_cgrp__enable()
221 static int bperf_cgrp__disable(struct evsel *evsel) in bperf_cgrp__disable()
232 static int bperf_cgrp__read(struct evsel *evsel) in bperf_cgrp__read()
276 static int bperf_cgrp__destroy(struct evsel *evsel) in bperf_cgrp__destroy()
H A Drecord.c26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() argument
41 evsel__config_term_mask(struct evsel * evsel) evsel__config_term_mask() argument
53 evsel__config_leader_sampling(struct evsel * evsel,struct evlist * evlist) evsel__config_leader_sampling() argument
97 struct evsel *evsel; evlist__config() local
224 struct evsel *evsel; evlist__can_select_event() local
[all...]
H A Dcounts.c53 void evsel__reset_counts(struct evsel *evsel) in evsel__reset_counts()
58 int evsel__alloc_counts(struct evsel *evsel) in evsel__alloc_counts()
67 void evsel__free_counts(struct evsel *evsel) in evsel__free_counts()
H A Dsideband_evlist.c18 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
H A Ddlfilter.h33 struct evsel *evsel; member
72 struct evsel *evsel, in dlfilter__filter_event()
85 struct evsel *evsel, in dlfilter__filter_event_early()
/linux/tools/perf/arch/x86/tests/
H A Dhybrid.c10 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config()
15 static bool test_perf_config(const struct perf_evsel *evsel, __u64 expected_config) in test_perf_config()
20 static bool test_hybrid_type(const struct evsel *evsel, __u64 expected_config) in test_hybrid_type()
27 struct evsel *evsel = evlist__first(evlist); in test__hybrid_hw_event_with_pmu() local
38 struct evsel *evsel, *leader; in test__hybrid_hw_group_event() local
57 struct evsel *evsel, *leader; in test__hybrid_sw_hw_group_event() local
74 struct evsel *evsel, *leader; in test__hybrid_hw_sw_group_event() local
91 struct evsel *evsel, *leader; in test__hybrid_group_modifier1() local
114 struct perf_evsel *evsel; in test__hybrid_raw1() local
128 struct evsel *evsel = evlist__first(evlist); in test__hybrid_raw2() local
[all …]
/linux/tools/perf/arch/x86/util/
H A Dkvm-stat.c30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key()
41 static bool mmio_event_begin(struct evsel *evsel, in mmio_event_begin()
58 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end()
92 static void ioport_event_get_key(struct evsel *evsel, in ioport_event_get_key()
100 static bool ioport_event_begin(struct evsel *evsel, in ioport_event_begin()
112 static bool ioport_event_end(struct evsel *evsel, in ioport_event_end()
136 static void msr_event_get_key(struct evsel *evsel, in msr_event_get_key()
144 static bool msr_event_begin(struct evsel *evsel, in msr_event_begin()
156 static bool msr_event_end(struct evsel *evsel, in msr_event_end()
/linux/tools/lib/perf/
H A Devlist.c37 struct perf_evsel *evsel) in __perf_evlist__propagate_maps()
97 struct perf_evsel *evsel, *n; in perf_evlist__propagate_maps() local
106 struct perf_evsel *evsel) in perf_evlist__add()
117 struct perf_evsel *evsel) in perf_evlist__remove()
214 struct perf_evsel *evsel; in perf_evlist__open() local
232 struct perf_evsel *evsel; in perf_evlist__close() local
240 struct perf_evsel *evsel; in perf_evlist__enable() local
248 struct perf_evsel *evsel; in perf_evlist__disable() local
264 struct perf_evsel *evsel, in perf_evlist__id_hash()
285 struct perf_evsel *evsel, in perf_evlist__id_add()
[all …]
/linux/tools/perf/tests/
H A Dhists_output.c53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local
138 static int test1(struct evsel *evsel, struct machine *machine) in test1() argument
240 test2(struct evsel * evsel,struct machine * machine) test2() argument
296 test3(struct evsel * evsel,struct machine * machine) test3() argument
370 test4(struct evsel * evsel,struct machine * machine) test4() argument
472 test5(struct evsel * evsel,struct machine * machine) test5() argument
596 struct evsel *evsel; test__hists_output() local
[all...]
H A Dhists_cumulate.c83 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local
263 static int test1(struct evsel *evsel, struct machine *machine) in test1() argument
314 test2(struct evsel * evsel,struct machine * machine) test2() argument
462 test3(struct evsel * evsel,struct machine * machine) test3() argument
519 test4(struct evsel * evsel,struct machine * machine) test4() argument
710 struct evsel *evsel; test__hists_cumulate() local
[all...]
H A Devsel-roundtrip-name.c22 struct evsel *evsel; in perf_evsel__roundtrip_cache_name_test() local
58 struct evsel *evsel; in perf_evsel__name_array_test() local
[all...]
H A Dhists_filter.c52 struct evsel *evsel; in add_hist_entries() local
121 struct evsel *evsel; in test__hists_filter() local
H A Dmmap-basic.c45 struct evsel *evsels[nsyscalls], *evsel; in test__basic_mmap() local
176 struct perf_evsel *evsel; test_stat_user_read() local
[all...]
/linux/tools/lib/perf/include/internal/
H A Devlist.h70 #define __perf_evlist__for_each_entry(list, evsel) \ argument
78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument
86 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument
94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
103 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument
112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
/linux/tools/perf/arch/s390/util/
H A Dkvm-stat.c26 static void event_icpt_insn_get_key(struct evsel *evsel, in event_icpt_insn_get_key()
37 static void event_sigp_get_key(struct evsel *evsel, in event_sigp_get_key()
45 static void event_diag_get_key(struct evsel *evsel, in event_diag_get_key()
53 static void event_icpt_prog_get_key(struct evsel *evsel, in event_icpt_prog_get_key()
/linux/tools/lib/perf/tests/
H A Dtest-evsel.c23 struct perf_evsel *evsel; in test_stat_cpu() local
57 struct perf_evsel *evsel; in test_stat_thread() local
89 struct perf_evsel *evsel; in test_stat_thread_enable() local
131 struct perf_evsel *evsel; in test_stat_user_read() local
197 struct perf_evsel *evsel; in test_stat_read_format_single() local
H A Dtest-evlist.c38 struct perf_evsel *evsel, *leader; in test_stat_cpu() local
97 struct perf_evsel *evsel, *leader; in test_stat_thread() local
152 struct perf_evsel *evsel, *leader; in test_stat_thread_enable() local
216 struct perf_evsel *evsel; in test_mmap_thread() local
327 struct perf_evsel *evsel; in test_mmap_cpus() local
445 struct perf_evsel *evsel; in test_stat_multiplexing() local
/linux/tools/perf/arch/riscv/util/
H A Dkvm-stat.c28 static void event_get_key(struct evsel *evsel, in event_get_key()
37 static bool event_begin(struct evsel *evsel, in event_begin()
44 static bool event_end(struct evsel *evsel, in event_end()
/linux/tools/perf/arch/arm64/util/
H A Dkvm-stat.c24 static void event_get_key(struct evsel *evsel, in event_get_key()
43 static bool event_begin(struct evsel *evsel, in event_begin()
50 static bool event_end(struct evsel *evsel, in event_end()
/linux/tools/perf/arch/arm/util/
H A Dcs-etm.c88 static int cs_etm_validate_context_id(struct perf_pmu *cs_etm_pmu, struct evsel *evsel, in cs_etm_validate_context_id()
148 static int cs_etm_validate_timestamp(struct perf_pmu *cs_etm_pmu, struct evsel *evsel, in cs_etm_validate_timestamp()
199 struct evsel *evsel) in cs_etm_validate_config()
263 struct evsel *evsel) in cs_etm_set_sink_attr()
313 struct evsel *evsel, *cs_etm_evsel = NULL; in cs_etm_recording_options() local
484 struct evsel *evsel; in cs_etm_get_config() local
835 struct evsel *evsel; in cs_etm_snapshot_start() local
848 struct evsel *evsel; in cs_etm_snapshot_finish() local
H A Dauxtrace.c103 int pmu_nr, struct evsel *evsel) in find_pmu_for_event()
124 struct evsel *evsel; in auxtrace_record__init() local
/linux/tools/perf/arch/loongarch/util/
H A Dkvm-stat.c59 static bool event_begin(struct evsel *evsel, in event_begin()
65 static bool event_end(struct evsel *evsel, in event_end()
80 static void event_gspr_get_key(struct evsel *evsel, in event_gspr_get_key()
/linux/tools/perf/arch/powerpc/util/
H A Dkvm-stat.c36 static void hcall_event_get_key(struct evsel *evsel, in hcall_event_get_key()
59 static bool hcall_event_end(struct evsel *evsel, in hcall_event_end()
66 static bool hcall_event_begin(struct evsel *evsel, in hcall_event_begin()

123