/linux-master/tools/perf/tests/ |
H A D | pfm.c | 17 struct perf_evsel *evsel; local 20 perf_evlist__for_each_entry(evlist, evsel) {
|
H A D | pmu-events.c | 876 struct evsel *evsel; local 924 evlist__for_each_entry(evlist, evsel) { 925 evsel->stats->aggr->counts.val = k; 926 if (evsel__name_is(evsel, "duration_time")) 930 evlist__for_each_entry(evlist, evsel) { 931 struct metric_event *me = metricgroup__lookup(&metric_events, evsel, false);
|
H A D | sample-parsing.c | 13 #include "evsel.h" 198 struct evsel evsel = { local 277 evsel.core.attr.sample_regs_user = sample_regs; 280 evsel.core.attr.sample_regs_intr = sample_regs; 283 evsel.core.attr.branch_sample_type |= PERF_SAMPLE_BRANCH_HW_INDEX; 329 evsel.sample_size = __evsel__sample_size(sample_type); 331 err = evsel__parse_sample(&evsel, event, &sample_out); 338 if (!samples_same(&sample, &sample_out, sample_type, read_format, evsel.needs_swap)) { 345 evsel [all...] |
H A D | sw-clock.c | 12 #include "util/evsel.h" 36 struct evsel *evsel; local 58 evsel = evsel__new(&attr); 59 if (evsel == NULL) { 63 evlist__add(evlist, evsel);
|
H A D | switch-tracking.c | 17 #include "evsel.h" 64 struct evsel *switch_evsel; 65 struct evsel *cycles_evsel; 130 struct evsel *evsel; local 139 evsel = evlist__id2evsel(evlist, sample.id); 140 if (evsel == switch_tracking->switch_evsel) { 141 next_tid = evsel__intval(evsel, &sample, "next_pid"); 142 prev_tid = evsel__intval(evsel, &sample, "prev_pid"); 151 * evsel 343 struct evsel *evsel, *cpu_clocks_evsel, *cycles_evsel; local [all...] |
H A D | task-exit.c | 4 #include "evsel.h" 46 struct evsel *evsel; local 89 evsel = evlist__first(evlist); 90 evsel->core.attr.task = 1; 92 evsel->core.attr.sample_freq = 1000000; 94 evsel->core.attr.sample_freq = 1; 96 evsel->core.attr.inherit = 0; 97 evsel->core.attr.watermark = 0; 98 evsel [all...] |
/linux-master/tools/perf/ui/browsers/ |
H A D | annotate.c | 13 #include "../../util/evsel.h" 304 struct evsel *evsel) 315 symbol__calc_percent(sym, evsel); 455 struct evsel *evsel, 471 if (!symbol__hists(dl->ops.target.sym, evsel->evlist->core.nr_entries)) { 482 symbol__tui_annotate(&target_ms, evsel, hbt); 507 struct evsel *evsel, 303 annotate_browser__calc_percent(struct annotate_browser *browser, struct evsel *evsel) argument 454 annotate_browser__callq(struct annotate_browser *browser, struct evsel *evsel, struct hist_browser_timer *hbt) argument 506 annotate_browser__jump(struct annotate_browser *browser, struct evsel *evsel, struct hist_browser_timer *hbt) argument 706 annotate_browser__run(struct annotate_browser *browser, struct evsel *evsel, struct hist_browser_timer *hbt) argument 929 map_symbol__tui_annotate(struct map_symbol *ms, struct evsel *evsel, struct hist_browser_timer *hbt) argument 935 hist_entry__tui_annotate(struct hist_entry *he, struct evsel *evsel, struct hist_browser_timer *hbt) argument 946 symbol__tui_annotate(struct map_symbol *ms, struct evsel *evsel, struct hist_browser_timer *hbt) argument [all...] |
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...] |
H A D | hists.h | 7 struct evsel; 17 struct evsel *block_evsel;
|
H A D | res_sample.c | 4 #include "evsel.h" 32 struct evsel *evsel, enum rstype rstype) 74 attr_to_script(extra_format, &evsel->core.attr); 31 res_sample_browse(struct res_sample *res_samples, int num_res, struct evsel *evsel, enum rstype rstype) argument
|
H A D | scripts.c | 86 struct evsel *evsel) 107 if (evsel) 108 attr_to_script(scriptc.extra_format, &evsel->core.attr); 173 int script_browse(const char *script_opt, struct evsel *evsel) argument 179 if (list_scripts(script_name, &custom, evsel)) 85 list_scripts(char *script_name, bool *custom, struct evsel *evsel) argument
|
/linux-master/tools/perf/ui/gtk/ |
H A D | annotate.c | 6 #include "util/evsel.h" 103 struct evsel *evsel, 141 if (evsel__is_group_event(evsel)) { 142 for (i = 0; i < evsel->core.nr_members; i++) { 146 evsel->core.idx + i); 151 evsel->core.idx); 172 static int symbol__gtk_annotate(struct map_symbol *ms, struct evsel *evsel, argument 186 err = symbol__annotate(ms, evsel, NUL 102 perf_gtk__annotate_symbol(GtkWidget *window, struct map_symbol *ms, struct evsel *evsel, struct hist_browser_timer *hbt __maybe_unused) argument 252 hist_entry__gtk_annotate(struct hist_entry *he, struct evsel *evsel, struct hist_browser_timer *hbt) argument [all...] |
H A D | gtk.h | 55 struct evsel; 63 struct evsel *evsel,
|
H A D | hists.c | 5 #include "../evsel.h" 596 struct evsel *pos;
|
/linux-master/tools/perf/ui/ |
H A D | hist.c | 12 #include "../util/evsel.h" 32 struct evsel *evsel = hists_to_evsel(hists); local 47 if (evsel__is_group_event(evsel)) { 50 int nr_members = evsel->core.nr_members; 52 prev_idx = evsel__group_idx(evsel); 61 evsel = hists_to_evsel(pair->hists); 62 idx_delta = evsel__group_idx(evsel) - prev_idx - 1; 86 prev_idx = evsel__group_idx(evsel); 167 struct evsel *evse local 172 struct evsel *evsel = hists_to_evsel(pair->hists); local 189 struct evsel *evsel = hists_to_evsel(a->hists); local 231 struct evsel *evsel; local 295 struct evsel *evsel = hists_to_evsel(hists); local 869 struct evsel *evsel; local [all...] |
/linux-master/tools/perf/util/ |
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 | annotate-data.c | 18 #include "evsel.h" 451 * @evsel: Event to update 456 * This function updates type histogram at @ofs for @evsel. Samples are 461 struct evsel *evsel, int offset, 470 int nr = evsel->evlist->core.nr_entries; 479 h = adt->histograms[evsel->core.idx]; 460 annotated_data_type__update_samples(struct annotated_data_type *adt, struct evsel *evsel, int offset, int nr_samples, u64 period) argument
|
H A D | annotate-data.h | 11 struct evsel; 115 struct evsel *evsel, int offset, 133 struct evsel *evsel __maybe_unused,
|
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 | annotate.h | 25 struct evsel; 235 struct evsel *evsel, 240 void symbol__calc_percent(struct symbol *sym, struct evsel *evsel); 298 * @nr_histograms: This may not be the same as evsel->evlist->core.nr_entries if 301 * sets src->nr_histograms to evsel->nr_members. 429 struct evsel *evsel); 438 struct evsel *evse [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 | auxtrace.c | 34 #include "evsel.h" 68 static int evlist__regroup(struct evlist *evlist, struct evsel *leader, struct evsel *last) 70 struct evsel *evsel; local 77 evlist__for_each_entry(evlist, evsel) { 79 if (!(evsel__leader(evsel) == leader || 80 (evsel__leader(evsel) == evsel && 81 evsel 173 auxtrace_mmap_params__set_idx(struct auxtrace_mmap_params *mp, struct evlist *evlist, struct evsel *evsel, int idx) argument 649 evlist__enable_event_idx(struct evlist *evlist, struct evsel *evsel, int idx) argument 667 struct evsel *evsel; local 695 struct evsel *evsel; local 749 struct evsel *evsel; local 810 struct evsel *evsel, *aux_evsel = NULL; local 1269 struct evsel *evsel; local 1293 struct evsel *evsel; local 2738 parse_addr_filter(struct evsel *evsel, const char *filter, int max_nr) argument 2789 evsel__nr_addr_filter(struct evsel *evsel) argument 2804 struct evsel *evsel; local 2867 auxtrace__evsel_is_auxtrace(struct perf_session *session, struct evsel *evsel) argument [all...] |
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 | block-info.c | 440 struct evsel *pos; 467 struct evsel *evsel, struct perf_env *env) 479 ret = block_hists_tui_browse(bh, evsel, min_percent, env); 466 report__browse_block_hists(struct block_hist *bh, float min_percent, struct evsel *evsel, struct perf_env *env) argument
|
H A D | block-info.h | 81 struct evsel *evsel, struct perf_env *env);
|