/linux-master/tools/perf/arch/x86/util/ |
H A D | auxtrace.c | 25 struct evsel *evsel; local 32 evlist__for_each_entry(evlist, evsel) { 33 if (intel_pt_pmu && evsel->core.attr.type == intel_pt_pmu->type) 35 if (intel_bts_pmu && evsel->core.attr.type == intel_bts_pmu->type)
|
H A D | evlist.c | 9 #include "evsel.h" 28 struct evsel *evsel = evsel__new(attrs + i); local 30 if (evsel == NULL) 32 list_add_tail(&evsel->core.node, &head); 38 struct evsel *evsel; local 40 evsel = evsel__new(attrs + i); 41 if (evsel == NULL) 43 evsel 58 struct evsel *evsel, *n; local [all...] |
H A D | evsel.c | 4 #include "util/evsel.h" 9 #include "evsel.h" 16 void arch_evsel__set_sample_weight(struct evsel *evsel) argument 18 evsel__set_sample_bit(evsel, WEIGHT_STRUCT); 21 /* Check whether the evsel's PMU supports the perf metrics */ 22 bool evsel__sys_has_perf_metrics(const struct evsel *evsel) argument 24 const char *pmu_name = evsel->pmu_name ? evsel 41 arch_evsel__must_be_in_group(const struct evsel *evsel) argument 50 arch_evsel__hw_name(struct evsel *evsel, char *bf, size_t size) argument 77 arch__post_evsel_config(struct evsel *evsel, struct perf_event_attr *attr) argument 105 arch_evsel__open_strerror(struct evsel *evsel, char *msg, size_t size) argument [all...] |
H A D | evsel.h | 5 bool evsel__sys_has_perf_metrics(const struct evsel *evsel);
|
H A D | intel-bts.c | 16 #include "../../../util/evsel.h" 112 struct evsel *evsel, *intel_bts_evsel = NULL; local 124 evlist__for_each_entry(evlist, evsel) { 125 if (evsel->core.attr.type == intel_bts_pmu->type) { 130 evsel->core.attr.freq = 0; 131 evsel->core.attr.sample_period = 1; 132 evsel->needs_auxtrace_mmap = true; 133 intel_bts_evsel = evsel; 233 struct evsel *tracking_evse 326 struct evsel *evsel; local 339 struct evsel *evsel; local [all...] |
H A D | intel-pt.c | 20 #include "../../../util/evsel.h" 115 struct evsel *evsel; local 124 evlist__for_each_entry(evlist, evsel) { 125 if (evsel->core.attr.type == intel_pt_pmu->type) { 126 *res = intel_pt_masked_bits(mask, evsel->core.attr.config); 275 struct evsel *evsel; local 277 evlist__for_each_entry(evlist, evsel) { 278 if (evsel 411 struct evsel *evsel; local 517 intel_pt_validate_config(struct perf_pmu *intel_pt_pmu, struct evsel *evsel) argument 564 struct evsel *evsel; local 584 struct evsel *evsel; local 606 struct evsel *evsel, *intel_pt_evsel = NULL; local 885 struct evsel *evsel; local 898 struct evsel *evsel; local [all...] |
H A D | iostat.c | 309 struct evsel *evsel = NULL; local 325 evlist__for_each_entry(evl, evsel) { 326 evsel->priv = list->rps[evsel->core.idx / metrics_count]; 375 struct evsel *evsel; local 378 evlist__for_each_entry(evlist, evsel) { 379 if (rp != evsel->priv) { 380 rp = evsel 388 struct evsel *evsel; local 427 iostat_print_metric(struct perf_stat_config *config, struct evsel *evsel, struct perf_stat_output_ctx *out) argument [all...] |
H A D | kvm-stat.c | 5 #include "../../../util/evsel.h" 30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, argument 33 key->key = evsel__intval(evsel, sample, "gpa"); 34 key->info = evsel__intval(evsel, sample, "type"); 41 static bool mmio_event_begin(struct evsel *evsel, argument 45 if (kvm_exit_event(evsel)) 49 if (evsel__name_is(evsel, "kvm:kvm_mmio") && 50 evsel__intval(evsel, sampl 58 mmio_event_end(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 92 ioport_event_get_key(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 100 ioport_event_begin(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 112 ioport_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument 136 msr_event_get_key(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 144 msr_event_begin(struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 156 msr_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument [all...] |
H A D | topdown.c | 3 #include "util/evsel.h" 8 #include "evsel.h" 42 bool arch_topdown_sample_read(struct evsel *leader)
|
/linux-master/tools/perf/bench/ |
H A D | evlist-open-close.c | 10 #include "../util/evsel.h" 70 struct evsel *evsel; local 73 evlist__for_each_entry(evlist, evsel) 74 cnt += evsel->core.threads->nr * perf_cpu_map__nr(evsel->core.cpus);
|
/linux-master/tools/perf/ |
H A D | builtin-annotate.c | 21 #include "util/evsel.h" 177 struct evsel *evsel = iter->evsel; local 181 err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); 186 err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); 192 static int process_branch_callback(struct evsel *evsel, argument 199 .evsel = evsel, 235 evsel__add_sample(struct evsel *evsel, struct perf_sample *sample, struct addr_location *al, struct perf_annotate *ann, struct machine *machine) argument 280 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 320 hist_entry__tty_annotate(struct hist_entry *he, struct evsel *evsel, struct perf_annotate *ann) argument 330 print_annotated_data_header(struct hist_entry *he, struct evsel *evsel) argument 360 print_annotated_data_type(struct annotated_data_type *mem_type, struct annotated_member *member, struct evsel *evsel, int indent) argument 474 hists__find_annotations(struct hists *hists, struct evsel *evsel, struct perf_annotate *ann) argument [all...] |
H A D | builtin-c2c.c | 37 #include "evsel.h" 278 struct evsel *evsel, 303 evsel, &al, sysctl_perf_event_max_stack); 2518 struct evsel *evsel; local 2525 evlist__for_each_entry(evlist, evsel) { 2526 fprintf(out, "%-36s: %s\n", first ? " Events" : "", evsel__name(evsel)); 275 process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument
|
H A D | builtin-diff.c | 13 #include "util/evsel.h" 394 struct evsel *evsel, 399 struct hists *hists = evsel__hists(evsel); 401 .evsel = evsel, 486 static struct evsel *evsel_match(struct evsel *evsel, argument 489 struct evsel * 391 diff__process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 501 struct evsel *evsel; local 988 struct evsel *evsel; local [all...] |
H A D | builtin-evlist.c | 11 #include "util/evsel.h" 32 struct evsel *pos;
|
H A D | builtin-inject.c | 15 #include "util/evsel.h" 347 struct evsel *evsel, 353 struct evsel *evsel, 359 if (evsel && evsel->handler) { 360 inject_handler f = evsel->handler; 361 return f(tool, event, sample, evsel, machine); 364 build_id__mark_dso_hit(tool, event, sample, evsel, machin 350 perf_event__repipe_sample(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 800 perf_inject__sched_switch(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 825 perf_inject__sched_stat(struct perf_tool *tool, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 975 struct evsel *evsel; local 995 struct evsel *evsel; local 1045 guest_session__add_attr(struct guest_session *gs, struct evsel *evsel) argument 1104 struct evsel *evsel; local 1155 struct evsel *evsel; local 1433 struct evsel *evsel; local 1506 struct evsel *evsel = evlist__id2evsel(gs->session->evlist, id); local 1704 evsel__check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg) argument 1730 struct evsel *evsel; local 2001 struct evsel *evsel; local [all...] |
H A D | builtin-kmem.c | 6 #include "util/evsel.h" 174 static int evsel__process_alloc_event(struct evsel *evsel, struct perf_sample *sample) argument 176 unsigned long ptr = evsel__intval(evsel, sample, "ptr"), 177 call_site = evsel__intval(evsel, sample, "call_site"); 178 int bytes_req = evsel__intval(evsel, sample, "bytes_req"), 179 bytes_alloc = evsel__intval(evsel, sample, "bytes_alloc"); 201 if (evsel__field(evsel, "node")) { 205 node2 = evsel__intval(evsel, sample, "node"); 246 static int evsel__process_free_event(struct evsel *evse argument 397 find_callsite(struct evsel *evsel, struct perf_sample *sample) argument 754 parse_gfp_flags(struct evsel *evsel, struct perf_sample *sample, unsigned int gfp_flags) argument 806 evsel__process_page_alloc_event(struct evsel *evsel, struct perf_sample *sample) argument 878 evsel__process_page_free_event(struct evsel *evsel, struct perf_sample *sample) argument 958 process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 1388 struct evsel *evsel; local 2015 struct evsel *evsel = evlist__find_tracepoint_by_name(session->evlist, "kmem:mm_page_alloc"); local [all...] |
H A D | builtin-kvm.c | 6 #include "util/evsel.h" 618 void exit_event_get_key(struct evsel *evsel, argument 623 key->key = evsel__intval(evsel, sample, kvm_exit_reason); 626 bool kvm_exit_event(struct evsel *evsel) argument 628 return evsel__name_is(evsel, kvm_exit_trace); 631 bool exit_event_begin(struct evsel *evsel, argument 634 if (kvm_exit_event(evsel)) { 642 kvm_entry_event(struct evsel *evsel) argument 647 exit_event_end(struct evsel *evsel, struct perf_sample *sample __maybe_unused, struct event_key *key __maybe_unused) argument 868 is_child_event(struct perf_kvm_stat *kvm, struct evsel *evsel, struct perf_sample *sample, struct event_key *key) argument 978 per_vcpu_record(struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument 999 handle_kvm_event(struct perf_kvm_stat *kvm, struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument 1190 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument [all...] |
H A D | builtin-kwork.c | 12 #include "util/evsel.h" 450 struct evsel *evsel, 460 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); 509 struct evsel *evsel, 518 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); 601 struct evsel *evsel, 606 KWORK_TRACE_MAX, evsel, sampl 446 work_push_atom(struct perf_kwork *kwork, struct kwork_class *class, enum kwork_trace_type src_type, enum kwork_trace_type dst_type, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct kwork_work **ret_work, bool overwrite) argument 505 work_pop_atom(struct perf_kwork *kwork, struct kwork_class *class, enum kwork_trace_type src_type, enum kwork_trace_type dst_type, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct kwork_work **ret_work) argument 599 report_entry_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 610 report_exit_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 654 latency_raise_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 665 latency_entry_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 688 timehist_save_callchain(struct perf_kwork *kwork, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 813 timehist_raise_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 824 timehist_entry_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 845 timehist_exit_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 896 top_entry_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 907 top_exit_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 937 top_sched_switch_event(struct perf_kwork *kwork, struct kwork_class *class, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 961 process_irq_handler_entry_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 974 process_irq_handler_exit_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1004 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) argument 1040 process_softirq_raise_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1054 process_softirq_entry_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1068 process_softirq_exit_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1101 evsel__softirq_name(struct evsel *evsel, u64 num) argument 1131 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) argument 1170 process_workqueue_activate_work_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1184 process_workqueue_execute_start_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1198 process_workqueue_execute_end_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1231 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) argument 1269 process_sched_switch_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1299 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) argument 1714 struct evsel *evsel; local 1953 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) argument [all...] |
H A D | builtin-lock.c | 8 #include "util/evsel.h" 569 int (*acquire_event)(struct evsel *evsel, 573 int (*acquired_event)(struct evsel *evsel, 577 int (*contended_event)(struct evsel *evsel, 581 int (*release_event)(struct evsel *evsel, 585 int (*contention_begin_event)(struct evsel *evse 649 get_key_by_aggr_mode(u64 *key, u64 addr, struct evsel *evsel, struct perf_sample *sample) argument 659 report_lock_acquire_event(struct evsel *evsel, struct perf_sample *sample) argument 734 report_lock_acquired_event(struct evsel *evsel, struct perf_sample *sample) argument 800 report_lock_contended_event(struct evsel *evsel, struct perf_sample *sample) argument 858 report_lock_release_event(struct evsel *evsel, struct perf_sample *sample) argument 937 lock_contention_caller(struct evsel *evsel, struct perf_sample *sample, char *buf, int size) argument 992 callchain_id(struct evsel *evsel, struct perf_sample *sample) argument 1059 report_lock_contention_begin_event(struct evsel *evsel, struct perf_sample *sample) argument 1223 report_lock_contention_end_event(struct evsel *evsel, struct perf_sample *sample) argument 1304 evsel__process_lock_acquire(struct evsel *evsel, struct perf_sample *sample) argument 1311 evsel__process_lock_acquired(struct evsel *evsel, struct perf_sample *sample) argument 1318 evsel__process_lock_contended(struct evsel *evsel, struct perf_sample *sample) argument 1325 evsel__process_lock_release(struct evsel *evsel, struct perf_sample *sample) argument 1332 evsel__process_contention_begin(struct evsel *evsel, struct perf_sample *sample) argument 1339 evsel__process_contention_end(struct evsel *evsel, struct perf_sample *sample) argument 1527 process_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument [all...] |
H A D | builtin-mem.c | 268 struct evsel *evsel __maybe_unused,
|
H A D | builtin-record.c | 22 #include "util/evsel.h" 894 struct evsel *evsel; local 897 evlist__for_each_entry(evlist, evsel) { 898 if (evsel->core.attr.text_poke) 902 evsel = evlist__add_dummy_on_all_cpus(evlist); 903 if (!evsel) 906 evsel->core.attr.text_poke = 1; 907 evsel->core.attr.ksymbol = 1; 908 evsel 922 struct evsel *evsel; local 943 struct evsel *evsel; local 1421 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 1906 __record__save_lost_samples(struct record *rec, struct evsel *evsel, struct perf_record_lost_samples *lost, int cpu_idx, int thread_idx, u64 lost_count, u16 misc_flag) argument 1932 struct evsel *evsel; local [all...] |
H A D | builtin-report.c | 31 #include "util/evsel.h" 170 struct evsel *evsel = iter->evsel; local 180 err = addr_map_symbol__inc_samples(&bi->from, sample, evsel); 184 err = addr_map_symbol__inc_samples(&bi->to, sample, evsel); 188 err = addr_map_symbol__inc_samples(&mi->daddr, sample, evsel); 192 err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); 196 err = hist_entry__inc_addr_samples(he, sample, evsel, al->addr); 198 err = hist_entry__inc_addr_samples(he, sample, evsel, a 214 struct evsel *evsel = iter->evsel; local 265 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 341 process_read_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct evsel *evsel, struct machine *machine __maybe_unused) argument 370 struct evsel *evsel; local 479 struct evsel *evsel = hists_to_evsel(hists); local 745 struct evsel *evsel = hists_to_evsel(he->hists); local 767 count_sample_event(struct perf_tool *tool __maybe_unused, union perf_event *event __maybe_unused, struct perf_sample *sample __maybe_unused, struct evsel *evsel, struct machine *machine __maybe_unused) argument 785 struct evsel *evsel; local [all...] |
H A D | builtin-sched.c | 7 #include "util/evsel.h" 129 int (*switch_event)(struct perf_sched *sched, struct evsel *evsel, 132 int (*runtime_event)(struct perf_sched *sched, struct evsel *evsel, 135 int (*wakeup_event)(struct perf_sched *sched, struct evsel *evsel, 143 struct evsel *evsel, 816 struct evsel *evse 815 replay_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine __maybe_unused) argument 836 replay_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine __maybe_unused) argument 1103 latency_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1173 latency_runtime_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1208 latency_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1269 latency_migrate_task_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1488 process_sched_wakeup_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1541 map_switch_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1686 process_sched_switch_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1712 process_sched_runtime_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1742 process_sched_migrate_task_event(struct perf_tool *tool, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 1760 perf_sched__process_tracepoint_sample(struct perf_tool *tool __maybe_unused, union perf_event *event __maybe_unused, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 1876 evsel__get_runtime(struct evsel *evsel) argument 1891 evsel__save_time(struct evsel *evsel, u64 timestamp, u32 cpu) argument 1917 evsel__get_time(struct evsel *evsel, u32 cpu) argument 2011 timehist_print_sample(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct addr_location *al, struct thread *thread, u64 t, const char state) argument 2147 is_idle_sample(struct perf_sample *sample, struct evsel *evsel) argument 2157 save_task_callchain(struct perf_sched *sched, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 2318 timehist_get_thread(struct perf_sched *sched, struct perf_sample *sample, struct machine *machine, struct evsel *evsel) argument 2365 timehist_skip_sample(struct perf_sched *sched, struct thread *thread, struct evsel *evsel, struct perf_sample *sample) argument 2388 timehist_print_wakeup_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct thread *awakened) argument 2431 timehist_sched_wakeup_event(struct perf_tool *tool, union perf_event *event __maybe_unused, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 2462 timehist_print_migration_event(struct perf_sched *sched, struct evsel *evsel, struct perf_sample *sample, struct machine *machine, struct thread *migrated) argument 2515 timehist_migrate_task_event(struct perf_tool *tool, union perf_event *event __maybe_unused, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 2543 timehist_sched_change_event(struct perf_tool *tool, union perf_event *event, struct evsel *evsel, struct perf_sample *sample, struct machine *machine) argument 2671 timehist_sched_switch_event(struct perf_tool *tool, union perf_event *event, struct evsel *evsel, struct perf_sample *sample, struct machine *machine __maybe_unused) argument 2929 perf_timehist__process_sample(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 2956 struct evsel *evsel; local [all...] |
H A D | builtin-script.c | 20 #include "util/evsel.h" 339 static inline struct evsel_script *evsel_script(struct evsel *evsel) argument 341 return (struct evsel_script *)evsel->priv; 344 static struct evsel_script *evsel_script__new(struct evsel *evsel, struct perf_data *data) argument 349 if (asprintf(&es->filename, "%s.%s.dump", data->file.path, evsel__name(evsel)) < 0) 420 static int evsel__do_check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg, argument 423 struct perf_event_attr *attr = &evsel 450 evsel__check_stype(struct evsel *evsel, u64 sample_type, const char *sample_msg, enum perf_output_field field) argument 456 evsel__check_attr(struct evsel *evsel, struct perf_session *session) argument 595 struct evsel *evsel; local 614 struct evsel *evsel; local 776 perf_sample__fprintf_start(struct perf_script *script, struct perf_sample *sample, struct thread *thread, struct evsel *evsel, u32 type, FILE *fp) argument 1423 resolve_branch_sym(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, u64 *ip) argument 1453 perf_sample__fprintf_callindent(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, FILE *fp) argument 1556 perf_sample__fprintf_bts(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al, struct machine *machine, FILE *fp) argument 1976 perf_sample__fprintf_synth(struct perf_sample *sample, struct evsel *evsel, FILE *fp) argument 2007 struct evsel *evsel; local 2039 struct evsel *evsel; member in struct:metric_ctx 2072 perf_sample__fprint_metric(struct perf_script *script, struct thread *thread, struct evsel *evsel, struct perf_sample *sample, FILE *fp) argument 2111 show_event(struct perf_sample *sample, struct evsel *evsel, struct thread *thread, struct addr_location *al, struct addr_location *addr_al) argument 2153 process_event(struct perf_script *script, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al, struct machine *machine) argument 2364 process_sample_event(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 2456 struct evsel *evsel, *pos; local 2525 struct evsel *evsel = evlist__id2evsel(session->evlist, sample->id); local 2740 struct evsel *evsel; local 2752 struct evsel *evsel; local 2779 struct evsel *evsel; local 2794 struct evsel *evsel; local [all...] |
H A D | builtin-stat.c | 51 #include "util/evsel.h" 167 static bool cpus_map_matched(struct evsel *a, struct evsel *b) 189 struct evsel *evsel, *warned_leader = NULL; local 191 evlist__for_each_entry(evlist, evsel) { 192 struct evsel *leader = evsel__leader(evsel); 195 if (leader == evsel) 197 if (cpus_map_matched(leader, evsel)) 471 struct evsel *evsel; local [all...] |