| /tools/perf/tests/ |
| D | parse-events.c | 24 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_tracepoint() local 37 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi() local 55 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_raw() local 65 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_numeric() local 75 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name() local 86 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_name_config() local 107 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_symbolic_alias() local 118 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_genhw() local 128 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint() local 142 struct perf_evsel *evsel = perf_evlist__first(evlist); in test__checkevent_breakpoint_x() local [all …]
|
| D | event-times.c | 17 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__enable_on_exec() local 59 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_disabled() local 85 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_enabled() local 105 struct perf_evsel *evsel = perf_evlist__last(evlist); in detach__disable() local 112 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_disabled() local 141 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_enabled() local 166 struct perf_evsel *evsel; in test_times() local
|
| D | hists_output.c | 52 struct perf_evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 124 static int test1(struct perf_evsel *evsel, struct machine *machine) in test1() 226 static int test2(struct perf_evsel *evsel, struct machine *machine) in test2() 282 static int test3(struct perf_evsel *evsel, struct machine *machine) in test3() 356 static int test4(struct perf_evsel *evsel, struct machine *machine) in test4() 458 static int test5(struct perf_evsel *evsel, struct machine *machine) in test5() 582 struct perf_evsel *evsel; in test__hists_output() local
|
| D | evsel-tp-sched.c | 8 static int perf_evsel__test_field(struct perf_evsel *evsel, const char *name, in perf_evsel__test_field() 38 struct perf_evsel *evsel = perf_evsel__newtp("sched", "sched_switch"); in test__perf_evsel__tp_sched_test() local
|
| D | hists_cumulate.c | 82 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() 696 struct perf_evsel *evsel; in test__hists_cumulate() local
|
| D | evsel-roundtrip-name.c | 14 struct perf_evsel *evsel; in perf_evsel__roundtrip_cache_name_test() local 70 struct perf_evsel *evsel; in __perf_evsel__name_array_test() local
|
| D | hists_filter.c | 52 struct perf_evsel *evsel; in add_hist_entries() local 110 struct perf_evsel *evsel; in test__hists_filter() local
|
| /tools/perf/util/ |
| D | evsel.c | 79 int (*init)(struct perf_evsel *evsel), in perf_evsel__object_config() 80 void (*fini)(struct perf_evsel *evsel)) in perf_evsel__object_config() 179 void perf_evsel__calc_id_pos(struct perf_evsel *evsel) in perf_evsel__calc_id_pos() 185 void __perf_evsel__set_sample_bit(struct perf_evsel *evsel, in __perf_evsel__set_sample_bit() 195 void __perf_evsel__reset_sample_bit(struct perf_evsel *evsel, in __perf_evsel__reset_sample_bit() 205 void perf_evsel__set_sample_id(struct perf_evsel *evsel, in perf_evsel__set_sample_id() 225 bool perf_evsel__is_function_event(struct perf_evsel *evsel) in perf_evsel__is_function_event() 235 void perf_evsel__init(struct perf_evsel *evsel, in perf_evsel__init() 260 struct perf_evsel *evsel = zalloc(perf_evsel__object.size); in perf_evsel__new_idx() local 287 struct perf_evsel *evsel; in perf_evsel__new_cycles() local [all …]
|
| D | stat.c | 70 bool __perf_evsel_stat__is(struct perf_evsel *evsel, in __perf_evsel_stat__is() 95 void perf_stat_evsel_id_init(struct perf_evsel *evsel) in perf_stat_evsel_id_init() 110 static void perf_evsel__reset_stat_priv(struct perf_evsel *evsel) in perf_evsel__reset_stat_priv() 121 static int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel) in perf_evsel__alloc_stat_priv() 130 static void perf_evsel__free_stat_priv(struct perf_evsel *evsel) in perf_evsel__free_stat_priv() 139 static int perf_evsel__alloc_prev_raw_counts(struct perf_evsel *evsel, in perf_evsel__alloc_prev_raw_counts() 151 static void perf_evsel__free_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__free_prev_raw_counts() 157 static void perf_evsel__reset_prev_raw_counts(struct perf_evsel *evsel) in perf_evsel__reset_prev_raw_counts() 166 static int perf_evsel__alloc_stats(struct perf_evsel *evsel, bool alloc_raw) in perf_evsel__alloc_stats() 181 struct perf_evsel *evsel; in perf_evlist__alloc_stats() local [all …]
|
| D | evlist.c | 107 struct perf_evsel *evsel; in perf_evlist__update_id_pos() local 152 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 172 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 191 void perf_evlist__remove(struct perf_evlist *evlist, struct perf_evsel *evsel) in perf_evlist__remove() 201 struct perf_evsel *evsel, *temp; in perf_evlist__splice_list_tail() local 211 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader() local 247 struct perf_evsel *evsel = perf_evsel__new_cycles(precise); in __perf_evlist__add_default() local 263 struct perf_evsel *evsel = perf_evsel__new(&attr); in perf_evlist__add_dummy() local 275 struct perf_evsel *evsel, *n; in perf_evlist__add_attrs() local 310 struct perf_evsel *evsel; in perf_evlist__find_tracepoint_by_id() local [all …]
|
| D | record.c | 16 struct perf_evsel *evsel; in perf_do_probe_api() local 80 static void perf_probe_sample_identifier(struct perf_evsel *evsel) in perf_probe_sample_identifier() 85 static void perf_probe_comm_exec(struct perf_evsel *evsel) in perf_probe_comm_exec() 90 static void perf_probe_context_switch(struct perf_evsel *evsel) in perf_probe_context_switch() 137 struct perf_evsel *evsel; in perf_evlist__config() local 247 struct perf_evsel *evsel; in perf_evlist__can_select_event() local
|
| D | evsel.h | 24 struct perf_evsel *evsel; member 154 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus() 159 static inline int perf_evsel__nr_cpus(struct perf_evsel *evsel) in perf_evsel__nr_cpus() 239 #define perf_evsel__set_sample_bit(evsel, bit) \ argument 242 #define perf_evsel__reset_sample_bit(evsel, bit) \ argument 271 static inline char *perf_evsel__strval(struct perf_evsel *evsel, in perf_evsel__strval() 284 #define perf_evsel__match(evsel, t, c) \ argument 316 static inline int perf_evsel__read_on_cpu(struct perf_evsel *evsel, in perf_evsel__read_on_cpu() 329 static inline int perf_evsel__read_on_cpu_scaled(struct perf_evsel *evsel, in perf_evsel__read_on_cpu_scaled() 338 static inline struct perf_evsel *perf_evsel__next(struct perf_evsel *evsel) in perf_evsel__next() [all …]
|
| D | counts.c | 40 void perf_evsel__reset_counts(struct perf_evsel *evsel) in perf_evsel__reset_counts() 45 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_counts() 51 void perf_evsel__free_counts(struct perf_evsel *evsel) in perf_evsel__free_counts()
|
| D | evlist.h | 317 #define __evlist__for_each_entry(list, evsel) \ argument 325 #define evlist__for_each_entry(evlist, evsel) \ argument 333 #define __evlist__for_each_entry_continue(list, evsel) \ argument 341 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 349 #define __evlist__for_each_entry_reverse(list, evsel) \ argument 357 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument 366 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument 375 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
|
| D | stat-shadow.c | 57 struct perf_evsel *evsel; member 92 static struct saved_value *saved_value_lookup(struct perf_evsel *evsel, in saved_value_lookup() 123 static int evsel_context(struct perf_evsel *evsel) in evsel_context() 359 struct perf_evsel *evsel, double avg, in print_stalled_cycles_frontend() 381 struct perf_evsel *evsel, double avg, in print_stalled_cycles_backend() 399 struct perf_evsel *evsel, in print_branch_misses() 418 struct perf_evsel *evsel, in print_l1_dcache_misses() 437 struct perf_evsel *evsel, in print_l1_icache_misses() 455 struct perf_evsel *evsel, in print_dtlb_cache_misses() 473 struct perf_evsel *evsel, in print_itlb_cache_misses() [all …]
|
| D | drv_configs.c | 23 perf_evsel__apply_drv_configs(struct perf_evsel *evsel, in perf_evsel__apply_drv_configs() 66 struct perf_evsel *evsel; in perf_evlist__apply_drv_configs() local
|
| /tools/perf/arch/x86/util/ |
| D | kvm-stat.c | 29 static void mmio_event_get_key(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() 40 static bool mmio_event_begin(struct perf_evsel *evsel, in mmio_event_begin() 57 static bool mmio_event_end(struct perf_evsel *evsel, struct perf_sample *sample, in mmio_event_end() 91 static void ioport_event_get_key(struct perf_evsel *evsel, in ioport_event_get_key() 99 static bool ioport_event_begin(struct perf_evsel *evsel, in ioport_event_begin() 111 static bool ioport_event_end(struct perf_evsel *evsel, in ioport_event_end()
|
| /tools/perf/arch/s390/util/ |
| D | kvm-stat.c | 28 static void event_icpt_insn_get_key(struct perf_evsel *evsel, in event_icpt_insn_get_key() 39 static void event_sigp_get_key(struct perf_evsel *evsel, in event_sigp_get_key() 47 static void event_diag_get_key(struct perf_evsel *evsel, in event_diag_get_key() 55 static void event_icpt_prog_get_key(struct perf_evsel *evsel, in event_icpt_prog_get_key()
|
| /tools/perf/ |
| D | builtin-inject.c | 225 struct perf_evsel *evsel, in perf_event__repipe_sample() 493 struct perf_evsel *evsel, in perf_inject__sched_switch() 517 struct perf_evsel *evsel, in perf_inject__sched_stat() 550 static int perf_evsel__check_stype(struct perf_evsel *evsel, in perf_evsel__check_stype() 577 struct perf_evsel *evsel; in strip_init() local 585 static bool has_tracking(struct perf_evsel *evsel) in has_tracking() 602 struct perf_evsel *evsel; in ok_to_remove() local 624 struct perf_evsel *evsel, *tmp; in strip_fini() local 660 struct perf_evsel *evsel; in __cmd_inject() local 721 struct perf_evsel *evsel; in __cmd_inject() local
|
| D | builtin-annotate.c | 149 static int perf_evsel__add_sample(struct perf_evsel *evsel, in perf_evsel__add_sample() 193 struct perf_evsel *evsel, in process_sample_event() 220 struct perf_evsel *evsel, in hist_entry__tty_annotate() 228 struct perf_evsel *evsel, in hists__find_annotations()
|
| D | builtin-timechart.c | 561 struct perf_evsel *evsel, in process_sample_event() 584 struct perf_evsel *evsel, in process_sample_cpu_idle() 600 struct perf_evsel *evsel, in process_sample_cpu_frequency() 613 struct perf_evsel *evsel, in process_sample_sched_wakeup() 627 struct perf_evsel *evsel, in process_sample_sched_switch() 643 struct perf_evsel *evsel, in process_sample_power_start() 666 struct perf_evsel *evsel, in process_sample_power_frequency() 849 struct perf_evsel *evsel, in process_enter_read() 859 struct perf_evsel *evsel, in process_exit_read() 869 struct perf_evsel *evsel, in process_enter_write() [all …]
|
| D | builtin-lock.c | 399 static int report_lock_acquire_event(struct perf_evsel *evsel, in report_lock_acquire_event() 471 static int report_lock_acquired_event(struct perf_evsel *evsel, in report_lock_acquired_event() 534 static int report_lock_contended_event(struct perf_evsel *evsel, in report_lock_contended_event() 589 static int report_lock_release_event(struct perf_evsel *evsel, in report_lock_release_event() 659 static int perf_evsel__process_lock_acquire(struct perf_evsel *evsel, in perf_evsel__process_lock_acquire() 667 static int perf_evsel__process_lock_acquired(struct perf_evsel *evsel, in perf_evsel__process_lock_acquired() 675 static int perf_evsel__process_lock_contended(struct perf_evsel *evsel, in perf_evsel__process_lock_contended() 683 static int perf_evsel__process_lock_release(struct perf_evsel *evsel, in perf_evsel__process_lock_release() 815 struct perf_evsel *evsel, in process_sample_event()
|
| D | builtin-trace.c | 201 static int perf_evsel__init_tp_uint_field(struct perf_evsel *evsel, in perf_evsel__init_tp_uint_field() 213 #define perf_evsel__init_sc_tp_uint_field(evsel, name) \ argument 217 static int perf_evsel__init_tp_ptr_field(struct perf_evsel *evsel, in perf_evsel__init_tp_ptr_field() 229 #define perf_evsel__init_sc_tp_ptr_field(evsel, name) \ argument 233 static void perf_evsel__delete_priv(struct perf_evsel *evsel) in perf_evsel__delete_priv() 239 static int perf_evsel__init_syscall_tp(struct perf_evsel *evsel, void *handler) in perf_evsel__init_syscall_tp() 259 struct perf_evsel *evsel = perf_evsel__newtp("raw_syscalls", direction); in perf_evsel__syscall_newtp() local 278 #define perf_evsel__sc_tp_uint(evsel, name, sample) \ argument 282 #define perf_evsel__sc_tp_ptr(evsel, name, sample) \ argument 1461 struct perf_evsel *evsel, int id) in trace__syscall_info() [all …]
|
| /tools/perf/arch/powerpc/util/ |
| D | kvm-stat.c | 33 static void hcall_event_get_key(struct perf_evsel *evsel, in hcall_event_get_key() 56 static bool hcall_event_end(struct perf_evsel *evsel, in hcall_event_end() 63 static bool hcall_event_begin(struct perf_evsel *evsel, in hcall_event_begin()
|
| /tools/perf/util/scripting-engines/ |
| D | trace-event-perl.c | 259 struct perf_evsel *evsel, in perl_process_callchain() 337 struct perf_evsel *evsel, in perl_process_tracepoint() 432 struct perf_evsel *evsel) in perl_process_event_generic() 456 struct perf_evsel *evsel, in perl_process_event()
|