Lines Matching refs:evlist
240 if (top->evlist->enabled) { in perf_top__show_details()
283 if (top->evlist->enabled) { in perf_top__print_sym_table()
391 if (top->evlist->nr_entries > 1) in perf_top__print_mapped_keys()
426 return top->evlist->nr_entries > 1 ? 1 : 0; in perf_top__key_mapped()
476 if (top->evlist->nr_entries > 1) { in perf_top__handle_keypress()
482 evlist__for_each(top->evlist, top->sym_evsel) in perf_top__handle_keypress()
487 if (counter >= top->evlist->nr_entries) { in perf_top__handle_keypress()
488 top->sym_evsel = perf_evlist__first(top->evlist); in perf_top__handle_keypress()
493 evlist__for_each(top->evlist, top->sym_evsel) in perf_top__handle_keypress()
497 top->sym_evsel = perf_evlist__first(top->evlist); in perf_top__handle_keypress()
549 if (t->evlist->selected != NULL) in perf_top__sort_new_samples()
550 t->sym_evsel = t->evlist->selected; in perf_top__sort_new_samples()
554 if (t->evlist->enabled) { in perf_top__sort_new_samples()
585 evlist__for_each(top->evlist, pos) { in display_thread_tui()
590 perf_evlist__tui_browse_hists(top->evlist, help, &hbt, in display_thread_tui()
730 top->session->evlist->stats.nr_unprocessable_samples++); in perf_event__process_sample()
821 while ((event = perf_evlist__mmap_read(top->evlist, idx)) != NULL) { in perf_top__mmap_read_idx()
822 ret = perf_evlist__parse_sample(top->evlist, event, &sample); in perf_top__mmap_read_idx()
828 evsel = perf_evlist__id2evsel(session->evlist, sample.id); in perf_top__mmap_read_idx()
876 ++session->evlist->stats.nr_unknown_events; in perf_top__mmap_read_idx()
878 perf_evlist__mmap_consume(top->evlist, idx); in perf_top__mmap_read_idx()
886 for (i = 0; i < top->evlist->nr_mmaps; i++) in perf_top__mmap_read()
894 struct perf_evlist *evlist = top->evlist; in perf_top__start_counters() local
897 perf_evlist__config(evlist, opts); in perf_top__start_counters()
899 evlist__for_each(evlist, counter) { in perf_top__start_counters()
901 if (perf_evsel__open(counter, top->evlist->cpus, in perf_top__start_counters()
902 top->evlist->threads) < 0) { in perf_top__start_counters()
916 if (perf_evlist__mmap(evlist, opts->mmap_pages, false) < 0) { in perf_top__start_counters()
971 top->evlist->threads, false, opts->proc_map_timeout); in __cmd_top()
983 top->session->evlist = top->evlist; in __cmd_top()
995 perf_evlist__enable(top->evlist); in __cmd_top()
998 perf_evlist__poll(top->evlist, 100); in __cmd_top()
1025 ret = perf_evlist__poll(top->evlist, 100); in __cmd_top()
1121 OPT_CALLBACK('e', "event", &top.evlist, "event", in cmd_top()
1232 top.evlist = perf_evlist__new(); in cmd_top()
1233 if (top.evlist == NULL) in cmd_top()
1282 if (perf_evlist__create_maps(top.evlist, target) < 0) in cmd_top()
1285 if (!top.evlist->nr_entries && in cmd_top()
1286 perf_evlist__add_default(top.evlist) < 0) { in cmd_top()
1291 symbol_conf.nr_events = top.evlist->nr_entries; in cmd_top()
1301 top.sym_evsel = perf_evlist__first(top.evlist); in cmd_top()
1332 perf_evlist__delete(top.evlist); in cmd_top()