/openbmc/linux/tools/perf/util/ |
H A D | evsel.h | 59 struct evsel { struct 60 struct perf_evsel core; argument 69 * Please check evsel__clone() to copy them properly so that argument 72 struct { 117 struct perf_stat_evsel *stats; argument 138 evsel__sb_cb_t *cb; argument 142 * For reporting purposes, an evsel sample can have a callchain argument 148 __u64 synth_sample_type; 163 union { 168 unsigned long open_flags; [all …]
|
H A D | evsel.c | 118 void (*fini)(struct evsel *evsel)) in evsel__object_config() 217 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos() 243 void evsel__set_sample_id(struct evsel *evsel, in evsel__set_sample_id() 273 void evsel__init(struct evsel *evsel, in evsel__init() 358 struct evsel *evsel; in evsel__clone() local 1416 int evsel__enable(struct evsel *evsel) in evsel__enable() 1431 int evsel__disable(struct evsel *evsel) in evsel__disable() 1463 void evsel__exit(struct evsel *evsel) in evsel__exit() 1491 void evsel__delete(struct evsel *evsel) in evsel__delete() 1688 static int update_fds(struct evsel *evsel, in update_fds() [all …]
|
H A D | stat.c | 114 struct evsel *evsel; in evlist__alloc_aggr_stats() local 192 struct evsel *evsel; in evlist__alloc_stats() local 212 struct evsel *evsel; in evlist__free_stats() local 223 struct evsel *evsel; in evlist__reset_stats() local 233 struct evsel *evsel; in evlist__reset_aggr_stats() local 241 struct evsel *evsel; in evlist__reset_prev_raw_counts() local 261 struct evsel *evsel; in evlist__copy_prev_raw_counts() local 280 struct evsel *evsel; in evlist__copy_res_stats() local 593 struct evsel *evsel; in perf_stat_merge_counters() local 664 struct evsel *evsel; in perf_stat_process_percore() local [all …]
|
H A D | bpf_counter.c | 48 static int bpf_program_profiler__destroy(struct evsel *evsel) in bpf_program_profiler__destroy() 362 static int bperf_check_target(struct evsel *evsel, in bperf_check_target() 586 static int bperf_sync_counters(struct evsel *evsel) in bperf_sync_counters() 598 static int bperf__enable(struct evsel *evsel) in bperf__enable() 604 static int bperf__disable(struct evsel *evsel) in bperf__disable() 610 static int bperf__read(struct evsel *evsel) in bperf__read() 670 static int bperf__destroy(struct evsel *evsel) in bperf__destroy() 791 int bpf_counter__enable(struct evsel *evsel) in bpf_counter__enable() 798 int bpf_counter__disable(struct evsel *evsel) in bpf_counter__disable() 805 int bpf_counter__read(struct evsel *evsel) in bpf_counter__read() [all …]
|
H A D | stat-shadow.c | 234 const struct evsel *evsel, in print_branch_miss() 245 const struct evsel *evsel, in print_l1d_miss() 256 const struct evsel *evsel, in print_l1i_miss() 267 const struct evsel *evsel, in print_ll_miss() 278 const struct evsel *evsel, in print_dtlb_miss() 289 const struct evsel *evsel, in print_itlb_miss() 300 const struct evsel *evsel, in print_cache_miss() 311 const struct evsel *evsel, in print_instructions() 545 struct evsel *evsel, in perf_stat__print_metricgroup_header() 592 struct evsel *evsel, in perf_stat__print_shadow_stats_metricgroup() [all …]
|
H A D | perf_api_probe.c | 17 struct evsel *evsel; in perf_do_probe_api() local 82 static void perf_probe_sample_identifier(struct evsel *evsel) in perf_probe_sample_identifier() 87 static void perf_probe_comm_exec(struct evsel *evsel) in perf_probe_comm_exec() 92 static void perf_probe_context_switch(struct evsel *evsel) in perf_probe_context_switch() 97 static void perf_probe_text_poke(struct evsel *evsel) in perf_probe_text_poke() 102 static void perf_probe_build_id(struct evsel *evsel) in perf_probe_build_id() 107 static void perf_probe_cgroup(struct evsel *evsel) in perf_probe_cgroup()
|
H A D | evlist.h | 267 #define __evlist__for_each_entry(list, evsel) \ argument 275 #define evlist__for_each_entry(evlist, evsel) \ argument 283 #define __evlist__for_each_entry_continue(list, evsel) \ argument 291 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 299 #define __evlist__for_each_entry_from(list, evsel) \ argument 307 #define evlist__for_each_entry_from(evlist, evsel) \ argument 315 #define __evlist__for_each_entry_reverse(list, evsel) \ argument 323 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument 332 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument 341 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument [all …]
|
H A D | bpf_counter_cgroup.c | 47 struct evsel *evsel; in bperf_load_program() local 170 static int bperf_cgrp__load(struct evsel *evsel, in bperf_cgrp__load() 211 static int bperf_cgrp__enable(struct evsel *evsel) in bperf_cgrp__enable() 222 static int bperf_cgrp__disable(struct evsel *evsel) in bperf_cgrp__disable() 233 static int bperf_cgrp__read(struct evsel *evsel) in bperf_cgrp__read() 277 static int bperf_cgrp__destroy(struct evsel *evsel) in bperf_cgrp__destroy()
|
H A D | evlist.c | 110 struct evsel *evsel; in evlist__new_default() local 148 struct evsel *evsel; in evlist__update_id_pos() local 362 struct evsel *evsel; in evlist__find_tracepoint_by_id() local 375 struct evsel *evsel; in evlist__find_tracepoint_by_name() local 1090 struct evsel *evsel; in evlist__apply_filters() local 1123 struct evsel *evsel; in evlist__set_tp_filter() local 1143 struct evsel *evsel; in evlist__append_tp_filter() local 1236 struct evsel *evsel; in __evlist__combined_sample_type() local 1255 struct evsel *evsel; in evlist__combined_branch_type() local 1317 struct evsel *evsel; in evlist__close() local [all …]
|
H A D | record.c | 26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() 41 static u64 evsel__config_term_mask(struct evsel *evsel) in evsel__config_term_mask() 53 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling() 97 struct evsel *evsel; in evlist__config() local 224 struct evsel *evsel; in evlist__can_select_event() local
|
H A D | counts.c | 53 void evsel__reset_counts(struct evsel *evsel) in evsel__reset_counts() 58 int evsel__alloc_counts(struct evsel *evsel) in evsel__alloc_counts() 67 void evsel__free_counts(struct evsel *evsel) in evsel__free_counts()
|
/openbmc/linux/tools/perf/tests/ |
H A D | parse-events.c | 100 struct evsel *evsel; in test__checkevent_tracepoint_multi() local 119 struct perf_evsel *evsel; in test__checkevent_raw() local 167 struct perf_evsel *evsel; in test__checkevent_symbolic_name() local 181 struct perf_evsel *evsel; in test__checkevent_symbolic_name_config() local 211 struct perf_evsel *evsel; in test__checkevent_genhw() local 310 struct perf_evsel *evsel; in test__checkevent_tracepoint_multi_modifier() local 327 struct perf_evsel *evsel; in test__checkevent_raw_modifier() local 340 struct perf_evsel *evsel; in test__checkevent_numeric_modifier() local 353 struct perf_evsel *evsel; in test__checkevent_symbolic_name_modifier() local 369 struct perf_evsel *evsel; in test__checkevent_exclude_host_modifier() local [all …]
|
H A 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
|
H A D | hists_output.c | 53 struct evsel *evsel = hists_to_evsel(hists); in add_hist_entries() local 138 static int test1(struct evsel *evsel, struct machine *machine) in test1() 240 static int test2(struct evsel *evsel, struct machine *machine) in test2() 296 static int test3(struct evsel *evsel, struct machine *machine) in test3() 370 static int test4(struct evsel *evsel, struct machine *machine) in test4() 472 static int test5(struct evsel *evsel, struct machine *machine) in test5() 596 struct evsel *evsel; in test__hists_output() local
|
/openbmc/linux/tools/lib/perf/ |
H A D | evsel.c | 33 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() local 41 void perf_evsel__delete(struct perf_evsel *evsel) in perf_evsel__delete() 194 void perf_evsel__close_fd(struct perf_evsel *evsel) in perf_evsel__close_fd() 200 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd() 206 void perf_evsel__close(struct perf_evsel *evsel) in perf_evsel__close() 223 void perf_evsel__munmap(struct perf_evsel *evsel) in perf_evsel__munmap() 245 int perf_evsel__mmap(struct perf_evsel *evsel, int pages) in perf_evsel__mmap() 292 int perf_evsel__read_size(struct perf_evsel *evsel) in perf_evsel__read_size() 462 int perf_evsel__enable(struct perf_evsel *evsel) in perf_evsel__enable() 477 int perf_evsel__disable(struct perf_evsel *evsel) in perf_evsel__disable() [all …]
|
H A D | evlist.c | 83 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 103 struct perf_evsel *evsel) in perf_evlist__remove() 200 struct perf_evsel *evsel; in perf_evlist__open() local 218 struct perf_evsel *evsel; in perf_evlist__close() local 226 struct perf_evsel *evsel; in perf_evlist__enable() local 234 struct perf_evsel *evsel; in perf_evlist__disable() local 330 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() local 460 struct perf_evsel *evsel; in mmap_per_evsel() local 643 struct perf_evsel *evsel; in perf_evlist__mmap_ops() local 711 struct perf_evsel *evsel; in __perf_evlist__set_leader() local [all …]
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 10 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config() 20 static bool test_hybrid_type(const struct evsel *evsel, __u64 expected_config) in test_hybrid_type() 27 struct evsel *evsel = evlist__first(evlist); in test__hybrid_hw_event_with_pmu() local 38 struct evsel *evsel, *leader; in test__hybrid_hw_group_event() local 57 struct evsel *evsel, *leader; in test__hybrid_sw_hw_group_event() local 74 struct evsel *evsel, *leader; in test__hybrid_hw_sw_group_event() local 91 struct evsel *evsel, *leader; in test__hybrid_group_modifier1() local 114 struct perf_evsel *evsel; in test__hybrid_raw1() local 128 struct evsel *evsel = evlist__first(evlist); in test__hybrid_raw2() local 138 struct evsel *evsel = evlist__first(evlist); in test__hybrid_cache_event() local [all …]
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | kvm-stat.c | 30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() 41 static bool mmio_event_begin(struct evsel *evsel, in mmio_event_begin() 58 static bool mmio_event_end(struct evsel *evsel, struct perf_sample *sample, in mmio_event_end() 92 static void ioport_event_get_key(struct evsel *evsel, in ioport_event_get_key() 100 static bool ioport_event_begin(struct evsel *evsel, in ioport_event_begin() 112 static bool ioport_event_end(struct evsel *evsel, in ioport_event_end() 136 static void msr_event_get_key(struct evsel *evsel, in msr_event_get_key() 144 static bool msr_event_begin(struct evsel *evsel, in msr_event_begin() 156 static bool msr_event_end(struct evsel *evsel, in msr_event_end()
|
H A D | evsel.c | 16 void arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight() 22 bool evsel__sys_has_perf_metrics(const struct evsel *evsel) in evsel__sys_has_perf_metrics() 41 bool arch_evsel__must_be_in_group(const struct evsel *evsel) in arch_evsel__must_be_in_group() 50 int arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in arch_evsel__hw_name() 77 void arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) in arch__post_evsel_config() 105 int arch_evsel__open_strerror(struct evsel *evsel, char *msg, size_t size) in arch_evsel__open_strerror()
|
H A D | evlist.c | 28 struct evsel *evsel = evsel__new(attrs + i); in ___evlist__add_default_attrs() local 38 struct evsel *evsel; in ___evlist__add_default_attrs() local 58 struct evsel *evsel, *n; in ___evlist__add_default_attrs() local
|
/openbmc/linux/tools/perf/arch/s390/util/ |
H A D | kvm-stat.c | 26 static void event_icpt_insn_get_key(struct evsel *evsel, in event_icpt_insn_get_key() 37 static void event_sigp_get_key(struct evsel *evsel, in event_sigp_get_key() 45 static void event_diag_get_key(struct evsel *evsel, in event_diag_get_key() 53 static void event_icpt_prog_get_key(struct evsel *evsel, in event_icpt_prog_get_key()
|
/openbmc/linux/tools/lib/perf/include/internal/ |
H A D | evlist.h | 70 #define __perf_evlist__for_each_entry(list, evsel) \ argument 78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 86 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument 94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 103 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument 112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
|
/openbmc/linux/tools/perf/ |
H A D | builtin-kwork.c | 392 struct evsel *evsel, in work_push_atom() 439 struct evsel *evsel, in work_pop_atom() 510 struct evsel *evsel, in report_exit_event() 713 struct evsel *evsel, in timehist_raise_event() 724 struct evsel *evsel, in timehist_entry_event() 795 struct evsel *evsel, in process_irq_handler_exit_event() 826 struct evsel *evsel, in irq_work_init() 974 struct evsel *evsel, in process_workqueue_activate_work_event() 988 struct evsel *evsel, in process_workqueue_execute_start_event() 1036 struct evsel *evsel, in workqueue_work_init() [all …]
|
/openbmc/linux/tools/lib/perf/tests/ |
H A D | test-evsel.c | 23 struct perf_evsel *evsel; in test_stat_cpu() local 57 struct perf_evsel *evsel; in test_stat_thread() local 89 struct perf_evsel *evsel; in test_stat_thread_enable() local 131 struct perf_evsel *evsel; in test_stat_user_read() local 197 struct perf_evsel *evsel; in test_stat_read_format_single() local
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | kvm-stat.c | 24 static void event_get_key(struct evsel *evsel, in event_get_key() 43 static bool event_begin(struct evsel *evsel, in event_begin() 50 static bool event_end(struct evsel *evsel, in event_end()
|