/tools/perf/util/ |
D | evsel.h | 14 struct perf_evsel; 23 struct perf_evsel *evsel; 79 struct perf_evsel { struct 122 struct perf_evsel *leader; argument 139 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus() argument 144 static inline int perf_evsel__nr_cpus(struct perf_evsel *evsel) in perf_evsel__nr_cpus() 152 void perf_evsel__compute_deltas(struct perf_evsel *evsel, int cpu, int thread, 156 int (*init)(struct perf_evsel *evsel), 157 void (*fini)(struct perf_evsel *evsel)); 159 struct perf_evsel *perf_evsel__new_idx(struct perf_event_attr *attr, int idx); [all …]
|
D | stat.h | 58 struct perf_evsel; 61 bool __perf_evsel_stat__is(struct perf_evsel *evsel, 67 void perf_stat_evsel_id_init(struct perf_evsel *evsel); 72 void perf_stat__update_shadow_stats(struct perf_evsel *counter, u64 *count, 74 void perf_stat__print_shadow_stats(FILE *out, struct perf_evsel *evsel, 77 void perf_evsel__reset_stat_priv(struct perf_evsel *evsel); 78 int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel); 79 void perf_evsel__free_stat_priv(struct perf_evsel *evsel); 81 int perf_evsel__alloc_prev_raw_counts(struct perf_evsel *evsel, 83 void perf_evsel__free_prev_raw_counts(struct perf_evsel *evsel); [all …]
|
D | evlist.h | 58 struct perf_evsel *selected; 75 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry); 76 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel); 91 struct perf_evsel * 94 struct perf_evsel * 98 void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, 107 struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id); 108 struct perf_evsel *perf_evlist__id2evsel_strict(struct perf_evlist *evlist, 153 struct perf_evsel *evsel); 155 struct perf_evsel *evsel); [all …]
|
D | kvm-stat.h | 46 void (*get_key)(struct perf_evsel *evsel, 53 bool (*is_begin_event)(struct perf_evsel *evsel, 56 bool (*is_end_event)(struct perf_evsel *evsel, 110 void exit_event_get_key(struct perf_evsel *evsel, 113 bool exit_event_begin(struct perf_evsel *evsel, 116 bool exit_event_end(struct perf_evsel *evsel, 123 bool kvm_exit_event(struct perf_evsel *evsel); 124 bool kvm_entry_event(struct perf_evsel *evsel);
|
D | stat.c | 67 bool __perf_evsel_stat__is(struct perf_evsel *evsel, in __perf_evsel_stat__is() 85 void perf_stat_evsel_id_init(struct perf_evsel *evsel) in perf_stat_evsel_id_init() 100 void perf_evsel__reset_stat_priv(struct perf_evsel *evsel) in perf_evsel__reset_stat_priv() 111 int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel) in perf_evsel__alloc_stat_priv() 120 void perf_evsel__free_stat_priv(struct perf_evsel *evsel) in perf_evsel__free_stat_priv() 125 int perf_evsel__alloc_prev_raw_counts(struct perf_evsel *evsel, in perf_evsel__alloc_prev_raw_counts() 137 void perf_evsel__free_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__free_prev_raw_counts() 143 int perf_evsel__alloc_stats(struct perf_evsel *evsel, bool alloc_raw) in perf_evsel__alloc_stats() 158 struct perf_evsel *evsel; in perf_evlist__alloc_stats() 174 struct perf_evsel *evsel; in perf_evlist__free_stats() [all …]
|
D | evlist.c | 80 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__set_id_pos() 88 struct perf_evsel *evsel; in perf_evlist__update_id_pos() 98 struct perf_evsel *pos, *n; in perf_evlist__purge() 129 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 149 struct perf_evsel *evsel; in perf_evlist__propagate_maps() 155 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry) in perf_evlist__add() 168 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel) in perf_evlist__remove() 178 struct perf_evsel *evsel, *temp; in perf_evlist__splice_list_tail() 188 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader() 190 leader = list_entry(list->next, struct perf_evsel, node); in __perf_evlist__set_leader() [all …]
|
D | counts.h | 33 void perf_evsel__reset_counts(struct perf_evsel *evsel); 34 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads); 35 void perf_evsel__free_counts(struct perf_evsel *evsel);
|
D | record.c | 9 typedef void (*setup_probe_fn_t)(struct perf_evsel *evsel); 14 struct perf_evsel *evsel; in perf_do_probe_api() 78 static void perf_probe_sample_identifier(struct perf_evsel *evsel) in perf_probe_sample_identifier() 83 static void perf_probe_comm_exec(struct perf_evsel *evsel) in perf_probe_comm_exec() 88 static void perf_probe_context_switch(struct perf_evsel *evsel) in perf_probe_context_switch() 134 struct perf_evsel *evsel; in perf_evlist__config() 166 struct perf_evsel *first = perf_evlist__first(evlist); in perf_evlist__config() 244 struct perf_evsel *evsel; in perf_evlist__can_select_event()
|
D | counts.c | 37 void perf_evsel__reset_counts(struct perf_evsel *evsel) in perf_evsel__reset_counts() 42 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_counts() 48 void perf_evsel__free_counts(struct perf_evsel *evsel) in perf_evsel__free_counts()
|
D | evsel.c | 43 static int perf_evsel__no_extra_init(struct perf_evsel *evsel __maybe_unused) in perf_evsel__no_extra_init() 48 static void perf_evsel__no_extra_fini(struct perf_evsel *evsel __maybe_unused) in perf_evsel__no_extra_fini() 54 int (*init)(struct perf_evsel *evsel); 55 void (*fini)(struct perf_evsel *evsel); 57 .size = sizeof(struct perf_evsel), 63 int (*init)(struct perf_evsel *evsel), in perf_evsel__object_config() 64 void (*fini)(struct perf_evsel *evsel)) in perf_evsel__object_config() 163 void perf_evsel__calc_id_pos(struct perf_evsel *evsel) in perf_evsel__calc_id_pos() 169 void __perf_evsel__set_sample_bit(struct perf_evsel *evsel, in __perf_evsel__set_sample_bit() 179 void __perf_evsel__reset_sample_bit(struct perf_evsel *evsel, in __perf_evsel__reset_sample_bit() [all …]
|
D | db-export.h | 22 struct perf_evsel; 36 struct perf_evsel *evsel; 49 int (*export_evsel)(struct db_export *dbe, struct perf_evsel *evsel); 83 int db_export__evsel(struct db_export *dbe, struct perf_evsel *evsel); 98 struct perf_sample *sample, struct perf_evsel *evsel,
|
D | hist.h | 95 struct perf_evsel *evsel; 169 struct perf_evsel evsel; 173 static inline struct perf_evsel *hists_to_evsel(struct hists *hists) in hists_to_evsel() 179 static inline struct hists *evsel__hists(struct perf_evsel *evsel) in evsel__hists() 197 struct perf_evsel *evsel); 199 struct perf_evsel *evsel); 312 int map_symbol__tui_annotate(struct map_symbol *ms, struct perf_evsel *evsel, 315 int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel, 334 struct perf_evsel *evsel __maybe_unused, in map_symbol__tui_annotate() 341 struct perf_evsel *evsel __maybe_unused, in hist_entry__tui_annotate()
|
D | top.h | 11 struct perf_evsel; 34 struct perf_evsel *sym_evsel;
|
D | stat-shadow.c | 34 static int evsel_context(struct perf_evsel *evsel) in evsel_context() 78 void perf_stat__update_shadow_stats(struct perf_evsel *counter, u64 *count, in perf_stat__update_shadow_stats() 141 struct perf_evsel *evsel in print_stalled_cycles_frontend() 161 struct perf_evsel *evsel in print_stalled_cycles_backend() 181 struct perf_evsel *evsel __maybe_unused, in print_branch_misses() 201 struct perf_evsel *evsel __maybe_unused, in print_l1_dcache_misses() 221 struct perf_evsel *evsel __maybe_unused, in print_l1_icache_misses() 241 struct perf_evsel *evsel __maybe_unused, in print_dtlb_cache_misses() 261 struct perf_evsel *evsel __maybe_unused, in print_itlb_cache_misses() 281 struct perf_evsel *evsel __maybe_unused, in print_ll_cache_misses() [all …]
|
D | annotate.h | 163 struct perf_evsel *evsel, bool full_paths, 172 struct perf_evsel *evsel, bool print_lines, 177 struct perf_evsel *evsel, 182 struct perf_evsel *evsel __maybe_unused, in symbol__tui_annotate()
|
D | tool.h | 11 struct perf_evsel; 19 struct perf_evsel *evsel, struct machine *machine);
|
D | session.h | 66 struct perf_evsel *evsel, 103 struct perf_evsel *perf_session__find_first_evtype(struct perf_session *session, 106 void perf_evsel__print_ip(struct perf_evsel *evsel, struct perf_sample *sample,
|
/tools/perf/arch/x86/util/ |
D | kvm-stat.c | 19 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() 30 static bool mmio_event_begin(struct perf_evsel *evsel, in mmio_event_begin() 47 static bool mmio_event_end(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_end() 81 static void ioport_event_get_key(struct perf_evsel *evsel, in ioport_event_get_key() 89 static bool ioport_event_begin(struct perf_evsel *evsel, in ioport_event_begin() 101 static bool ioport_event_end(struct perf_evsel *evsel, in ioport_event_end()
|
/tools/perf/arch/s390/util/ |
D | kvm-stat.c | 21 static void event_icpt_insn_get_key(struct perf_evsel *evsel, in event_icpt_insn_get_key() 32 static void event_sigp_get_key(struct perf_evsel *evsel, in event_sigp_get_key() 40 static void event_diag_get_key(struct perf_evsel *evsel, in event_diag_get_key() 48 static void event_icpt_prog_get_key(struct perf_evsel *evsel, in event_icpt_prog_get_key()
|
/tools/perf/tests/ |
D | parse-events.c | 17 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_tracepoint() 30 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi() 48 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_raw() 58 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_numeric() 68 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name() 79 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name_config() 100 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_alias() 111 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_genhw() 121 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint() 135 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint_x() [all …]
|
D | evsel-tp-sched.c | 7 static int perf_evsel__test_field(struct perf_evsel *evsel, const char *name, in perf_evsel__test_field() 37 struct perf_evsel *evsel = perf_evsel__newtp("sched", "sched_switch"); in test__perf_evsel__tp_sched_test()
|
/tools/perf/ |
D | builtin-inject.c | 205 struct perf_evsel *evsel, 211 struct perf_evsel *evsel, in perf_event__repipe_sample() 354 struct perf_evsel *evsel __maybe_unused, in perf_event__inject_buildid() 400 struct perf_evsel *evsel __maybe_unused, in perf_inject__sched_process_exit() 420 struct perf_evsel *evsel, in perf_inject__sched_switch() 444 struct perf_evsel *evsel, in perf_inject__sched_stat() 477 static int perf_evsel__check_stype(struct perf_evsel *evsel, in perf_evsel__check_stype() 495 struct perf_evsel *evsel __maybe_unused, in drop_sample() 504 struct perf_evsel *evsel; in strip_init() 512 static bool has_tracking(struct perf_evsel *evsel) in has_tracking() [all …]
|
D | builtin-lock.c | 346 int (*acquire_event)(struct perf_evsel *evsel, 349 int (*acquired_event)(struct perf_evsel *evsel, 352 int (*contended_event)(struct perf_evsel *evsel, 355 int (*release_event)(struct perf_evsel *evsel, 395 static int report_lock_acquire_event(struct perf_evsel *evsel, in report_lock_acquire_event() 467 static int report_lock_acquired_event(struct perf_evsel *evsel, in report_lock_acquired_event() 530 static int report_lock_contended_event(struct perf_evsel *evsel, in report_lock_contended_event() 585 static int report_lock_release_event(struct perf_evsel *evsel, in report_lock_release_event() 655 static int perf_evsel__process_lock_acquire(struct perf_evsel *evsel, in perf_evsel__process_lock_acquire() 663 static int perf_evsel__process_lock_acquired(struct perf_evsel *evsel, in perf_evsel__process_lock_acquired() [all …]
|
D | builtin-annotate.c | 49 static int perf_evsel__add_sample(struct perf_evsel *evsel, in perf_evsel__add_sample() 87 struct perf_evsel *evsel, in process_sample_event() 114 struct perf_evsel *evsel, in hist_entry__tty_annotate() 122 struct perf_evsel *evsel, in hists__find_annotations() 148 struct perf_evsel *evsel, in hists__find_annotations() 201 struct perf_evsel *pos; in __cmd_annotate()
|
/tools/perf/ui/gtk/ |
D | gtk.h | 54 struct perf_evsel; 63 struct perf_evsel *evsel,
|