/linux-6.3-rc2/tools/perf/util/ |
A D | evsel.h | 58 struct evsel { struct 59 struct perf_evsel core; argument 68 * Please check evsel__clone() to copy them properly so that argument 71 struct { 115 struct perf_stat_evsel *stats; argument 139 * For reporting purposes, an evsel sample can have a callchain argument 145 __u64 synth_sample_type; 160 union { 164 unsigned long open_flags; 165 int precise_ip_original; [all …]
|
A D | evsel.c | 116 void (*fini)(struct evsel *evsel)) in evsel__object_config() 215 void evsel__calc_id_pos(struct evsel *evsel) in evsel__calc_id_pos() 271 void evsel__init(struct evsel *evsel, in evsel__init() 329 struct evsel *evsel; in evsel__new_cycles() local 395 struct evsel *evsel; in evsel__clone() local 1445 int evsel__enable(struct evsel *evsel) in evsel__enable() 1460 int evsel__disable(struct evsel *evsel) in evsel__disable() 1492 void evsel__exit(struct evsel *evsel) in evsel__exit() 1517 void evsel__delete(struct evsel *evsel) in evsel__delete() 1707 static int update_fds(struct evsel *evsel, in update_fds() [all …]
|
A D | stat.c | 163 struct evsel *evsel; in evlist__alloc_aggr_stats() local 242 struct evsel *evsel; in evlist__alloc_stats() local 262 struct evsel *evsel; in evlist__free_stats() local 273 struct evsel *evsel; in evlist__reset_stats() local 283 struct evsel *evsel; in evlist__reset_aggr_stats() local 291 struct evsel *evsel; in evlist__reset_prev_raw_counts() local 311 struct evsel *evsel; in evlist__copy_prev_raw_counts() local 621 struct evsel *evsel; in perf_stat_merge_counters() local 692 struct evsel *evsel; in perf_stat_process_percore() local 719 struct evsel *evsel; in perf_stat_process_shadow_stats() local [all …]
|
A D | bpf_counter.c | 48 static int bpf_program_profiler__destroy(struct evsel *evsel) in bpf_program_profiler__destroy() 380 static int bperf_check_target(struct evsel *evsel, in bperf_check_target() 604 static int bperf_sync_counters(struct evsel *evsel) in bperf_sync_counters() 616 static int bperf__enable(struct evsel *evsel) in bperf__enable() 622 static int bperf__disable(struct evsel *evsel) in bperf__disable() 628 static int bperf__read(struct evsel *evsel) in bperf__read() 688 static int bperf__destroy(struct evsel *evsel) in bperf__destroy() 810 int bpf_counter__enable(struct evsel *evsel) in bpf_counter__enable() 817 int bpf_counter__disable(struct evsel *evsel) in bpf_counter__disable() 824 int bpf_counter__read(struct evsel *evsel) in bpf_counter__read() [all …]
|
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()
|
A D | evlist.h | 269 #define __evlist__for_each_entry(list, evsel) \ argument 277 #define evlist__for_each_entry(evlist, evsel) \ argument 285 #define __evlist__for_each_entry_continue(list, evsel) \ argument 293 #define evlist__for_each_entry_continue(evlist, evsel) \ argument 301 #define __evlist__for_each_entry_from(list, evsel) \ argument 309 #define evlist__for_each_entry_from(evlist, evsel) \ argument 317 #define __evlist__for_each_entry_reverse(list, evsel) \ argument 325 #define evlist__for_each_entry_reverse(evlist, evsel) \ argument 334 #define __evlist__for_each_entry_safe(list, tmp, evsel) \ argument 343 #define evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument [all …]
|
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()
|
A D | evlist.c | 132 struct evsel *evsel; in evlist__update_id_pos() local 240 struct evsel *evsel; in __evlist__add_default() local 357 struct evsel *evsel; in evlist__find_tracepoint_by_id() local 370 struct evsel *evsel; in evlist__find_tracepoint_by_name() local 1085 struct evsel *evsel; in evlist__apply_filters() local 1108 struct evsel *evsel; in evlist__set_tp_filter() local 1128 struct evsel *evsel; in evlist__append_tp_filter() local 1221 struct evsel *evsel; in __evlist__combined_sample_type() local 1240 struct evsel *evsel; in evlist__combined_branch_type() local 1302 struct evsel *evsel; in evlist__close() local [all …]
|
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
|
A D | evlist-hybrid.c | 21 struct evsel *evsel; in evlist__add_default_hybrid() local 63 struct evsel *evsel; in evlist__warn_hybrid_group() local 78 struct evsel *evsel; in evlist__has_hybrid() local 93 struct evsel *evsel, *tmp; in evlist__fix_hybrid_cpus() local
|
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()
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | parse-events.c | 66 struct evsel *evsel; in test__checkevent_tracepoint_multi() local 244 struct evsel *evsel; in test__checkevent_tracepoint_multi_modifier() local 677 struct evsel *evsel, *leader; in test__group1() local 719 struct evsel *evsel, *leader; in test__group2() local 775 struct evsel *evsel, *leader; in test__group3() local 868 struct evsel *evsel, *leader; in test__group4() local 912 struct evsel *evsel, *leader; in test__group5() local 998 struct evsel *evsel, *leader; in test__group_gh1() local 1038 struct evsel *evsel, *leader; in test__group_gh2() local 1078 struct evsel *evsel, *leader; in test__group_gh3() local [all …]
|
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
|
A 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
|
/linux-6.3-rc2/tools/lib/perf/ |
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 …]
|
A D | evlist.c | 37 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 68 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 88 struct perf_evsel *evsel) in perf_evlist__remove() 185 struct perf_evsel *evsel; in perf_evlist__open() local 203 struct perf_evsel *evsel; in perf_evlist__close() local 211 struct perf_evsel *evsel; in perf_evlist__enable() local 219 struct perf_evsel *evsel; in perf_evlist__disable() local 256 struct perf_evsel *evsel, in perf_evlist__id_add() 309 struct perf_evsel *evsel; in perf_evlist__alloc_pollfd() local 439 struct perf_evsel *evsel; in mmap_per_evsel() local [all …]
|
/linux-6.3-rc2/tools/perf/arch/x86/util/ |
A 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() 137 static void msr_event_get_key(struct evsel *evsel, in msr_event_get_key() 145 static bool msr_event_begin(struct evsel *evsel, in msr_event_begin() 157 static bool msr_event_end(struct evsel *evsel, in msr_event_end()
|
A D | evsel.c | 14 void arch_evsel__set_sample_weight(struct evsel *evsel) in arch_evsel__set_sample_weight() 40 bool evsel__sys_has_perf_metrics(const struct evsel *evsel) in evsel__sys_has_perf_metrics() 59 bool arch_evsel__must_be_in_group(const struct evsel *evsel) in arch_evsel__must_be_in_group() 69 int arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) in arch_evsel__hw_name() 96 void arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) in arch__post_evsel_config()
|
/linux-6.3-rc2/tools/lib/perf/include/internal/ |
A D | evlist.h | 71 #define __perf_evlist__for_each_entry(list, evsel) \ argument 79 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 87 #define __perf_evlist__for_each_entry_reverse(list, evsel) \ argument 95 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 104 #define __perf_evlist__for_each_entry_safe(list, tmp, evsel) \ argument 113 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument
|
/linux-6.3-rc2/tools/perf/ |
A D | builtin-kwork.c | 392 struct evsel *evsel, in work_push_atom() 437 struct evsel *evsel, in work_pop_atom() 508 struct evsel *evsel, in report_exit_event() 703 struct evsel *evsel, in timehist_raise_event() 714 struct evsel *evsel, in timehist_entry_event() 778 struct evsel *evsel, in process_irq_handler_exit_event() 809 struct evsel *evsel, in irq_work_init() 957 struct evsel *evsel, in process_workqueue_activate_work_event() 971 struct evsel *evsel, in process_workqueue_execute_start_event() 1019 struct evsel *evsel, in workqueue_work_init() [all …]
|
A D | builtin-top.c | 113 struct evsel *evsel; in perf_top__parse_source() local 198 struct evsel *evsel, u64 ip) in perf_top__record_precise_ip() 241 struct evsel *evsel; in perf_top__show_details() local 322 struct evsel *evsel = top->sym_evsel; in perf_top__print_sym_table() local 731 struct evsel *evsel = iter->evsel; in hist_iter__top_callback() local 744 struct evsel *evsel, in perf_event__process_sample() 853 struct evsel *evsel) in perf_top__process_lost() 863 struct evsel *evsel) in perf_top__process_lost_samples() 948 struct evsel *evsel; in perf_top__overwrite_check() local 988 struct evsel *evsel) in perf_top_overwrite_fallback() [all …]
|
/linux-6.3-rc2/tools/perf/arch/s390/util/ |
A 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-6.3-rc2/tools/lib/perf/tests/ |
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
|
A D | test-evlist.c | 38 struct perf_evsel *evsel, *leader; in test_stat_cpu() local 97 struct perf_evsel *evsel, *leader; in test_stat_thread() local 152 struct perf_evsel *evsel, *leader; in test_stat_thread_enable() local 216 struct perf_evsel *evsel; in test_mmap_thread() local 327 struct perf_evsel *evsel; in test_mmap_cpus() local 445 struct perf_evsel *evsel; in test_stat_multiplexing() local
|
/linux-6.3-rc2/tools/perf/arch/arm64/util/ |
A D | kvm-stat.c | 25 static void event_get_key(struct evsel *evsel, in event_get_key() 44 static bool event_begin(struct evsel *evsel, in event_begin() 51 static bool event_end(struct evsel *evsel, in event_end()
|