/tools/perf/tests/ |
D | parse-events.c | 17 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_tracepoint() local 30 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi() local 48 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_raw() local 58 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_numeric() local 68 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name() local 79 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name_config() local 100 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_alias() local 111 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_genhw() local 121 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint() local 135 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint_x() local [all …]
|
D | hists_output.c | 49 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 126 static int test1(struct perf_evsel *evsel, struct machine *machine) in test1() 228 static int test2(struct perf_evsel *evsel, struct machine *machine) in test2() 284 static int test3(struct perf_evsel *evsel, struct machine *machine) in test3() 358 static int test4(struct perf_evsel *evsel, struct machine *machine) in test4() 460 static int test5(struct perf_evsel *evsel, struct machine *machine) in test5() 584 struct perf_evsel *evsel; in test__hists_output() local
|
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() local
|
D | evsel-roundtrip-name.c | 11 struct perf_evsel *evsel; in perf_evsel__roundtrip_cache_name_test() local 67 struct perf_evsel *evsel; in __perf_evsel__name_array_test() local
|
D | hists_cumulate.c | 79 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 249 static int test1(struct perf_evsel *evsel, struct machine *machine) in test1() 300 static int test2(struct perf_evsel *evsel, struct machine *machine) in test2() 448 static int test3(struct perf_evsel *evsel, struct machine *machine) in test3() 505 static int test4(struct perf_evsel *evsel, struct machine *machine) in test4() 694 struct perf_evsel *evsel; in test__hists_cumulate() local
|
D | hists_filter.c | 49 struct perf_evsel *evsel; in add_hist_entries() local 112 struct perf_evsel *evsel; in test__hists_filter() local
|
D | openat-syscall.c | 11 struct perf_evsel *evsel; in test__openat_syscall_event() local
|
D | openat-syscall-all-cpus.c | 14 struct perf_evsel *evsel; in test__openat_syscall_event_on_all_cpus() local
|
/tools/perf/util/ |
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() local 174 struct perf_evsel *evsel; in perf_evlist__free_stats() local [all …]
|
D | evsel.c | 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() 189 void perf_evsel__set_sample_id(struct perf_evsel *evsel, in perf_evsel__set_sample_id() 201 void perf_evsel__init(struct perf_evsel *evsel, in perf_evsel__init() 222 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__new_idx() local 235 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__newtp_idx() local 292 static int perf_evsel__add_modifiers(struct perf_evsel *evsel, char *bf, size_t size) in perf_evsel__add_modifiers() [all …]
|
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.h | 23 struct perf_evsel *evsel; member 139 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus() 144 static inline int perf_evsel__nr_cpus(struct perf_evsel *evsel) in perf_evsel__nr_cpus() 216 #define perf_evsel__set_sample_bit(evsel, bit) \ argument 219 #define perf_evsel__reset_sample_bit(evsel, bit) \ argument 247 static inline char *perf_evsel__strval(struct perf_evsel *evsel, in perf_evsel__strval() 258 #define perf_evsel__match(evsel, t, c) \ argument 288 static inline int perf_evsel__read_on_cpu(struct perf_evsel *evsel, in perf_evsel__read_on_cpu() 301 static inline int perf_evsel__read_on_cpu_scaled(struct perf_evsel *evsel, in perf_evsel__read_on_cpu_scaled() 310 static inline struct perf_evsel *perf_evsel__next(struct perf_evsel *evsel) in perf_evsel__next() [all …]
|
D | record.c | 14 struct perf_evsel *evsel; in perf_do_probe_api() local 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() local 244 struct perf_evsel *evsel; in perf_evlist__can_select_event() local
|
D | evlist.c | 88 struct perf_evsel *evsel; in perf_evlist__update_id_pos() local 129 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 149 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 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() local 188 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader() local 228 struct perf_evsel *evsel; in perf_evlist__add_default() local 254 struct perf_evsel *evsel, *n; in perf_evlist__add_attrs() local 289 struct perf_evsel *evsel; in perf_evlist__find_tracepoint_by_id() local 304 struct perf_evsel *evsel; in perf_evlist__find_tracepoint_by_name() local [all …]
|
D | evlist.h | 230 #define __evlist__for_each(list, evsel) \ argument 238 #define evlist__for_each(evlist, evsel) \ argument 246 #define __evlist__for_each_continue(list, evsel) \ argument 254 #define evlist__for_each_continue(evlist, evsel) \ argument 262 #define __evlist__for_each_reverse(list, evsel) \ argument 270 #define evlist__for_each_reverse(evlist, evsel) \ argument 279 #define __evlist__for_each_safe(list, tmp, evsel) \ argument 288 #define evlist__for_each_safe(evlist, tmp, evsel) \ argument
|
/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()
|
D | auxtrace.c | 32 struct perf_evsel *evsel; in auxtrace_record__init_intel() local
|
/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/ |
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()
|
D | builtin-inject.c | 211 struct perf_evsel *evsel, in perf_event__repipe_sample() 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() 504 struct perf_evsel *evsel; in strip_init() local 512 static bool has_tracking(struct perf_evsel *evsel) in has_tracking() 529 struct perf_evsel *evsel; in ok_to_remove() local 551 struct perf_evsel *evsel, *tmp; in strip_fini() local 587 struct perf_evsel *evsel; in __cmd_inject() local 641 struct perf_evsel *evsel; in __cmd_inject() local
|
D | builtin-timechart.c | 557 struct perf_evsel *evsel, in process_sample_event() 580 struct perf_evsel *evsel, in process_sample_cpu_idle() 596 struct perf_evsel *evsel, in process_sample_cpu_frequency() 609 struct perf_evsel *evsel, in process_sample_sched_wakeup() 623 struct perf_evsel *evsel, in process_sample_sched_switch() 639 struct perf_evsel *evsel, in process_sample_power_start() 662 struct perf_evsel *evsel, in process_sample_power_frequency() 845 struct perf_evsel *evsel, in process_enter_read() 855 struct perf_evsel *evsel, in process_exit_read() 865 struct perf_evsel *evsel, in process_enter_write() [all …]
|
D | builtin-lock.c | 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() 671 static int perf_evsel__process_lock_contended(struct perf_evsel *evsel, in perf_evsel__process_lock_contended() 679 static int perf_evsel__process_lock_release(struct perf_evsel *evsel, in perf_evsel__process_lock_release() 811 struct perf_evsel *evsel, in process_sample_event()
|
D | builtin-script.c | 161 static int perf_evsel__do_check_stype(struct perf_evsel *evsel, in perf_evsel__do_check_stype() 193 static int perf_evsel__check_stype(struct perf_evsel *evsel, in perf_evsel__check_stype() 201 static int perf_evsel__check_attr(struct perf_evsel *evsel, in perf_evsel__check_attr() 304 struct perf_evsel *evsel; in perf_session__check_output_opt() local 390 struct perf_evsel *evsel) in print_sample_start() 534 struct perf_evsel *evsel, in print_sample_bts() 592 struct perf_evsel *evsel, struct addr_location *al) in process_event() 702 struct perf_evsel *evsel, in process_sample_event() 749 struct perf_evsel *evsel, *pos; in process_attr() local 783 struct perf_evsel *evsel = perf_evlist__id2evsel(session->evlist, sample->id); in process_comm_event() local [all …]
|
/tools/perf/ui/gtk/ |
D | annotate.c | 89 struct map *map, struct perf_evsel *evsel, in perf_gtk__annotate_symbol() 158 struct perf_evsel *evsel, in symbol__gtk_annotate() 230 struct perf_evsel *evsel, in hist_entry__gtk_annotate()
|
/tools/perf/util/scripting-engines/ |
D | trace-event-perl.c | 249 struct perf_evsel *evsel, in perl_process_tracepoint() 339 struct perf_evsel *evsel) in perl_process_event_generic() 363 struct perf_evsel *evsel, in perl_process_event()
|