/kernel/linux/linux-5.10/tools/perf/util/ |
D | evsel.h | 43 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 …]
|
D | evsel.c | 80 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 …]
|
D | stat.c | 78 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 …]
|
D | evlist.c | 122 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 …]
|
D | evlist.h | 257 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
|
D | perf_api_probe.c | 17 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()
|
D | record.c | 24 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
|
D | counts.c | 53 void evsel__reset_counts(struct evsel *evsel) in evsel__reset_counts() 58 int evsel__alloc_counts(struct evsel *evsel, int ncpus, int nthreads) in evsel__alloc_counts() 64 void evsel__free_counts(struct evsel *evsel) in evsel__free_counts()
|
D | sideband_evlist.c | 18 struct evsel *evsel; in perf_evlist__add_sb_event() local 65 struct evsel *evsel = perf_evlist__event2evsel(evlist, event); in perf_evlist__poll_thread() local 86 struct evsel *evsel; in evlist__set_cb() local
|
D | stat-shadow.c | 27 struct evsel *evsel; member 98 static struct saved_value *saved_value_lookup(struct evsel *evsel, in saved_value_lookup() 149 static int evsel_context(struct evsel *evsel) in evsel_context() 450 struct evsel *evsel, double avg, in print_stalled_cycles_frontend() 474 struct evsel *evsel, double avg, in print_stalled_cycles_backend() 494 struct evsel *evsel, in print_branch_misses() 515 struct evsel *evsel, in print_l1_dcache_misses() 537 struct evsel *evsel, in print_l1_icache_misses() 558 struct evsel *evsel, in print_dtlb_cache_misses() 578 struct evsel *evsel, in print_itlb_cache_misses() [all …]
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | parse-events.c | 49 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 …]
|
D | event-times.c | 19 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
|
D | hists_output.c | 53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 125 static int test1(struct evsel *evsel, struct machine *machine) in test1() 227 static int test2(struct evsel *evsel, struct machine *machine) in test2() 283 static int test3(struct evsel *evsel, struct machine *machine) in test3() 357 static int test4(struct evsel *evsel, struct machine *machine) in test4() 459 static int test5(struct evsel *evsel, struct machine *machine) in test5() 583 struct evsel *evsel; in test__hists_output() local
|
D | hists_cumulate.c | 83 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 250 static int test1(struct evsel *evsel, struct machine *machine) in test1() 301 static int test2(struct evsel *evsel, struct machine *machine) in test2() 449 static int test3(struct evsel *evsel, struct machine *machine) in test3() 506 static int test4(struct evsel *evsel, struct machine *machine) in test4() 697 struct evsel *evsel; in test__hists_cumulate() local
|
D | evsel-tp-sched.c | 8 static int perf_evsel__test_field(struct evsel *evsel, const char *name, in perf_evsel__test_field() 38 struct evsel *evsel = evsel__newtp("sched", "sched_switch"); in test__perf_evsel__tp_sched_test() local
|
/kernel/linux/linux-5.10/tools/lib/perf/ |
D | evsel.c | 19 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 …]
|
D | evlist.c | 39 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-5.10/tools/perf/arch/x86/util/ |
D | kvm-stat.c | 31 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-5.10/tools/lib/perf/include/internal/ |
D | evlist.h | 62 #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-5.10/tools/perf/arch/s390/util/ |
D | kvm-stat.c | 27 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()
|
/kernel/linux/linux-5.10/tools/lib/perf/tests/ |
D | test-evlist.c | 32 struct perf_evsel *evsel; in test_stat_cpu() local 87 struct perf_evsel *evsel; in test_stat_thread() local 138 struct perf_evsel *evsel; in test_stat_thread_enable() local 198 struct perf_evsel *evsel; in test_mmap_thread() local 308 struct perf_evsel *evsel; in test_mmap_cpus() local
|
D | test-evsel.c | 19 struct perf_evsel *evsel; in test_stat_cpu() local 53 struct perf_evsel *evsel; in test_stat_thread() local 85 struct perf_evsel *evsel; in test_stat_thread_enable() local
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-annotate.c | 163 struct evsel *evsel = iter->evsel; in hist_iter__branch_callback() local 178 static int process_branch_callback(struct evsel *evsel, in process_branch_callback() 215 static int evsel__add_sample(struct evsel *evsel, struct perf_sample *sample, in evsel__add_sample() 262 struct evsel *evsel, in process_sample_event() 298 struct evsel *evsel, in hist_entry__tty_annotate() 308 struct evsel *evsel, in hists__find_annotations()
|
D | builtin-top.c | 112 struct evsel *evsel; in perf_top__parse_source() local 197 struct evsel *evsel, u64 ip) in perf_top__record_precise_ip() 239 struct evsel *evsel; in perf_top__show_details() local 320 struct evsel *evsel = top->sym_evsel; in perf_top__print_sym_table() local 732 struct evsel *evsel = iter->evsel; in hist_iter__top_callback() local 745 struct evsel *evsel, in perf_event__process_sample() 856 struct evsel *evsel) in perf_top__process_lost() 868 struct evsel *evsel) in perf_top__process_lost_samples() 955 struct evsel *evsel; in perf_top__overwrite_check() local 995 struct evsel *evsel) in perf_top_overwrite_fallback() [all …]
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/ |
D | cs-etm.c | 63 struct evsel *evsel, int cpu) in cs_etm_set_context_id() 112 struct evsel *evsel, int cpu) in cs_etm_set_timestamp() 160 struct evsel *evsel, u32 option) in cs_etm_set_option() 216 struct evsel *evsel) in cs_etm_set_sink_attr() 260 struct evsel *evsel, *cs_etm_evsel = NULL; in cs_etm_recording_options() local 444 struct evsel *evsel; in cs_etm_get_config() local 826 struct evsel *evsel; in cs_etm_snapshot_start() local 839 struct evsel *evsel; in cs_etm_snapshot_finish() local
|