| /linux/tools/perf/util/ |
| H A D | evlist.h | 59 struct evlist { struct 77 void (*trace_event_sample_raw)(struct evlist *evlist, argument 89 int pos; /* index at evlist core object to check signals */ argument 106 struct evlist *evlist__new(void); argument 60 coreevlist global() argument 122 evlist__add_dummy_on_all_cpus(struct evlist * evlist) evlist__add_dummy_on_all_cpus() argument 144 evlist__set_tracepoints_handlers(evlist,array) global() argument 236 evlist__empty(struct evlist * evlist) evlist__empty() argument 241 evlist__first(struct evlist * evlist) evlist__first() argument 248 evlist__last(struct evlist * evlist) evlist__last() argument 255 evlist__nr_groups(struct evlist * evlist) evlist__nr_groups() argument 279 evlist__for_each_entry(evlist,evsel) global() argument 295 evlist__for_each_entry_continue(evlist,evsel) global() argument 311 evlist__for_each_entry_from(evlist,evsel) global() argument 327 evlist__for_each_entry_reverse(evlist,evsel) global() argument 345 evlist__for_each_entry_safe(evlist,tmp,evsel) global() argument 383 evlist__for_each_cpu(evlist_cpu_itr,evlist) global() argument [all...] |
| H A D | evlist.c | 76 evlist__init(struct evlist * evlist,struct perf_cpu_map * cpus,struct perf_thread_map * threads) evlist__init() argument 93 struct evlist *evlist = zalloc(sizeof(*evlist)); evlist__new() local 103 struct evlist *evlist = evlist__new(); evlist__new_default() local 137 struct evlist *evlist = evlist__new(); evlist__new_dummy() local 154 evlist__set_id_pos(struct evlist * evlist) evlist__set_id_pos() argument 162 evlist__update_id_pos(struct evlist * evlist) evlist__update_id_pos() argument 172 evlist__purge(struct evlist * evlist) evlist__purge() argument 185 evlist__exit(struct evlist * evlist) evlist__exit() argument 194 evlist__delete(struct evlist * evlist) evlist__delete() argument 207 evlist__add(struct evlist * evlist,struct evsel * entry) evlist__add() argument 217 evlist__remove(struct evlist * evlist,struct evsel * evsel) evlist__remove() argument 223 evlist__splice_list_tail(struct evlist * evlist,struct list_head * list) evlist__splice_list_tail() argument 244 __evlist__set_tracepoints_handlers(struct evlist * evlist,const struct evsel_str_handler * assocs,size_t nr_assocs) __evlist__set_tracepoints_handlers() argument 267 evlist__set_leader(struct evlist * evlist) evlist__set_leader() argument 272 evlist__dummy_event(struct evlist * evlist) evlist__dummy_event() argument 286 evlist__add_dummy(struct evlist * evlist) evlist__add_dummy() argument 297 evlist__add_aux_dummy(struct evlist * evlist,bool system_wide) evlist__add_aux_dummy() argument 316 evlist__add_sched_switch(struct evlist * evlist,bool system_wide) evlist__add_sched_switch() argument 335 evlist__find_tracepoint_by_name(struct evlist * evlist,const char * name) evlist__find_tracepoint_by_name() argument 349 evlist__add_newtp(struct evlist * evlist,const char * sys,const char * name,void * handler) evlist__add_newtp() argument 366 evlist__use_affinity(struct evlist * evlist) evlist__use_affinity() argument 421 evlist_cpu_iterator__init(struct evlist_cpu_iterator * itr,struct evlist * evlist) evlist_cpu_iterator__init() argument 506 evlist__is_enabled(struct evlist * evlist) evlist__is_enabled() argument 520 __evlist__disable(struct evlist * evlist,char * evsel_name,bool excl_dummy) __evlist__disable() argument 566 evlist__disable(struct evlist * evlist) evlist__disable() argument 571 evlist__disable_non_dummy(struct evlist * evlist) evlist__disable_non_dummy() argument 576 evlist__disable_evsel(struct evlist * evlist,char * evsel_name) evlist__disable_evsel() argument 581 __evlist__enable(struct evlist * evlist,char * evsel_name,bool excl_dummy) __evlist__enable() argument 614 evlist__enable(struct evlist * evlist) evlist__enable() argument 619 evlist__enable_non_dummy(struct evlist * evlist) evlist__enable_non_dummy() argument 624 evlist__enable_evsel(struct evlist * evlist,char * evsel_name) evlist__enable_evsel() argument 629 evlist__toggle_enable(struct evlist * evlist) evlist__toggle_enable() argument 634 evlist__add_pollfd(struct evlist * evlist,int fd) evlist__add_pollfd() argument 639 evlist__filter_pollfd(struct evlist * evlist,short revents_and_mask) evlist__filter_pollfd() argument 645 evlist__add_wakeup_eventfd(struct evlist * evlist,int fd) evlist__add_wakeup_eventfd() argument 653 evlist__poll(struct evlist * evlist,int timeout) evlist__poll() argument 658 evlist__id2sid(struct evlist * evlist,u64 id) evlist__id2sid() argument 674 evlist__id2evsel(struct evlist * evlist,u64 id) evlist__id2evsel() argument 691 evlist__id2evsel_strict(struct evlist * evlist,u64 id) evlist__id2evsel_strict() argument 705 evlist__event2id(struct evlist * evlist,union perf_event * event,u64 * id) evlist__event2id() argument 725 evlist__event2evsel(struct evlist * evlist,union perf_event * event) evlist__event2evsel() argument 757 evlist__set_paused(struct evlist * evlist,bool value) evlist__set_paused() argument 777 evlist__pause(struct evlist * evlist) evlist__pause() argument 782 evlist__resume(struct evlist * evlist) evlist__resume() argument 787 evlist__munmap_nofree(struct evlist * evlist) evlist__munmap_nofree() argument 800 evlist__munmap(struct evlist * evlist) evlist__munmap() argument 814 evlist__alloc_mmap(struct evlist * evlist,bool overwrite) evlist__alloc_mmap() argument 848 struct evlist *evlist = container_of(_evlist, struct evlist, core); perf_evlist__mmap_cb_idx() local 858 struct evlist *evlist = container_of(_evlist, struct evlist, core); perf_evlist__mmap_cb_get() local 1011 evlist__mmap_ex(struct evlist * evlist,unsigned int pages,unsigned int auxtrace_pages,bool auxtrace_overwrite,int nr_cblocks,int affinity,int flush,int comp_level) evlist__mmap_ex() argument 1042 evlist__mmap(struct evlist * evlist,unsigned int pages) evlist__mmap() argument 1047 evlist__create_maps(struct evlist * evlist,struct target * target) evlist__create_maps() argument 1099 evlist__apply_filters(struct evlist * evlist,struct evsel ** err_evsel,struct target * target) evlist__apply_filters() argument 1133 evlist__set_tp_filter(struct evlist * evlist,const char * filter) evlist__set_tp_filter() argument 1153 evlist__append_tp_filter(struct evlist * evlist,const char * filter) evlist__append_tp_filter() argument 1199 evlist__set_tp_filter_pids(struct evlist * evlist,size_t npids,pid_t * pids) evlist__set_tp_filter_pids() argument 1208 evlist__append_tp_filter_pids(struct evlist * evlist,size_t npids,pid_t * pids) evlist__append_tp_filter_pids() argument 1217 evlist__append_tp_filter_pid(struct evlist * evlist,pid_t pid) evlist__append_tp_filter_pid() argument 1222 evlist__valid_sample_type(struct evlist * evlist) evlist__valid_sample_type() argument 1241 __evlist__combined_sample_type(struct evlist * evlist) __evlist__combined_sample_type() argument 1254 evlist__combined_sample_type(struct evlist * evlist) evlist__combined_sample_type() argument 1260 evlist__combined_branch_type(struct evlist * evlist) evlist__combined_branch_type() argument 1271 evlist__find_dup_event_from_prev(struct evlist * evlist,struct evsel * event) evlist__find_dup_event_from_prev() argument 1316 evlist__update_br_cntr(struct evlist * evlist) evlist__update_br_cntr() argument 1336 evlist__valid_read_format(struct evlist * evlist) evlist__valid_read_format() argument 1358 evlist__id_hdr_size(struct evlist * evlist) evlist__id_hdr_size() argument 1365 evlist__valid_sample_id_all(struct evlist * evlist) evlist__valid_sample_id_all() argument 1377 evlist__sample_id_all(struct evlist * evlist) evlist__sample_id_all() argument 1383 evlist__set_selected(struct evlist * evlist,struct evsel * evsel) evlist__set_selected() argument 1388 evlist__close(struct evlist * evlist) evlist__close() argument 1407 evlist__create_syswide_maps(struct evlist * evlist) evlist__create_syswide_maps() argument 1437 evlist__open(struct evlist * evlist) evlist__open() argument 1467 evlist__prepare_workload(struct evlist * evlist,struct target * target,const char * argv[],bool pipe_output,void (* exec_error)(int signo,siginfo_t * info,void * ucontext)) evlist__prepare_workload() argument 1589 evlist__start_workload(struct evlist * evlist) evlist__start_workload() argument 1609 evlist__cancel_workload(struct evlist * evlist) evlist__cancel_workload() argument 1620 evlist__parse_sample(struct evlist * evlist,union perf_event * event,struct perf_sample * sample) evlist__parse_sample() argument 1641 evlist__parse_sample_timestamp(struct evlist * evlist,union perf_event * event,u64 * timestamp) evlist__parse_sample_timestamp() argument 1650 evlist__strerror_open(struct evlist * evlist,int err,char * buf,size_t size) evlist__strerror_open() argument 1705 evlist__strerror_mmap(struct evlist * evlist,int err,char * buf,size_t size) evlist__strerror_mmap() argument 1737 evlist__to_front(struct evlist * evlist,struct evsel * move_evsel) evlist__to_front() argument 1753 evlist__get_tracking_event(struct evlist * evlist) evlist__get_tracking_event() argument 1765 evlist__set_tracking_event(struct evlist * evlist,struct evsel * tracking_evsel) evlist__set_tracking_event() argument 1780 evlist__findnew_tracking_event(struct evlist * evlist,bool system_wide) evlist__findnew_tracking_event() argument 1798 evlist__find_evsel_by_str(struct evlist * evlist,const char * str) evlist__find_evsel_by_str() argument 1812 evlist__toggle_bkw_mmap(struct evlist * evlist,enum bkw_mmap_state state) evlist__toggle_bkw_mmap() argument 1869 evlist__exclude_kernel(struct evlist * evlist) evlist__exclude_kernel() argument 1886 evlist__force_leader(struct evlist * evlist) evlist__force_leader() argument 2022 evlist__initialize_ctlfd(struct evlist * evlist,int fd,int ack) evlist__initialize_ctlfd() argument 2044 evlist__ctlfd_initialized(struct evlist * evlist) evlist__ctlfd_initialized() argument 2049 evlist__finalize_ctlfd(struct evlist * evlist) evlist__finalize_ctlfd() argument 2067 evlist__ctlfd_recv(struct evlist * evlist,enum evlist_ctl_cmd * cmd,char * cmd_data,size_t data_size) evlist__ctlfd_recv() argument 2127 evlist__ctlfd_ack(struct evlist * evlist) evlist__ctlfd_ack() argument 2160 evlist__ctlfd_enable(struct evlist * evlist,char * cmd_data,bool enable) evlist__ctlfd_enable() argument 2200 evlist__ctlfd_list(struct evlist * evlist,char * cmd_data) evlist__ctlfd_list() argument 2234 evlist__ctlfd_process(struct evlist * evlist,enum evlist_ctl_cmd * cmd) evlist__ctlfd_process() argument 2343 struct evlist *evlist; global() member 2362 evlist__parse_event_enable_time(struct evlist * evlist,struct record_opts * opts,const char * str,int unset) evlist__parse_event_enable_time() argument 2511 evlist__find_evsel(struct evlist * evlist,int idx) evlist__find_evsel() argument 2522 evlist__format_evsels(struct evlist * evlist,struct strbuf * sb,size_t max_length) evlist__format_evsels() argument 2554 evlist__check_mem_load_aux(struct evlist * evlist) evlist__check_mem_load_aux() argument 2588 evlist__warn_user_requested_cpus(struct evlist * evlist,const char * cpu_list) evlist__warn_user_requested_cpus() argument 2607 evlist__disable_uniquify(const struct evlist * evlist) evlist__disable_uniquify() argument 2631 evlist__set_needs_uniquify(struct evlist * evlist,const struct perf_stat_config * config) evlist__set_needs_uniquify() argument 2649 evlist__uniquify_evsel_names(struct evlist * evlist,const struct perf_stat_config * config) evlist__uniquify_evsel_names() argument 2659 evlist__has_bpf_output(struct evlist * evlist) evlist__has_bpf_output() argument 2671 evlist__needs_bpf_sb_event(struct evlist * evlist) evlist__needs_bpf_sb_event() argument [all...] |
| H A D | sideband_evlist.c | 15 int evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, in evlist__add_sb_event() 37 struct evlist *evlist = arg; in perf_evlist__poll_thread() local 84 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data) in evlist__set_cb() 97 int evlist__start_sb_thread(struct evlist *evlist, struct target *target) in evlist__start_sb_thread() 142 void evlist__stop_sb_thread(struct evlist *evlist) in evlist__stop_sb_thread()
|
| H A D | stat.c | 112 int evlist__alloc_aggr_stats(struct evlist *evlist, int nr_aggr) in evlist__alloc_aggr_stats() argument 190 struct evlist *evlist, bool alloc_raw) in evlist__alloc_stats() argument 210 void evlist__free_stats(struct evlist *evlist) in evlist__free_stats() argument 221 evlist__reset_stats(struct evlist * evlist) evlist__reset_stats() argument 231 evlist__reset_aggr_stats(struct evlist * evlist) evlist__reset_aggr_stats() argument 239 evlist__reset_prev_raw_counts(struct evlist * evlist) evlist__reset_prev_raw_counts() argument 259 evlist__copy_prev_raw_counts(struct evlist * evlist) evlist__copy_prev_raw_counts() argument 278 evlist__copy_res_stats(struct perf_stat_config * config,struct evlist * evlist) evlist__copy_res_stats() argument 541 struct evlist *evlist = evsel->evlist; evsel__merge_aliases() local 566 perf_stat_merge_counters(struct perf_stat_config * config,struct evlist * evlist) perf_stat_merge_counters() argument 637 perf_stat_process_percore(struct perf_stat_config * config,struct evlist * evlist) perf_stat_process_percore() argument [all...] |
| H A D | record.c | 26 static struct evsel *evsel__read_sampler(struct evsel *evsel, struct evlist *evlist) in evsel__read_sampler() argument 53 static void evsel__config_leader_sampling(struct evsel *evsel, struct evlist *evlist) in evsel__config_leader_sampling() argument 95 void evlist__config(struct evlist *evlist, struct record_opts *opts, struct callchain_param *callchain) in evlist__config() argument 221 evlist__can_select_event(struct evlist * evlist,const char * str) evlist__can_select_event() argument [all...] |
| H A D | cgroup.c | 102 static struct cgroup *evlist__find_cgroup(struct evlist *evlist, const char *str) in evlist__find_cgroup() argument 147 struct cgroup *evlist__findnew_cgroup(struct evlist *evlist, const char *name) in evlist__findnew_cgroup() argument 154 static int add_cgroup(struct evlist *evlist, const char *str) in add_cgroup() argument 208 evlist__set_default_cgroup(struct evlist * evlist,struct cgroup * cgroup) evlist__set_default_cgroup() argument 363 struct evlist *evlist = *(struct evlist **)opt->value; parse_cgroups() local 417 evlist__expand_cgroup(struct evlist * evlist,const char * str,bool open_cgroup) evlist__expand_cgroup() argument [all...] |
| H A D | python.c | 1272 struct evlist evlist; member 1482 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__mmap() local 1502 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__poll() local 1522 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__get_pollfd() local 1551 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__add() local 1566 static struct mmap *get_md(struct evlist *evlist, int cpu) in get_md() 1583 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__read_on_cpu() local 1640 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__open() local 1653 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__close() local 1679 struct evlist *evlist = &pevlist->evlist; in pyrf_evlist__config() local [all …]
|
| H A D | bpf_counter_cgroup.c | 96 bperf_load_program(struct evlist * evlist) bperf_load_program() argument 234 bperf_cgrp__sync_counters(struct evlist * evlist) bperf_cgrp__sync_counters() argument 270 struct evlist *evlist = evsel->evlist; bperf_cgrp__read() local [all...] |
| H A D | stat-display.c | 770 static bool evlist__has_hybrid_pmus(struct evlist *evlist) in evlist__has_hybrid_pmus() argument 1013 struct evlist *evlist, in print_metric_begin() argument 1057 struct evlist *evlis in print_aggr() argument 1081 print_aggr_cgroup(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_aggr_cgroup() argument 1125 print_no_aggr_metric(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_no_aggr_metric() argument 1208 print_metric_headers(struct perf_stat_config * config,struct evlist * evlist,bool no_indent) print_metric_headers() argument 1268 print_header_interval_std(struct perf_stat_config * config,struct target * _target __maybe_unused,struct evlist * evlist,int argc __maybe_unused,const char ** argv __maybe_unused) print_header_interval_std() argument 1315 print_header_std(struct perf_stat_config * config,struct target * _target,struct evlist * evlist,int argc,const char ** argv) print_header_std() argument 1349 print_header_csv(struct perf_stat_config * config,struct target * _target __maybe_unused,struct evlist * evlist,int argc __maybe_unused,const char ** argv __maybe_unused) print_header_csv() argument 1358 print_header_json(struct perf_stat_config * config,struct target * _target __maybe_unused,struct evlist * evlist,int argc __maybe_unused,const char ** argv __maybe_unused) print_header_json() argument 1368 print_header(struct perf_stat_config * config,struct target * _target,struct evlist * evlist,int argc,const char ** argv) print_header() argument 1514 print_cgroup_counter(struct perf_stat_config * config,struct evlist * evlist,struct outstate * os) print_cgroup_counter() argument 1534 evlist__print_counters(struct evlist * evlist,struct perf_stat_config * config,struct target * _target,struct timespec * ts,int argc,const char ** argv) evlist__print_counters() argument [all...] |
| /linux/tools/perf/tests/ |
| H A D | parse-events.c | 25 static bool check_evlist(const char *test, int line, bool cond, struct evlist *evlist) in check_evlist() argument 37 #define TEST_ASSERT_EVLIST(test, cond, evlist) \ argument 56 static int num_core_entries(struct evlist *evlist) in num_core_entries() argument 108 test__checkevent_tracepoint(struct evlist * evlist) test__checkevent_tracepoint() argument 121 test__checkevent_tracepoint_multi(struct evlist * evlist) test__checkevent_tracepoint_multi() argument 142 test__checkevent_raw(struct evlist * evlist) test__checkevent_raw() argument 181 test__checkevent_numeric(struct evlist * evlist) test__checkevent_numeric() argument 192 test__checkevent_symbolic_name(struct evlist * evlist) test__checkevent_symbolic_name() argument 206 test__checkevent_symbolic_name_config(struct evlist * evlist) test__checkevent_symbolic_name_config() argument 227 test__checkevent_symbolic_alias(struct evlist * evlist) test__checkevent_symbolic_alias() argument 237 test__checkevent_genhw(struct evlist * evlist) test__checkevent_genhw() argument 250 test__checkevent_breakpoint(struct evlist * evlist) test__checkevent_breakpoint() argument 264 test__checkevent_breakpoint_x(struct evlist * evlist) test__checkevent_breakpoint_x() argument 277 test__checkevent_breakpoint_r(struct evlist * evlist) test__checkevent_breakpoint_r() argument 289 test__checkevent_breakpoint_w(struct evlist * evlist) test__checkevent_breakpoint_w() argument 301 test__checkevent_breakpoint_rw(struct evlist * evlist) test__checkevent_breakpoint_rw() argument 315 test__checkevent_tracepoint_modifier(struct evlist * evlist) test__checkevent_tracepoint_modifier() argument 329 test__checkevent_tracepoint_multi_modifier(struct evlist * evlist) test__checkevent_tracepoint_multi_modifier() argument 345 test__checkevent_raw_modifier(struct evlist * evlist) test__checkevent_raw_modifier() argument 360 test__checkevent_numeric_modifier(struct evlist * evlist) test__checkevent_numeric_modifier() argument 375 test__checkevent_symbolic_name_modifier(struct evlist * evlist) test__checkevent_symbolic_name_modifier() argument 392 test__checkevent_exclude_host_modifier(struct evlist * evlist) test__checkevent_exclude_host_modifier() argument 407 test__checkevent_exclude_guest_modifier(struct evlist * evlist) test__checkevent_exclude_guest_modifier() argument 422 test__checkevent_symbolic_alias_modifier(struct evlist * evlist) test__checkevent_symbolic_alias_modifier() argument 435 test__checkevent_genhw_modifier(struct evlist * evlist) test__checkevent_genhw_modifier() argument 452 test__checkevent_exclude_idle_modifier(struct evlist * evlist) test__checkevent_exclude_idle_modifier() argument 471 test__checkevent_exclude_idle_modifier_1(struct evlist * evlist) test__checkevent_exclude_idle_modifier_1() argument 490 test__checkevent_breakpoint_modifier(struct evlist * evlist) test__checkevent_breakpoint_modifier() argument 504 test__checkevent_breakpoint_x_modifier(struct evlist * evlist) test__checkevent_breakpoint_x_modifier() argument 517 test__checkevent_breakpoint_r_modifier(struct evlist * evlist) test__checkevent_breakpoint_r_modifier() argument 530 test__checkevent_breakpoint_w_modifier(struct evlist * evlist) test__checkevent_breakpoint_w_modifier() argument 543 test__checkevent_breakpoint_rw_modifier(struct evlist * evlist) test__checkevent_breakpoint_rw_modifier() argument 556 test__checkevent_breakpoint_modifier_name(struct evlist * evlist) test__checkevent_breakpoint_modifier_name() argument 569 test__checkevent_breakpoint_x_modifier_name(struct evlist * evlist) test__checkevent_breakpoint_x_modifier_name() argument 582 test__checkevent_breakpoint_r_modifier_name(struct evlist * evlist) test__checkevent_breakpoint_r_modifier_name() argument 595 test__checkevent_breakpoint_w_modifier_name(struct evlist * evlist) test__checkevent_breakpoint_w_modifier_name() argument 608 test__checkevent_breakpoint_rw_modifier_name(struct evlist * evlist) test__checkevent_breakpoint_rw_modifier_name() argument 621 test__checkevent_breakpoint_2_events(struct evlist * evlist) test__checkevent_breakpoint_2_events() argument 638 test__checkevent_pmu(struct evlist * evlist) test__checkevent_pmu() argument 660 test__checkevent_list(struct evlist * evlist) test__checkevent_list() argument 703 test__checkevent_pmu_name(struct evlist * evlist) test__checkevent_pmu_name() argument 726 test__checkevent_pmu_partial_time_callgraph(struct evlist * evlist) test__checkevent_pmu_partial_time_callgraph() argument 758 test__checkevent_pmu_events(struct evlist * evlist) test__checkevent_pmu_events() argument 782 test__checkevent_pmu_events_mix(struct evlist * evlist) test__checkevent_pmu_events_mix() argument 903 test__group1(struct evlist * evlist) test__group1() argument 948 test__group2(struct evlist * evlist) test__group2() argument 1282 test__group_gh1(struct evlist * evlist) test__group_gh1() argument 1327 test__group_gh2(struct evlist * evlist) test__group_gh2() argument 1372 test__group_gh3(struct evlist * evlist) test__group_gh3() argument 1417 test__group_gh4(struct evlist * evlist) test__group_gh4() argument 1462 test__leader_sample1(struct evlist * evlist) test__leader_sample1() argument 1560 test__checkevent_pinned_modifier(struct evlist * evlist) test__checkevent_pinned_modifier() argument 1579 test__pinned_group(struct evlist * evlist) test__pinned_group() argument 1616 test__checkevent_exclusive_modifier(struct evlist * evlist) test__checkevent_exclusive_modifier() argument 1632 test__exclusive_group(struct evlist * evlist) test__exclusive_group() argument 1668 test__checkevent_breakpoint_len(struct evlist * evlist) test__checkevent_breakpoint_len() argument 1683 test__checkevent_breakpoint_len_w(struct evlist * evlist) test__checkevent_breakpoint_len_w() argument 1697 test__checkevent_breakpoint_len_rw_modifier(struct evlist * evlist) test__checkevent_breakpoint_len_rw_modifier() argument 1710 test__checkevent_precise_max_modifier(struct evlist * evlist) test__checkevent_precise_max_modifier() argument 1721 test__checkevent_config_symbol(struct evlist * evlist) test__checkevent_config_symbol() argument 1732 test__checkevent_config_raw(struct evlist * evlist) test__checkevent_config_raw() argument 1741 test__checkevent_config_num(struct evlist * evlist) test__checkevent_config_num() argument 1750 test__checkevent_config_cache(struct evlist * evlist) test__checkevent_config_cache() argument 1776 test__intel_pt(struct evlist * evlist) test__intel_pt() argument 1797 test__ratio_to_prev(struct evlist * evlist) test__ratio_to_prev() argument 1833 test__checkevent_complex_name(struct evlist * evlist) test__checkevent_complex_name() argument 1847 test__checkevent_raw_pmu(struct evlist * evlist) test__checkevent_raw_pmu() argument 1857 test__sym_event_slash(struct evlist * evlist) test__sym_event_slash() argument 1869 test__sym_event_dc(struct evlist * evlist) test__sym_event_dc() argument 1881 test__term_equal_term(struct evlist * evlist) test__term_equal_term() argument 1893 test__term_equal_legacy(struct evlist * evlist) test__term_equal_legacy() argument 1951 test__all_tracepoints(struct evlist * evlist) test__all_tracepoints() argument 2538 struct evlist *evlist; test_event() local 2572 struct evlist *evlist; test_event_fake_pmu() local 2866 test__checkevent_pmu_events_alias(struct evlist * evlist) test__checkevent_pmu_events_alias() argument [all...] |
| H A D | event-times.c | 17 static int attach__enable_on_exec(struct evlist *evlist) in attach__enable_on_exec() 51 static int detach__enable_on_exec(struct evlist *evlist) in detach__enable_on_exec() 57 static int attach__current_disabled(struct evlist *evlist) in attach__current_disabled() 83 static int attach__current_enabled(struct evlist *evlist) in attach__current_enabled() 103 static int detach__disable(struct evlist *evlist) in detach__disable() 110 static int attach__cpu_disabled(struct evlist *evlist) in attach__cpu_disabled() 139 static int attach__cpu_enabled(struct evlist *evlist) in attach__cpu_enabled() 161 static int test_times(int (attach)(struct evlist *), in test_times() 162 int (detach)(struct evlist *)) in test_times() 165 struct evlist *evlist = NULL; in test_times() local
|
| H A D | expand-cgroup.c | 16 test_expand_events(struct evlist * evlist) test_expand_events() argument 102 struct evlist *evlist = evlist__new_default(); expand_default_events() local 114 struct evlist *evlist; expand_group_events() local 141 struct evlist *evlist; expand_libpfm_events() local 172 struct evlist *evlist; expand_metric_events() local [all...] |
| H A D | backward-ring-buffer.c | 32 static int count_samples(struct evlist *evlist, int *sample_count, in count_samples() 62 static int do_test(struct evlist *evlist, int mmap_pages, in do_test() 89 struct evlist *evlist; in test__backward_ring_buffer() local
|
| H A D | switch-tracking.c | 125 static int process_sample_event(struct evlist *evlist, in process_sample_event() argument 181 static int process_event(struct evlist *evlist, union perf_event *event, in process_event() argument 221 static int add_event(struct evlist *evlis argument 270 process_events(struct evlist * evlist,struct switch_tracking * switch_tracking) process_events() argument 348 struct evlist *evlist = NULL; test__switch_tracking() local [all...] |
| H A D | pfm.c | 16 static int count_pfm_events(struct perf_evlist *evlist) in count_pfm_events() 30 struct evlist *evlist; in test__pfm_events() local 91 struct evlist *evlist; in test__pfm_group() local
|
| H A D | keep-tracking.c | 33 static int find_comm(struct evlist *evlist, const char *comm) in find_comm() 76 struct evlist *evlist = NULL; in test__keep_tracking() local
|
| /linux/tools/lib/perf/ |
| H A D | evlist.c | 28 void perf_evlist__init(struct perf_evlist *evlist) in perf_evlist__init() 36 static void __perf_evlist__propagate_maps(struct perf_evlist *evlist, in __perf_evlist__propagate_maps() 156 static void perf_evlist__propagate_maps(struct perf_evlist *evlist) in perf_evlist__propagate_maps() 176 void perf_evlist__add(struct perf_evlist *evlist, in perf_evlist__add() 187 void perf_evlist__remove(struct perf_evlist *evlist, in perf_evlist__remove() 196 struct perf_evlist *evlist = zalloc(sizeof(*evlist)); in perf_evlist__new() local 205 perf_evlist__next(struct perf_evlist *evlist, struct perf_evsel *prev) in perf_evlist__next() 224 static void perf_evlist__purge(struct perf_evlist *evlist) in perf_evlist__purge() 236 void perf_evlist__exit(struct perf_evlist *evlist) in perf_evlist__exit() 247 void perf_evlist__delete(struct perf_evlist *evlist) in perf_evlist__delete() [all …]
|
| /linux/tools/perf/arch/x86/tests/ |
| H A D | hybrid.c | 25 static int test__hybrid_hw_event_with_pmu(struct evlist *evlist) in test__hybrid_hw_event_with_pmu() 36 static int test__hybrid_hw_group_event(struct evlist *evlist) in test__hybrid_hw_group_event() 55 static int test__hybrid_sw_hw_group_event(struct evlist *evlist) in test__hybrid_sw_hw_group_event() 72 static int test__hybrid_hw_sw_group_event(struct evlist *evlist) in test__hybrid_hw_sw_group_event() 89 static int test__hybrid_group_modifier1(struct evlist *evlist) in test__hybrid_group_modifier1() 112 static int test__hybrid_raw1(struct evlist *evlist) in test__hybrid_raw1() 126 static int test__hybrid_raw2(struct evlist *evlist) in test__hybrid_raw2() 136 static int test__hybrid_cache_event(struct evlist *evlist) in test__hybrid_cache_event() 146 static int test__checkevent_pmu(struct evlist *evlist) in test__checkevent_pmu() 166 static int test__hybrid_hw_group_event_2(struct evlist *evlist) in test__hybrid_hw_group_event_2() [all …]
|
| /linux/tools/lib/perf/include/internal/ |
| H A D | evlist.h | 78 #define perf_evlist__for_each_entry(evlist, evsel) \ argument 94 #define perf_evlist__for_each_entry_reverse(evlist, evsel) \ argument 112 #define perf_evlist__for_each_entry_safe(evlist, tmp, evsel) \ argument 115 static inline struct perf_evsel *perf_evlist__first(struct perf_evlist *evlist) in perf_evlist__first() 120 static inline struct perf_evsel *perf_evlist__last(struct perf_evlist *evlist) in perf_evlist__last()
|
| /linux/tools/lib/perf/tests/ |
| H A D | test-evlist.c | 37 struct perf_evlist *evlist; in test_stat_cpu() local 96 struct perf_evlist *evlist; in test_stat_thread() local 151 struct perf_evlist *evlist; in test_stat_thread_enable() local 215 struct perf_evlist *evlist; in test_mmap_thread() local 326 struct perf_evlist *evlist; in test_mmap_cpus() local 444 struct perf_evlist *evlist; in test_stat_multiplexing() local
|
| /linux/tools/perf/bench/ |
| H A D | evlist-open-close.c | 50 static int evlist__count_evsel_fds(struct evlist *evlist) in evlist__count_evsel_fds() 64 struct evlist *evlist = evlist__new(); in bench__create_evlist() local 109 static int bench__do_evlist_open_close(struct evlist *evlist) in bench__do_evlist_open_close() 136 struct evlist *evlist = bench__create_evlist(evstr, uid_str); in bench_evlist_open_close__run() local
|
| /linux/tools/lib/perf/include/perf/ |
| H A D | evlist.h | 26 #define perf_evlist__for_each_evsel(evlist, pos) \ argument 44 #define perf_evlist__for_each_mmap(evlist, pos, overwrite) \ argument
|
| /linux/tools/perf/arch/x86/util/ |
| H A D | intel-pt.c | 55 struct evlist *evlist; member 117 struct evlist *evlist, u64 *res) in intel_pt_read_config() 139 struct evlist *evlist) in intel_pt_psb_period() 276 static const char *intel_pt_find_filter(struct evlist *evlist, in intel_pt_find_filter() 297 intel_pt_info_priv_size(struct auxtrace_record *itr, struct evlist *evlist) in intel_pt_info_priv_size() 412 static int intel_pt_track_switches(struct evlist *evlist) in intel_pt_track_switches() 575 static void intel_pt_min_max_sample_sz(struct evlist *evlist, in intel_pt_min_max_sample_sz() 596 static bool intel_pt_too_many_aux_output(struct evlist *evlist) in intel_pt_too_many_aux_output() 613 struct evlist *evlist, in intel_pt_recording_options()
|
| /linux/tools/perf/arch/arm64/util/ |
| H A D | arm-spe.c | 39 struct evlist *evlist; member 61 static struct perf_cpu_map *arm_spe_find_cpus(struct evlist *evlist) in arm_spe_find_cpus() argument 81 struct evlist *evlist) in arm_spe_info_priv_size() argument 360 arm_spe_setup_tracking_event(struct evlist * evlist,struct record_opts * opts) arm_spe_setup_tracking_event() argument 392 arm_spe_recording_options(struct auxtrace_record * itr,struct evlist * evlist,struct record_opts * opts) arm_spe_recording_options() argument [all...] |
| /linux/tools/perf/util/kvm-stat-arch/ |
| H A D | kvm-stat-powerpc.c | 105 static int is_tracepoint_available(const char *str, struct evlist *evlist) in is_tracepoint_available() 119 struct evlist *evlist) in ppc__setup_book3s_hv() 145 struct evlist *evlist = evlist__new(); in ppc__setup_kvm_tp() local
|