/linux-master/tools/perf/util/ |
H A D | metricgroup.c | 11 #include "evsel.h" 36 struct evsel *evsel, 41 .evsel = evsel 47 if (evsel && evsel->metric_leader) 48 me.evsel = evsel->metric_leader; 68 if (a->evsel 35 metricgroup__lookup(struct rblist *metric_events, struct evsel *evsel, bool create) argument 1788 struct evsel *evsel; local [all...] |
H A D | amd-sample-raw.c | 269 struct evsel *evsel; local 274 evsel = evlist__event2evsel(evlist, event); 275 if (!evsel) 278 if (evsel->core.attr.type == ibs_fetch_type) { 284 } else if (evsel->core.attr.type == ibs_op_type) {
|
H A D | db-export.c | 11 #include "evsel.h" 36 int db_export__evsel(struct db_export *dbe, struct evsel *evsel) argument 38 if (evsel->db_id) 41 evsel->db_id = ++dbe->evsel_last_db_id; 44 return dbe->export_evsel(dbe, evsel); 213 struct evsel *evsel) 231 err = thread__resolve_callchain(thread, cursor, evsel, 349 struct perf_sample *sample, struct evsel *evse 209 call_path_from_sample(struct db_export *dbe, struct machine *machine, struct thread *thread, struct perf_sample *sample, struct evsel *evsel) argument 348 db_export__sample(struct db_export *dbe, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument [all...] |
H A D | arm-spe.c | 23 #include "evsel.h" 789 struct evsel *evsel; local 797 evlist__for_each_entry(evlist, evsel) { 798 if ((evsel->core.attr.sample_type & PERF_SAMPLE_TIME)) 1057 struct evsel *evsel) 1061 return evsel->core.attr.type == spe->pmu_type; 1108 struct evsel *evsel; local 1056 arm_spe_evsel_is_auxtrace(struct perf_session *session, struct evsel *evsel) argument 1124 struct evsel *evsel; local [all...] |
H A D | hist.c | 18 #include "evsel.h" 837 struct hists *hists = evsel__hists(iter->evsel); 870 struct evsel *evsel = iter->evsel; local 871 struct hists *hists = evsel__hists(evsel); 943 struct evsel *evsel = iter->evsel; local 944 struct hists *hists = evsel__hists(evsel); 995 struct evsel *evsel = iter->evsel; local 1013 struct evsel *evsel = iter->evsel; local 1057 struct evsel *evsel = iter->evsel; local 1116 struct evsel *evsel = iter->evsel; local 1973 evsel__output_resort_cb(struct evsel *evsel, struct ui_progress *prog, hists__resort_cb_t cb, void *cb_arg) argument 1988 evsel__output_resort(struct evsel *evsel, struct ui_progress *prog) argument 2749 struct evsel *evsel = hists_to_evsel(hists); local 2878 hists_evsel__exit(struct evsel *evsel) argument 2896 hists_evsel__init(struct evsel *evsel) argument [all...] |
H A D | annotate.c | 29 #include "evsel.h" 867 /* symbol histogram: key = offset << 16 | evsel->core.idx */ 1079 struct evsel *evsel, u64 addr, 1087 src = symbol__hists(sym, evsel->evlist->core.nr_entries); 1088 return src ? __symbol__inc_addr_samples(ms, src, evsel->core.idx, addr, sample) : 0; 1261 struct evsel *evsel) 1263 return symbol__inc_addr_samples(&ams->ms, evsel, ams->al_addr, sample); 1267 struct evsel *evse 1078 symbol__inc_addr_samples(struct map_symbol *ms, struct evsel *evsel, u64 addr, struct perf_sample *sample) argument 1260 addr_map_symbol__inc_samples(struct addr_map_symbol *ams, struct perf_sample *sample, struct evsel *evsel) argument 1266 hist_entry__inc_addr_samples(struct hist_entry *he, struct perf_sample *sample, struct evsel *evsel, u64 ip) argument 1314 struct evsel *evsel; member in struct:annotate_args 1579 annotation_line__print(struct annotation_line *al, struct symbol *sym, u64 start, struct evsel *evsel, u64 len, int min_pcnt, int printed, int max_lines, struct annotation_line *queue, int addr_fmt_width, int percent_type) argument 2345 calc_percent(struct annotation *notes, struct evsel *evsel, struct annotation_data *data, s64 offset, s64 end) argument 2387 struct evsel *evsel; local 2411 symbol__calc_percent(struct symbol *sym, struct evsel *evsel) argument 2418 evsel__get_arch(struct evsel *evsel, struct arch **parch) argument 2445 symbol__annotate(struct map_symbol *ms, struct evsel *evsel, struct arch **parch) argument 2602 symbol__annotate_hits(struct symbol *sym, struct evsel *evsel) argument 2633 symbol__annotate_printf(struct map_symbol *ms, struct evsel *evsel) argument 2798 map_symbol__annotation_dump(struct map_symbol *ms, struct evsel *evsel) argument 3066 symbol__tty_annotate2(struct map_symbol *ms, struct evsel *evsel) argument 3102 symbol__tty_annotate(struct map_symbol *ms, struct evsel *evsel) argument 3381 symbol__annotate2(struct map_symbol *ms, struct evsel *evsel, struct arch **parch) argument 3699 symbol__ensure_annotate(struct map_symbol *ms, struct evsel *evsel) argument 3815 struct evsel *evsel = hists_to_evsel(he->hists); local [all...] |
H A D | synthetic-events.c | 27 #include <perf/evsel.h> 1833 struct evsel *evsel; local 1844 evlist__for_each_entry(evlist, evsel) { 1847 nr += evsel->core.ids; 1867 evlist__for_each_entry(evlist, evsel) { 1872 for (j = 0; j < evsel->core.ids; j++, i++) { 1889 e->id = evsel->core.id[j]; 1988 int perf_event__synthesize_event_update_unit(struct perf_tool *tool, struct evsel *evsel, argument 2005 perf_event__synthesize_event_update_scale(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) argument 2022 perf_event__synthesize_event_update_name(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) argument 2039 perf_event__synthesize_event_update_cpus(struct perf_tool *tool, struct evsel *evsel, perf_event__handler_t process) argument 2065 struct evsel *evsel; local 2080 has_unit(struct evsel *evsel) argument 2085 has_scale(struct evsel *evsel) argument 2093 struct evsel *evsel; local [all...] |
H A D | hisi-ptt.c | 22 #include "evsel.h" 150 struct evsel *evsel) 154 return evsel->core.attr.type == ptt->pmu_type; 149 hisi_ptt_evsel_is_auxtrace(struct perf_session *session, struct evsel *evsel) argument
|
H A D | session.h | 98 struct evsel *evsel, 138 struct evsel *perf_session__find_first_evtype(struct perf_session *session,
|
H A D | auxtrace.h | 25 struct evsel; 225 struct evsel *evsel); 359 * mmapping but not every evsel that needs non-auxtrace mmapping 509 struct evsel *evsel, int idx); 648 struct evsel *evsel); 867 struct evsel *evsel __maybe_unuse [all...] |
H A D | intel-bts.c | 18 #include "evsel.h" 732 struct evsel *evsel) 737 return evsel->core.attr.type == bts->pmu_type; 773 struct evsel *evsel; local 779 evlist__for_each_entry(evlist, evsel) { 780 if (evsel->core.attr.type == bts->pmu_type && evsel->core.ids) { 794 attr.sample_type = evsel 731 intel_bts_evsel_is_auxtrace(struct perf_session *session, struct evsel *evsel) argument [all...] |
H A D | sort.c | 20 #include "evsel.h" 939 struct evsel *evsel; local 945 evsel = hists_to_evsel(he->hists); 950 evsel->tp_format); 952 tep_print_event(evsel->tp_format->tep, 965 struct evsel *evsel; local 967 evsel = hists_to_evsel(left->hists); 968 if (evsel 982 struct evsel *evsel; local 2731 struct evsel *evsel; member in struct:hpp_dynamic_entry 2972 __alloc_dynamic_entry(struct evsel *evsel, struct tep_format_field *field, int level) argument 3073 struct evsel *evsel = NULL; local 3111 __dynamic_dimension__add(struct evsel *evsel, struct tep_format_field *field, bool raw_trace, int level) argument 3127 add_evsel_fields(struct evsel *evsel, bool raw_trace, int level) argument 3147 struct evsel *evsel; local 3164 struct evsel *evsel; local 3187 struct evsel *evsel; local 3519 struct evsel *evsel; local [all...] |
H A D | session.c | 21 #include "evsel.h" 170 struct evsel *evsel; local 172 evlist__for_each_entry(session->evlist, evsel) { 173 if (evsel->core.attr.comm_exec) 355 struct evsel *evsel __maybe_unused, 1142 static void callchain__printf(struct evsel *evsel, argument 1148 if (evsel__has_branch_callstack(evsel)) 1158 branch_stack__printf(struct perf_sample *sample, struct evsel *evsel) argument 1355 dump_sample(struct evsel *evsel, union perf_event *event, struct perf_sample *sample, const char *arch) argument 1413 dump_read(struct evsel *evsel, union perf_event *event) argument 1480 struct evsel *evsel; local 1524 evlist__deliver_sample(struct evlist *evlist, struct perf_tool *tool, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine) argument 1552 struct evsel *evsel; local 1919 struct evsel *evsel; local 2648 struct evsel *evsel; local 2754 struct evsel *evsel; local [all...] |
H A D | pmus.c | 15 #include "evsel.h" 590 struct perf_pmu *evsel__find_pmu(const struct evsel *evsel) argument 592 struct perf_pmu *pmu = evsel->pmu; 595 pmu = perf_pmus__find_by_type(evsel->core.attr.type); 596 ((struct evsel *)evsel)->pmu = pmu;
|
H A D | dlfilter.c | 18 #include "evsel.h" 284 return &d->evsel->core.attr; 493 struct evsel *evsel, 506 d->evsel = evsel; 563 (evsel->core.attr.sample_type & PERF_SAMPLE_ADDR) && 564 sample_addr_correlates_sym(&evsel->core.attr); 566 d_sample.event = evsel__name(evsel); 490 dlfilter__do_filter_event(struct dlfilter *d, union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct machine *machine, struct addr_location *al, struct addr_location *addr_al, bool early) argument
|
/linux-master/tools/perf/tests/ |
H A D | perf-record.c | 10 #include "evsel.h" 57 struct evsel *evsel; local 108 evsel = evlist__first(evlist); 109 evsel__set_sample_bit(evsel, CPU); 110 evsel__set_sample_bit(evsel, TID); 111 evsel__set_sample_bit(evsel, TIME);
|
H A D | pfm.c | 17 struct perf_evsel *evsel; local 20 perf_evlist__for_each_entry(evlist, evsel) {
|
H A D | backward-ring-buffer.c | 90 struct evsel *evsel __maybe_unused;
|
/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/util/scripting-engines/ |
H A D | trace-event-python.c | 43 #include "../evsel.h" 418 struct evsel *evsel, 432 if (thread__resolve_callchain(al->thread, cursor, evsel, 681 struct evsel *evsel) 683 u64 read_format = evsel->core.attr.read_format; 761 struct evsel *evsel) 763 struct perf_event_attr *attr = &evsel 417 python_process_callchain(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al) argument 679 set_sample_read_in_dict(PyObject *dict_sample, struct perf_sample *sample, struct evsel *evsel) argument 759 set_regs_in_dict(PyObject *dict, struct perf_sample *sample, struct evsel *evsel) argument 842 get_perf_sample_dict(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al, PyObject *callchain) argument 940 python_process_tracepoint(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument 1145 python_export_evsel(struct db_export *dbe, struct evsel *evsel) argument 1467 python_process_general_event(struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument 1503 python_process_event(union perf_event *event, struct perf_sample *sample, struct evsel *evsel, struct addr_location *al, struct addr_location *addr_al) argument 1647 get_handler_name(char *str, size_t size, struct evsel *evsel) argument [all...] |
/linux-master/tools/perf/ |
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-evlist.c | 11 #include "util/evsel.h" 32 struct evsel *pos;
|
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...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | hists.c | 17 #include "../../util/evsel.h" 675 struct evsel *evsel = hists_to_evsel(browser->hists); local 690 (evsel->evlist->stats.nr_lost_warned != 691 evsel->evlist->stats.nr_events[PERF_RECORD_LOST])) { 692 evsel->evlist->stats.nr_lost_warned = 693 evsel->evlist->stats.nr_events[PERF_RECORD_LOST]; 2251 perf_evsel_browser__new(struct evsel *evsel, argument 2255 struct hist_browser *browser = hist_browser__new(evsel__hists(evsel)); 2417 struct evsel *evsel; member in struct:popup_action 2428 struct evsel *evsel; local 2720 add_script_opt_2(struct hist_browser *browser __maybe_unused, struct popup_action *act, char **optstr, struct thread *thread, struct symbol *sym, struct evsel *evsel, const char *tstr) argument 2747 add_script_opt(struct hist_browser *browser, struct popup_action *act, char **optstr, struct thread *thread, struct symbol *sym, struct evsel *evsel) argument 2777 add_res_sample_opt(struct hist_browser *browser __maybe_unused, struct popup_action *act, char **optstr, struct res_sample *res_sample, struct evsel *evsel, enum rstype type) argument 2941 evsel__hists_browse(struct evsel *evsel, int nr_events, const char *helpline, bool left_exits, struct hist_browser_timer *hbt, float min_pcnt, struct perf_env *env, bool warn_lost_event) argument 3408 struct evsel *evsel = list_entry(entry, struct evsel, core.node); local 3545 struct evsel *evsel = list_entry(entry, struct evsel, core.node); local 3649 block_hists_tui_browse(struct block_hist *bh, struct evsel *evsel, float min_percent, struct perf_env *env) argument [all...] |
/linux-master/tools/perf/arch/s390/util/ |
H A D | auxtrace.c | 11 #include "../../util/evsel.h" 91 struct evsel *pos;
|