/linux/tools/perf/util/ |
H A D | evsel.h | 59 struct evsel { struct 111 struct evsel **metric_events; argument 60 coreevsel global() argument 69 sample_sizeevsel global() argument 72 __anon6347bf940108evsel global() argument 110 metric_eventsevsel global() argument 117 statsevsel global() argument 138 privevsel global() argument 142 side_bandevsel global() argument 148 synth_sample_typeevsel global() argument 155 bpf_counter_opsevsel global() argument 157 bpf_counter_listevsel global() argument 158 bpf_filtersevsel global() argument 161 bperf_leader_prog_fdevsel global() argument 162 bperf_leader_link_fdevsel global() argument 163 __anon6347bf94030aevsel global() argument 168 open_flagsevsel global() argument 169 precise_ip_originalevsel global() argument 172 pmuevsel global() argument 176 __anon6347bf94040aevsel global() argument 186 pid_statevsel global() argument 217 evsel__cpus(struct evsel * evsel) evsel__cpus() argument 222 evsel__nr_cpus(struct evsel * evsel) evsel__nr_cpus() argument 282 evsel__is_bpf(struct evsel * evsel) evsel__is_bpf() argument 287 evsel__is_bperf(struct evsel * evsel) evsel__is_bperf() argument 308 evsel__is_tool(const struct evsel * evsel) evsel__is_tool() argument 319 evsel__set_sample_bit(evsel,bit) global() argument 322 evsel__reset_sample_bit(evsel,bit) global() argument 358 evsel__strval(struct evsel * evsel,struct perf_sample * sample,const char * name) evsel__strval() argument 371 __evsel__match(const struct evsel * evsel,u32 type,u64 config) __evsel__match() argument 383 evsel__match(evsel,t,c) global() argument 402 evsel__read_on_cpu(struct evsel * evsel,int cpu_map_idx,int thread) evsel__read_on_cpu() argument 414 evsel__read_on_cpu_scaled(struct evsel * evsel,int cpu_map_idx,int thread) evsel__read_on_cpu_scaled() argument 427 evsel__next(struct evsel * evsel) evsel__next() argument 432 evsel__prev(struct evsel * evsel) evsel__prev() argument 444 evsel__is_group_leader(const struct evsel * evsel) evsel__is_group_leader() argument 457 evsel__is_group_event(struct evsel * evsel) evsel__is_group_event() argument 467 evsel__is_bpf_output(struct evsel * evsel) evsel__is_bpf_output() argument 472 evsel__is_clock(const struct evsel * evsel) evsel__is_clock() argument 483 evsel__group_idx(struct evsel * evsel) evsel__group_idx() argument 508 evsel__has_branch_callstack(const struct evsel * evsel) evsel__has_branch_callstack() argument 513 evsel__has_branch_hw_idx(const struct evsel * evsel) evsel__has_branch_hw_idx() argument 518 evsel__has_callchain(const struct evsel * evsel) evsel__has_callchain() argument 528 evsel__has_br_stack(const struct evsel * evsel) evsel__has_br_stack() argument 538 evsel__is_dummy_event(struct evsel * evsel) evsel__is_dummy_event() argument [all...] |
H A D | evsel.c | 121 evsel__object_config(size_t object_size,int (* init)(struct evsel * evsel),void (* fini)(struct evsel * evsel)) evsel__object_config() argument 122 evsel__object_config(size_t object_size,int (* init)(struct evsel * evsel),void (* fini)(struct evsel * evsel)) evsel__object_config() argument 221 evsel__calc_id_pos(struct evsel * evsel) evsel__calc_id_pos() argument 227 __evsel__set_sample_bit(struct evsel * evsel,enum perf_event_sample_format bit) __evsel__set_sample_bit() argument 237 __evsel__reset_sample_bit(struct evsel * evsel,enum perf_event_sample_format bit) __evsel__reset_sample_bit() argument 247 evsel__set_sample_id(struct evsel * evsel,bool can_sample_identifier) evsel__set_sample_id() argument 267 evsel__is_function_event(struct evsel * evsel) evsel__is_function_event() argument 277 evsel__init(struct evsel * evsel,struct perf_event_attr * attr,int idx) evsel__init() argument 305 struct evsel *evsel = zalloc(perf_evsel__object.size); evsel__new_idx() local 362 struct evsel *evsel; evsel__clone() local 460 struct evsel *evsel = zalloc(perf_evsel__object.size); evsel__newtp_idx() local 546 evsel__add_modifiers(struct evsel * evsel,char * bf,size_t size) evsel__add_modifiers() argument 582 arch_evsel__hw_name(struct evsel * evsel,char * bf,size_t size) arch_evsel__hw_name() argument 587 evsel__hw_name(struct evsel * evsel,char * bf,size_t size) evsel__hw_name() argument 613 evsel__sw_name(struct evsel * evsel,char * bf,size_t size) evsel__sw_name() argument 642 evsel__bp_name(struct evsel * evsel,char * bf,size_t size) evsel__bp_name() argument 738 evsel__hw_cache_name(struct evsel * evsel,char * bf,size_t size) evsel__hw_cache_name() argument 744 evsel__raw_name(struct evsel * evsel,char * bf,size_t size) evsel__raw_name() argument 750 evsel__name(struct evsel * evsel) evsel__name() argument 802 evsel__name_is(struct evsel * evsel,const char * name) evsel__name_is() argument 807 evsel__metric_id(const struct evsel * evsel) evsel__metric_id() argument 818 evsel__group_name(struct evsel * evsel) evsel__group_name() argument 833 evsel__group_desc(struct evsel * evsel,char * buf,size_t size) evsel__group_desc() argument 859 __evsel__config_callchain(struct evsel * evsel,struct record_opts * opts,struct callchain_param * param) __evsel__config_callchain() argument 920 evsel__config_callchain(struct evsel * evsel,struct record_opts * opts,struct callchain_param * param) evsel__config_callchain() argument 927 evsel__reset_callgraph(struct evsel * evsel,struct callchain_param * param) evsel__reset_callgraph() argument 944 evsel__apply_config_terms(struct evsel * evsel,struct record_opts * opts,bool track) evsel__apply_config_terms() argument 1077 __evsel__get_config_term(struct evsel * evsel,enum evsel_term_type type) __evsel__get_config_term() argument 1089 arch_evsel__set_sample_weight(struct evsel * evsel) arch_evsel__set_sample_weight() argument 1110 evsel__is_offcpu_event(struct evsel * evsel) evsel__is_offcpu_event() argument 1143 evsel__config(struct evsel * evsel,struct record_opts * opts,struct callchain_param * callchain) evsel__config() argument 1387 evsel__set_filter(struct evsel * evsel,const char * filter) evsel__set_filter() argument 1400 evsel__append_filter(struct evsel * evsel,const char * fmt,const char * filter) evsel__append_filter() argument 1416 evsel__append_tp_filter(struct evsel * evsel,const char * filter) evsel__append_tp_filter() argument 1421 evsel__append_addr_filter(struct evsel * evsel,const char * filter) evsel__append_addr_filter() argument 1427 evsel__enable_cpu(struct evsel * evsel,int cpu_map_idx) evsel__enable_cpu() argument 1432 evsel__enable(struct evsel * evsel) evsel__enable() argument 1442 evsel__disable_cpu(struct evsel * evsel,int cpu_map_idx) evsel__disable_cpu() argument 1447 evsel__disable(struct evsel * evsel) evsel__disable() argument 1474 evsel__free_config_terms(struct evsel * evsel) evsel__free_config_terms() argument 1479 evsel__exit(struct evsel * evsel) evsel__exit() argument 1510 evsel__delete(struct evsel * evsel) evsel__delete() argument 1519 evsel__compute_deltas(struct evsel * evsel,int cpu_map_idx,int thread,struct perf_counts_values * count) evsel__compute_deltas() argument 1535 evsel__read_one(struct evsel * evsel,int cpu_map_idx,int thread) evsel__read_one() argument 1713 evsel__read_tool(struct evsel * evsel,int cpu_map_idx,int thread) evsel__read_tool() argument 1782 evsel__read_counter(struct evsel * evsel,int cpu_map_idx,int thread) evsel__read_counter() argument 1793 __evsel__read_on_cpu(struct evsel * evsel,int cpu_map_idx,int thread,bool scale) __evsel__read_on_cpu() argument 1813 evsel__match_other_cpu(struct evsel * evsel,struct evsel * other,int cpu_map_idx) evsel__match_other_cpu() argument 1822 evsel__hybrid_group_cpu_map_idx(struct evsel * evsel,int cpu_map_idx) evsel__hybrid_group_cpu_map_idx() argument 1834 get_group_fd(struct evsel * evsel,int cpu_map_idx,int thread) get_group_fd() argument 1869 update_fds(struct evsel * evsel,int nr_cpus,int cpu_map_idx,int nr_threads,int thread_idx) update_fds() argument 1893 evsel__ignore_missing_thread(struct evsel * evsel,int nr_cpus,int cpu_map_idx,struct perf_thread_map * threads,int thread,int err) evsel__ignore_missing_thread() argument 1946 evsel__precise_ip_fallback(struct evsel * evsel) evsel__precise_ip_fallback() argument 1973 __evsel__prepare_open(struct evsel * evsel,struct perf_cpu_map * cpus,struct perf_thread_map * threads) __evsel__prepare_open() argument 2021 evsel__disable_missing_features(struct evsel * evsel) evsel__disable_missing_features() argument 2058 evsel__prepare_open(struct evsel * evsel,struct perf_cpu_map * cpus,struct perf_thread_map * threads) evsel__prepare_open() argument 2072 evsel__detect_missing_features(struct evsel * evsel) evsel__detect_missing_features() argument 2188 evsel__open_cpu(struct evsel * evsel,struct perf_cpu_map * cpus,struct perf_thread_map * threads,int start_cpu_map_idx,int end_cpu_map_idx) evsel__open_cpu() argument 2387 evsel__open(struct evsel * evsel,struct perf_cpu_map * cpus,struct perf_thread_map * threads) evsel__open() argument 2393 evsel__close(struct evsel * evsel) evsel__close() argument 2399 evsel__open_per_cpu(struct evsel * evsel,struct perf_cpu_map * cpus,int cpu_map_idx) evsel__open_per_cpu() argument 2407 evsel__open_per_thread(struct evsel * evsel,struct perf_thread_map * threads) evsel__open_per_thread() argument 2412 perf_evsel__parse_id_sample(const struct evsel * evsel,const union perf_event * event,struct perf_sample * sample) perf_evsel__parse_id_sample() argument 2563 evsel__has_branch_counters(const struct evsel * evsel) evsel__has_branch_counters() argument 2579 evsel__parse_sample(struct evsel * evsel,union perf_event * event,struct perf_sample * data) evsel__parse_sample() argument 2935 evsel__parse_sample_timestamp(struct evsel * evsel,union perf_event * event,u64 * timestamp) evsel__parse_sample_timestamp() argument 2978 evsel__id_hdr_size(struct evsel * evsel) evsel__id_hdr_size() argument 3005 evsel__field(struct evsel * evsel,const char * name) evsel__field() argument 3010 evsel__common_field(struct evsel * evsel,const char * name) evsel__common_field() argument 3015 evsel__rawptr(struct evsel * evsel,struct perf_sample * sample,const char * name) evsel__rawptr() argument 3074 evsel__intval(struct evsel * evsel,struct perf_sample * sample,const char * name) evsel__intval() argument 3081 evsel__intval_common(struct evsel * evsel,struct perf_sample * sample,const char * name) evsel__intval_common() argument 3088 evsel__taskstate(struct evsel * evsel,struct perf_sample * sample,const char * name) evsel__taskstate() argument 3123 evsel__fallback(struct evsel * evsel,struct target * target,int err,char * msg,size_t msgsize) evsel__fallback() argument 3223 evsel__open_strerror(struct evsel * evsel,struct target * target,int err,char * msg,size_t size) evsel__open_strerror() argument 3349 evsel__env(struct evsel * evsel) evsel__env() argument 3356 store_evsel_ids(struct evsel * evsel,struct evlist * evlist) store_evsel_ids() argument 3374 evsel__store_ids(struct evsel * evsel,struct evlist * evlist) evsel__store_ids() argument 3385 evsel__zero_per_pkg(struct evsel * evsel) evsel__zero_per_pkg() argument 3403 evsel__is_hybrid(const struct evsel * evsel) evsel__is_hybrid() argument 3411 evsel__leader(const struct evsel * evsel) evsel__leader() argument 3416 evsel__has_leader(struct evsel * evsel,struct evsel * leader) evsel__has_leader() argument 3421 evsel__is_leader(struct evsel * evsel) evsel__is_leader() argument 3426 evsel__set_leader(struct evsel * evsel,struct evsel * leader) evsel__set_leader() argument 3431 evsel__source_count(const struct evsel * evsel) evsel__source_count() argument 3453 evsel__remove_from_group(struct evsel * evsel,struct evsel * leader) evsel__remove_from_group() argument [all...] |
H A D | stat.c | 80 static void evsel__reset_aggr_stats(struct evsel *evsel) in evsel__reset_aggr_stats() argument 89 static void evsel__reset_stat_priv(struct evsel *evsel) in evsel__reset_stat_priv() argument 97 static int evsel__alloc_aggr_stats(struct evsel *evsel, in argument 114 struct evsel *evsel; evlist__alloc_aggr_stats() local 123 evsel__alloc_stat_priv(struct evsel * evsel,int nr_aggr) evsel__alloc_stat_priv() argument 143 evsel__free_stat_priv(struct evsel * evsel) evsel__free_stat_priv() argument 154 evsel__alloc_prev_raw_counts(struct evsel * evsel) evsel__alloc_prev_raw_counts() argument 167 evsel__free_prev_raw_counts(struct evsel * evsel) evsel__free_prev_raw_counts() argument 173 evsel__reset_prev_raw_counts(struct evsel * evsel) evsel__reset_prev_raw_counts() argument 179 evsel__alloc_stats(struct evsel * evsel,int nr_aggr,bool alloc_raw) evsel__alloc_stats() argument 192 struct evsel *evsel; evlist__alloc_stats() local 212 struct evsel *evsel; evlist__free_stats() local 223 struct evsel *evsel; evlist__reset_stats() local 233 struct evsel *evsel; evlist__reset_aggr_stats() local 241 struct evsel *evsel; evlist__reset_prev_raw_counts() local 247 evsel__copy_prev_raw_counts(struct evsel * evsel) evsel__copy_prev_raw_counts() argument 261 struct evsel *evsel; evlist__copy_prev_raw_counts() local 267 evsel__copy_res_stats(struct evsel * evsel) evsel__copy_res_stats() argument 280 struct evsel *evsel; evlist__copy_res_stats() local 366 evsel__count_has_error(struct evsel * evsel,struct perf_counts_values * count,struct perf_stat_config * config) evsel__count_has_error() argument 386 process_counter_values(struct perf_stat_config * config,struct evsel * evsel,int cpu_map_idx,int thread,struct perf_counts_values * count) process_counter_values() argument 511 evsel__merge_aggr_counters(struct evsel * evsel,struct evsel * alias) evsel__merge_aggr_counters() argument 559 evsel__merge_aliases(struct evsel * evsel) evsel__merge_aliases() argument 574 evsel__should_merge_hybrid(const struct evsel * evsel,const struct perf_stat_config * config) evsel__should_merge_hybrid() argument 580 evsel__merge_stats(struct evsel * evsel,struct perf_stat_config * config) evsel__merge_stats() argument 593 struct evsel *evsel; perf_stat_merge_counters() local 602 evsel__update_percore_stats(struct evsel * evsel,struct aggr_cpu_id * core_id) evsel__update_percore_stats() argument 640 evsel__process_percore(struct evsel * evsel) evsel__process_percore() argument 664 struct evsel *evsel; perf_stat_process_percore() local 745 create_perf_stat_counter(struct evsel * evsel,struct perf_stat_config * config,struct target * target,int cpu_map_idx) create_perf_stat_counter() argument [all...] |
H A D | bpf_counter.c | 48 static int bpf_program_profiler__destroy(struct evsel *evsel) in bpf_program_profiler__destroy() 102 static int bpf_program_profiler_load_one(struct evsel *evsel, u32 prog_id) in bpf_program_profiler_load_one() 169 static int bpf_program_profiler__load(struct evsel *evsel, struct target *target) in bpf_program_profiler__load() 201 static int bpf_program_profiler__enable(struct evsel *evsel) in bpf_program_profiler__enable() 217 static int bpf_program_profiler__disable(struct evsel *evsel) in bpf_program_profiler__disable() 228 static int bpf_program_profiler__read(struct evsel *evsel) in bpf_program_profiler__read() 276 static int bpf_program_profiler__install_pe(struct evsel *evsel, int cpu_map_idx, in bpf_program_profiler__install_pe() 365 static int bperf_check_target(struct evsel *evsel, in bperf_check_target() 398 static int bperf_reload_leader_program(struct evsel *evsel, int attr_map_fd, in bperf_reload_leader_program() 447 static int bperf__load(struct evsel *evsel, struct target *target) in bperf__load() [all …]
|
H A D | stat-shadow.c | 55 static int evsel_context(const struct evsel *evsel) in evsel_context() argument 79 static enum stat_type evsel__stat_type(const struct evsel *evsel) in evsel__stat_type() argument 153 find_stat(const struct evsel * evsel,int aggr_idx,enum stat_type type) find_stat() argument 195 print_ratio(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double numerator,struct perf_stat_output_ctx * out,enum stat_type denominator_type,const double color_ratios[3],const char * unit) print_ratio() argument 212 print_stalled_cycles_front(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double stalled,struct perf_stat_output_ctx * out) print_stalled_cycles_front() argument 223 print_stalled_cycles_back(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double stalled,struct perf_stat_output_ctx * out) print_stalled_cycles_back() argument 234 print_branch_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_branch_miss() argument 245 print_l1d_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_l1d_miss() argument 256 print_l1i_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_l1i_miss() argument 267 print_ll_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_ll_miss() argument 278 print_dtlb_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_dtlb_miss() argument 289 print_itlb_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_itlb_miss() argument 300 print_cache_miss(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double misses,struct perf_stat_output_ctx * out) print_cache_miss() argument 311 print_instructions(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double instructions,struct perf_stat_output_ctx * out) print_instructions() argument 335 print_cycles(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx,double cycles,struct perf_stat_output_ctx * out) print_cycles() argument 350 print_nsecs(struct perf_stat_config * config,const struct evsel * evsel,int aggr_idx __maybe_unused,double nsecs,struct perf_stat_output_ctx * out) print_nsecs() argument 366 prepare_metric(const struct metric_expr * mexp,const struct evsel * evsel,struct expr_parse_ctx * pctx,int aggr_idx) prepare_metric() argument 471 generic_metric(struct perf_stat_config * config,struct metric_expr * mexp,struct evsel * evsel,int aggr_idx,struct perf_stat_output_ctx * out) generic_metric() argument 569 perf_stat__print_metricgroup_header(struct perf_stat_config * config,struct evsel * evsel,void * ctxp,const char * name,struct perf_stat_output_ctx * out) perf_stat__print_metricgroup_header() argument 616 perf_stat__print_shadow_stats_metricgroup(struct perf_stat_config * config,struct evsel * evsel,int aggr_idx,int * num,void * from,struct perf_stat_output_ctx * out,struct rblist * metric_events) perf_stat__print_shadow_stats_metricgroup() argument 666 perf_stat__print_shadow_stats(struct perf_stat_config * config,struct evsel * evsel,double avg,int aggr_idx,struct perf_stat_output_ctx * out,struct rblist * metric_events) perf_stat__print_shadow_stats() argument 728 perf_stat__skip_metric_event(struct evsel * evsel,struct rblist * metric_events,u64 ena,u64 run) perf_stat__skip_metric_event() argument [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 | 239 struct perf_evsel *evsel = perf_evlist__first(&evlist->core); evlist__first() local 246 struct perf_evsel *evsel = perf_evlist__last(&evlist->core); evlist__last() local 267 __evlist__for_each_entry(list,evsel) global() argument 275 evlist__for_each_entry(evlist,evsel) global() argument 283 __evlist__for_each_entry_continue(list,evsel) global() argument 291 evlist__for_each_entry_continue(evlist,evsel) global() argument 299 __evlist__for_each_entry_from(list,evsel) global() argument 307 evlist__for_each_entry_from(evlist,evsel) global() argument 315 __evlist__for_each_entry_reverse(list,evsel) global() argument 323 evlist__for_each_entry_reverse(evlist,evsel) global() argument 332 __evlist__for_each_entry_safe(list,tmp,evsel) global() argument 341 evlist__for_each_entry_safe(evlist,tmp,evsel) global() argument 349 struct evsel *evsel; global() member [all...] |
H A D | evlist.c | 110 struct evsel *evsel; evlist__new_default() local 148 struct evsel *evsel; evlist__update_id_pos() local 200 evlist__remove(struct evlist * evlist,struct evsel * evsel) evlist__remove() argument 209 struct evsel *evsel, *temp, *leader = NULL; evlist__splice_list_tail() local 235 struct evsel *evsel = evlist__find_tracepoint_by_name(evlist, assocs[i].name); __evlist__set_tracepoints_handlers() local 271 struct evsel *evsel = evlist__dummy_event(evlist); evlist__add_dummy() local 282 struct evsel *evsel = evlist__dummy_event(evlist); evlist__add_aux_dummy() local 301 struct evsel *evsel = evsel__newtp_idx("sched", "sched_switch", 0); evlist__add_sched_switch() local 319 struct evsel *evsel, *n; evlist__add_attrs() local 362 struct evsel *evsel; evlist__find_tracepoint_by_id() local 375 struct evsel *evsel; evlist__find_tracepoint_by_name() local 389 struct evsel *evsel = evsel__newtp(sys, name); evlist__add_newtp() local 838 struct evsel *evsel = container_of(_evsel, struct evsel, core); perf_evlist__mmap_cb_idx() local 1090 struct evsel *evsel; evlist__apply_filters() local 1123 struct evsel *evsel; evlist__set_tp_filter() local 1143 struct evsel *evsel; evlist__append_tp_filter() local 1236 struct evsel *evsel; __evlist__combined_sample_type() local 1255 struct evsel *evsel; evlist__combined_branch_type() local 1310 evlist__set_selected(struct evlist * evlist,struct evsel * evsel) evlist__set_selected() argument 1317 struct evsel *evsel; evlist__close() local 1381 struct evsel *evsel; evlist__open() local 1550 struct evsel *evsel = evlist__event2evsel(evlist, event); evlist__parse_sample() local 1571 struct evsel *evsel = evlist__event2evsel(evlist, event); evlist__parse_sample_timestamp() local 1664 struct evsel *evsel, *n; evlist__to_front() local 1680 struct evsel *evsel; evlist__get_tracking_event() local 1692 struct evsel *evsel; evlist__set_tracking_event() local 1707 struct evsel *evsel; evlist__findnew_tracking_event() local 1725 struct evsel *evsel; evlist__find_evsel_by_str() local 1796 struct evsel *evsel; evlist__exclude_kernel() local 1821 evlist__reset_weak_group(struct evlist * evsel_list,struct evsel * evsel,bool close) evlist__reset_weak_group() argument 2086 struct evsel *evsel; evlist__ctlfd_enable() local 2127 struct evsel *evsel; evlist__ctlfd_list() local 2437 struct evsel *evsel; evlist__find_evsel() local 2448 struct evsel *evsel; evlist__scnprintf_evsels() local 2467 struct evsel *leader, *evsel, *pos; evlist__check_mem_load_aux() local [all...] |
H A D | bpf_counter_cgroup.c | 47 struct evsel *evsel; in bperf_load_program() local 170 bperf_cgrp__load(struct evsel * evsel,struct target * target __maybe_unused) bperf_cgrp__load() argument 211 bperf_cgrp__enable(struct evsel * evsel) bperf_cgrp__enable() argument 222 bperf_cgrp__disable(struct evsel * evsel) bperf_cgrp__disable() argument 233 bperf_cgrp__read(struct evsel * evsel) bperf_cgrp__read() argument 277 bperf_cgrp__destroy(struct evsel * evsel) bperf_cgrp__destroy() 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 41 evsel__config_term_mask(struct evsel * evsel) evsel__config_term_mask() argument 53 evsel__config_leader_sampling(struct evsel * evsel,struct evlist * evlist) evsel__config_leader_sampling() argument 97 struct evsel *evsel; evlist__config() local 224 struct evsel *evsel; evlist__can_select_event() local [all...] |
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()
|
/linux/tools/perf/tests/ |
H A D | parse-events.c | 37 static bool test_config(const struct evsel *evsel, __u64 expected_config) in test_config() argument 52 static bool test_perf_config(const struct perf_evsel *evsel, __u64 expected_config) in test_perf_config() argument 87 struct evsel *evsel = evlist__first(evlist); in test__checkevent_tracepoint() local 100 struct evsel *evsel; test__checkevent_tracepoint_multi() local 119 struct perf_evsel *evsel; test__checkevent_raw() local 157 struct evsel *evsel = evlist__first(evlist); test__checkevent_numeric() local 166 assert_hw(struct perf_evsel * evsel,enum perf_hw_id id,const char * name) assert_hw() argument 183 struct perf_evsel *evsel; test__checkevent_symbolic_name() local 199 struct perf_evsel *evsel; test__checkevent_symbolic_name_config() local 221 struct evsel *evsel = evlist__first(evlist); test__checkevent_symbolic_alias() local 231 struct perf_evsel *evsel; test__checkevent_genhw() local 244 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint() local 258 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_x() local 271 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_r() local 286 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_w() local 301 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_rw() local 317 struct evsel *evsel = evlist__first(evlist); test__checkevent_tracepoint_modifier() local 330 struct perf_evsel *evsel; test__checkevent_tracepoint_multi_modifier() local 347 struct perf_evsel *evsel; test__checkevent_raw_modifier() local 360 struct perf_evsel *evsel; test__checkevent_numeric_modifier() local 373 struct perf_evsel *evsel; test__checkevent_symbolic_name_modifier() local 389 struct perf_evsel *evsel; test__checkevent_exclude_host_modifier() local 400 struct perf_evsel *evsel; test__checkevent_exclude_guest_modifier() local 411 struct evsel *evsel = evlist__first(evlist); test__checkevent_symbolic_alias_modifier() local 423 struct perf_evsel *evsel; test__checkevent_genhw_modifier() local 436 struct evsel *evsel = evlist__first(evlist); test__checkevent_exclude_idle_modifier() local 451 struct evsel *evsel = evlist__first(evlist); test__checkevent_exclude_idle_modifier_1() local 466 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_modifier() local 481 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_x_modifier() local 495 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_r_modifier() local 509 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_w_modifier() local 523 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_rw_modifier() local 537 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_modifier_name() local 551 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_x_modifier_name() local 565 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_r_modifier_name() local 579 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_w_modifier_name() local 593 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_rw_modifier_name() local 607 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_2_events() local 625 struct evsel *evsel = evlist__first(evlist); test__checkevent_pmu() local 645 struct evsel *evsel = evlist__first(evlist); test__checkevent_list() local 688 struct evsel *evsel = evlist__first(evlist); test__checkevent_pmu_name() local 709 struct evsel *evsel = evlist__first(evlist); test__checkevent_pmu_partial_time_callgraph() local 740 struct evsel *evsel = evlist__first(evlist); test__checkevent_pmu_events() local 760 struct evsel *evsel = NULL; test__checkevent_pmu_events_mix() local 876 struct evsel *evsel, *leader; test__group1() local 925 struct evsel *evsel, *leader = NULL; test__group2() local 989 struct evsel *evsel, *group1_leader = NULL, *group2_leader = NULL; test__group3() local 1098 struct evsel *evsel, *leader; test__group4() local 1149 struct evsel *evsel = NULL, *leader; test__group5() local 1246 struct evsel *evsel = NULL, *leader; test__group_gh1() local 1293 struct evsel *evsel = NULL, *leader; test__group_gh2() local 1340 struct evsel *evsel = NULL, *leader; test__group_gh3() local 1387 struct evsel *evsel = NULL, *leader; test__group_gh4() local 1434 struct evsel *evsel = NULL, *leader; test__leader_sample1() local 1494 struct evsel *evsel = NULL, *leader; test__leader_sample2() local 1539 struct evsel *evsel = NULL; test__checkevent_pinned_modifier() local 1557 struct evsel *evsel = NULL, *leader; test__pinned_group() local 1598 struct evsel *evsel = evlist__first(evlist); test__checkevent_exclusive_modifier() local 1611 struct evsel *evsel = NULL, *leader; test__exclusive_group() local 1651 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_len() local 1666 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_len_w() local 1682 struct evsel *evsel = evlist__first(evlist); test__checkevent_breakpoint_len_rw_modifier() local 1694 struct evsel *evsel = evlist__first(evlist); test__checkevent_precise_max_modifier() local 1705 struct evsel *evsel = evlist__first(evlist); test__checkevent_config_symbol() local 1713 struct evsel *evsel = evlist__first(evlist); test__checkevent_config_raw() local 1721 struct evsel *evsel = evlist__first(evlist); test__checkevent_config_num() local 1729 struct evsel *evsel = evlist__first(evlist); test__checkevent_config_cache() local 1757 struct evsel *evsel = evlist__first(evlist); test__intel_pt() local 1765 struct evsel *evsel = evlist__first(evlist); test__checkevent_complex_name() local 1775 struct evsel *evsel = evlist__first(evlist); test__checkevent_raw_pmu() local 1785 struct evsel *evsel = evlist__first(evlist); test__sym_event_slash() local 1797 struct evsel *evsel = evlist__first(evlist); test__sym_event_dc() local 1809 struct evsel *evsel = evlist__first(evlist); test__term_equal_term() local 1821 struct evsel *evsel = evlist__first(evlist); test__term_equal_legacy() 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() argument 240 test2(struct evsel * evsel,struct machine * machine) test2() argument 296 test3(struct evsel * evsel,struct machine * machine) test3() argument 370 test4(struct evsel * evsel,struct machine * machine) test4() argument 472 test5(struct evsel * evsel,struct machine * machine) test5() argument 596 struct evsel *evsel; test__hists_output() local [all...] |
/linux/tools/lib/perf/ |
H A D | evsel.c | 22 void perf_evsel__init(struct perf_evsel *evsel, struct perf_event_attr *attr, in perf_evsel__init() 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() 52 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd() 72 static int perf_evsel__alloc_mmap(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_mmap() 87 static int get_group_fd(struct perf_evsel *evsel, int cpu_map_idx, int thread, int *group_fd) in get_group_fd() 113 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, in perf_evsel__open() 180 static void perf_evsel__close_fd_cpu(struct perf_evsel *evsel, int cpu_map_idx) in perf_evsel__close_fd_cpu() 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() [all …]
|
H A D | evlist.c | 37 struct perf_evsel *evsel) in __perf_evlist__propagate_maps() 83 struct perf_evsel *evsel; in perf_evlist__propagate_maps() local 92 struct perf_evsel *evsel) in perf_evlist__add() 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 250 struct perf_evsel *evsel, in perf_evlist__id_hash() 271 struct perf_evsel *evsel, in perf_evlist__id_add() [all …]
|
/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() 15 static bool test_perf_config(const struct perf_evsel *evsel, __u64 expected_config) in test_perf_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 [all …]
|
/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; ___evlist__add_default_attrs() local [all...] |
/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
|
/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()
|
/linux/tools/perf/ |
H A D | builtin-kwork.c | 450 struct evsel *evsel, in work_push_atom() argument 509 struct evsel *evsel, in work_pop_atom() argument 601 struct evsel *evsel, in report_entry_event() argument 612 report_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) report_exit_event() argument 656 latency_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_raise_event() argument 667 latency_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) latency_entry_event() argument 690 timehist_save_callchain(struct perf_kwork * kwork,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) timehist_save_callchain() argument 815 timehist_raise_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_raise_event() argument 826 timehist_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_entry_event() argument 847 timehist_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) timehist_exit_event() argument 898 top_entry_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_entry_event() argument 909 top_exit_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_exit_event() argument 939 top_sched_switch_event(struct perf_kwork * kwork,struct kwork_class * class,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) top_sched_switch_event() argument 962 process_irq_handler_entry_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_entry_event() argument 975 process_irq_handler_exit_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_irq_handler_exit_event() argument 1008 irq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) irq_work_init() argument 1041 process_softirq_raise_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_raise_event() argument 1055 process_softirq_entry_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_entry_event() argument 1069 process_softirq_exit_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_softirq_exit_event() argument 1101 evsel__softirq_name(struct evsel * evsel,u64 num) evsel__softirq_name() argument 1135 softirq_work_init(struct perf_kwork * kwork,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) softirq_work_init() argument 1171 process_workqueue_activate_work_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_activate_work_event() argument 1185 process_workqueue_execute_start_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_start_event() argument 1199 process_workqueue_execute_end_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_workqueue_execute_end_event() argument 1235 workqueue_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type __maybe_unused,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) workqueue_work_init() argument 1270 process_sched_switch_event(struct perf_tool * tool,struct evsel * evsel,struct perf_sample * sample,struct machine * machine) process_sched_switch_event() argument 1303 sched_work_init(struct perf_kwork * kwork __maybe_unused,struct kwork_class * class,struct kwork_work * work,enum kwork_trace_type src_type,struct evsel * evsel,struct perf_sample * sample,struct machine * machine __maybe_unused) sched_work_init() argument 1714 struct evsel *evsel; perf_kwork__check_config() local 1956 perf_kwork__process_tracepoint_sample(struct perf_tool * tool,union perf_event * event __maybe_unused,struct perf_sample * sample,struct evsel * evsel,struct machine * machine) perf_kwork__process_tracepoint_sample() argument [all...] |
/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
|
H 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
|