/Linux-v5.4/tools/perf/util/ |
D | evsel.h | 43 struct evsel { struct 44 struct perf_evsel core; argument 57 struct perf_stat_evsel *stats; argument 58 void *priv; 59 u64 db_id; 83 struct evsel *leader; argument 93 struct evsel **metric_events; argument 94 struct evsel *metric_leader; argument 100 perf_evsel__sb_cb_t *cb; argument 102 } side_band; [all …]
|
D | evsel.c | 81 int (*init)(struct evsel *evsel), in perf_evsel__object_config() 82 void (*fini)(struct evsel *evsel)) in perf_evsel__object_config() 181 void perf_evsel__calc_id_pos(struct evsel *evsel) in perf_evsel__calc_id_pos() 187 void __perf_evsel__set_sample_bit(struct evsel *evsel, in __perf_evsel__set_sample_bit() 197 void __perf_evsel__reset_sample_bit(struct evsel *evsel, in __perf_evsel__reset_sample_bit() 207 void perf_evsel__set_sample_id(struct evsel *evsel, in perf_evsel__set_sample_id() 227 bool perf_evsel__is_function_event(struct evsel *evsel) in perf_evsel__is_function_event() 237 void evsel__init(struct evsel *evsel, in evsel__init() 264 struct evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__new_idx() local 302 struct evsel *evsel; in perf_evsel__new_cycles() local [all …]
|
D | stat.c | 78 bool __perf_evsel_stat__is(struct evsel *evsel, in __perf_evsel_stat__is() 103 static void perf_stat_evsel_id_init(struct evsel *evsel) in perf_stat_evsel_id_init() 118 static void perf_evsel__reset_stat_priv(struct evsel *evsel) in perf_evsel__reset_stat_priv() 129 static int perf_evsel__alloc_stat_priv(struct evsel *evsel) in perf_evsel__alloc_stat_priv() 138 static void perf_evsel__free_stat_priv(struct evsel *evsel) in perf_evsel__free_stat_priv() 147 static int perf_evsel__alloc_prev_raw_counts(struct evsel *evsel, in perf_evsel__alloc_prev_raw_counts() 159 static void perf_evsel__free_prev_raw_counts(struct evsel *evsel) in perf_evsel__free_prev_raw_counts() 165 static void perf_evsel__reset_prev_raw_counts(struct evsel *evsel) in perf_evsel__reset_prev_raw_counts() 174 static int perf_evsel__alloc_stats(struct evsel *evsel, bool alloc_raw) in perf_evsel__alloc_stats() 189 struct evsel *evsel; in perf_evlist__alloc_stats() local [all …]
|
D | evlist.c | 116 struct evsel *evsel; in perf_evlist__update_id_pos() local 172 void evlist__remove(struct evlist *evlist, struct evsel *evsel) in evlist__remove() 181 struct evsel *evsel, *temp; in perf_evlist__splice_list_tail() local 191 struct evsel *evsel, *leader; in __perf_evlist__set_leader() local 213 struct evsel *evsel = perf_evsel__new_cycles(precise); in __perf_evlist__add_default() local 229 struct evsel *evsel = perf_evsel__new_idx(&attr, evlist->core.nr_entries); in perf_evlist__add_dummy() local 241 struct evsel *evsel, *n; in evlist__add_attrs() local 276 struct evsel *evsel; in perf_evlist__find_tracepoint_by_id() local 291 struct evsel *evsel; in perf_evlist__find_tracepoint_by_name() local 305 struct evsel *evsel = perf_evsel__newtp(sys, name); in perf_evlist__add_newtp() local [all …]
|
D | evlist.h | 239 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); in evlist__first() local 246 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); in evlist__last() local 263 #define __evlist__for_each_entry(list, evsel) \ argument 271 #define evlist__for_each_entry(evlist, evsel) \ argument 279 #define __evlist__for_each_entry_continue(list, evsel) \ argument 287 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 295 #define __evlist__for_each_entry_reverse(list, evsel) \ argument 303 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument 312 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument 321 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
|
D | record.c | 21 struct evsel *evsel; in perf_do_probe_api() local 85 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier() 90 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec() 95 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch() 142 struct evsel *evsel; in perf_evlist__config() local 266 struct evsel *evsel; in perf_evlist__can_select_event() local
|
D | counts.c | 51 void perf_evsel__reset_counts(struct evsel *evsel) in perf_evsel__reset_counts() 56 int perf_evsel__alloc_counts(struct evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_counts() 62 void perf_evsel__free_counts(struct evsel *evsel) in perf_evsel__free_counts()
|
D | stat-shadow.c | 28 struct evsel *evsel; member 99 static struct saved_value *saved_value_lookup(struct evsel *evsel, in saved_value_lookup() 151 static int evsel_context(struct evsel *evsel) in evsel_context() 427 struct evsel *evsel, double avg, in print_stalled_cycles_frontend() 451 struct evsel *evsel, double avg, in print_stalled_cycles_backend() 471 struct evsel *evsel, in print_branch_misses() 492 struct evsel *evsel, in print_l1_dcache_misses() 514 struct evsel *evsel, in print_l1_icache_misses() 535 struct evsel *evsel, in print_dtlb_cache_misses() 555 struct evsel *evsel, in print_itlb_cache_misses() [all …]
|
/Linux-v5.4/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 = perf_evsel__newtp("sched", "sched_switch"); in test__perf_evsel__tp_sched_test() local
|
/Linux-v5.4/tools/perf/lib/ |
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 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd() 128 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd() 134 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close() 143 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size() 168 int perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread, in perf_evsel__read() [all …]
|
D | evlist.c | 33 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 53 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 60 struct perf_evsel *evsel) in perf_evlist__add() 68 struct perf_evsel *evsel) in perf_evlist__remove() 135 struct perf_evsel *evsel; in perf_evlist__open() local 153 struct perf_evsel *evsel; in perf_evlist__close() local 161 struct perf_evsel *evsel; in perf_evlist__enable() local 169 struct perf_evsel *evsel; in perf_evlist__disable() local 185 struct perf_evsel *evsel, in perf_evlist__id_hash() 198 struct perf_evsel *evsel, in perf_evlist__id_add() [all …]
|
/Linux-v5.4/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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/tools/perf/lib/include/internal/ |
D | evlist.h | 36 #define __perf_evlist__for_each_entry(list, evsel) \ argument 44 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 52 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument 60 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument
|
/Linux-v5.4/tools/perf/arch/arm/util/ |
D | cs-etm.c | 62 struct evsel *evsel, int cpu) in cs_etm_set_context_id() 111 struct evsel *evsel, int cpu) in cs_etm_set_timestamp() 159 struct evsel *evsel, u32 option) in cs_etm_set_option() 215 struct evsel *evsel) in cs_etm_set_sink_attr() 259 struct evsel *evsel, *cs_etm_evsel = NULL; in cs_etm_recording_options() local 442 struct evsel *evsel; in cs_etm_get_config() local 824 struct evsel *evsel; in cs_etm_snapshot_start() local 837 struct evsel *evsel; in cs_etm_snapshot_finish() local 865 struct evsel *evsel; in cs_etm_read_finish() local
|
/Linux-v5.4/tools/perf/lib/tests/ |
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
|
D | test-evlist.c | 21 struct perf_evsel *evsel; in test_stat_cpu() local 76 struct perf_evsel *evsel; in test_stat_thread() local 127 struct perf_evsel *evsel; in test_stat_thread_enable() local
|
/Linux-v5.4/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 perf_evsel__add_sample(struct evsel *evsel, in perf_evsel__add_sample() 264 struct evsel *evsel, in process_sample_event() 300 struct evsel *evsel, in hist_entry__tty_annotate() 310 struct evsel *evsel, in hists__find_annotations()
|
D | builtin-top.c | 109 struct evsel *evsel; in perf_top__parse_source() local 194 struct evsel *evsel, u64 ip) in perf_top__record_precise_ip() 236 struct evsel *evsel; in perf_top__show_details() local 318 struct evsel *evsel = top->sym_evsel; in perf_top__print_sym_table() local 721 struct evsel *evsel = iter->evsel; in hist_iter__top_callback() local 733 struct evsel *evsel, in perf_event__process_sample() 841 struct evsel *evsel) in perf_top__process_lost() 853 struct evsel *evsel) in perf_top__process_lost_samples() 940 struct evsel *evsel; in perf_top__overwrite_check() local 980 struct evsel *evsel) in perf_top_overwrite_fallback() [all …]
|
D | builtin-script.c | 263 static inline struct evsel_script *evsel_script(struct evsel *evsel) in evsel_script() 268 static struct evsel_script *perf_evsel_script__new(struct evsel *evsel, in perf_evsel_script__new() 352 static int perf_evsel__do_check_stype(struct evsel *evsel, in perf_evsel__do_check_stype() 384 static int perf_evsel__check_stype(struct evsel *evsel, in perf_evsel__check_stype() 392 static int perf_evsel__check_attr(struct evsel *evsel, in perf_evsel__check_attr() 519 struct evsel *evsel; in perf_session__check_output_opt() local 626 struct evsel *evsel, in perf_sample__fprintf_start() 1178 struct evsel *evsel, in resolve_branch_sym() 1207 struct evsel *evsel, in perf_sample__fprintf_callindent() 1301 struct evsel *evsel, in perf_sample__fprintf_bts() [all …]
|
D | builtin-inject.c | 226 struct evsel *evsel, in perf_event__repipe_sample() 490 struct evsel *evsel, in perf_inject__sched_switch() 514 struct evsel *evsel, in perf_inject__sched_stat() 546 static int perf_evsel__check_stype(struct evsel *evsel, in perf_evsel__check_stype() 573 struct evsel *evsel; in strip_init() local 581 static bool has_tracking(struct evsel *evsel) in has_tracking() 598 struct evsel *evsel; in ok_to_remove() local 620 struct evsel *evsel, *tmp; in strip_fini() local 656 struct evsel *evsel; in __cmd_inject() local 717 struct evsel *evsel; in __cmd_inject() local
|