Lines Matching refs:evlist

385 	if (top->evlist->nr_entries > 1)  in perf_top__print_mapped_keys()
420 return top->evlist->nr_entries > 1 ? 1 : 0; in perf_top__key_mapped()
470 if (top->evlist->nr_entries > 1) { in perf_top__handle_keypress()
476 evlist__for_each(top->evlist, top->sym_evsel) in perf_top__handle_keypress()
481 if (counter >= top->evlist->nr_entries) { in perf_top__handle_keypress()
482 top->sym_evsel = perf_evlist__first(top->evlist); in perf_top__handle_keypress()
487 evlist__for_each(top->evlist, top->sym_evsel) in perf_top__handle_keypress()
491 top->sym_evsel = perf_evlist__first(top->evlist); in perf_top__handle_keypress()
543 if (t->evlist->selected != NULL) in perf_top__sort_new_samples()
544 t->sym_evsel = t->evlist->selected; in perf_top__sort_new_samples()
577 evlist__for_each(top->evlist, pos) { in display_thread_tui()
582 perf_evlist__tui_browse_hists(top->evlist, help, &hbt, top->min_percent, in display_thread_tui()
719 top->session->evlist->stats.nr_unprocessable_samples++); in perf_event__process_sample()
809 while ((event = perf_evlist__mmap_read(top->evlist, idx)) != NULL) { in perf_top__mmap_read_idx()
810 ret = perf_evlist__parse_sample(top->evlist, event, &sample); in perf_top__mmap_read_idx()
816 evsel = perf_evlist__id2evsel(session->evlist, sample.id); in perf_top__mmap_read_idx()
861 ++session->evlist->stats.nr_unknown_events; in perf_top__mmap_read_idx()
863 perf_evlist__mmap_consume(top->evlist, idx); in perf_top__mmap_read_idx()
871 for (i = 0; i < top->evlist->nr_mmaps; i++) in perf_top__mmap_read()
879 struct perf_evlist *evlist = top->evlist; in perf_top__start_counters() local
882 perf_evlist__config(evlist, opts); in perf_top__start_counters()
884 evlist__for_each(evlist, counter) { in perf_top__start_counters()
886 if (perf_evsel__open(counter, top->evlist->cpus, in perf_top__start_counters()
887 top->evlist->threads) < 0) { in perf_top__start_counters()
901 if (perf_evlist__mmap(evlist, opts->mmap_pages, false) < 0) { in perf_top__start_counters()
953 top->evlist->threads, false); in __cmd_top()
958 top->session->evlist = top->evlist; in __cmd_top()
970 perf_evlist__enable(top->evlist); in __cmd_top()
973 perf_evlist__poll(top->evlist, 100); in __cmd_top()
1000 ret = perf_evlist__poll(top->evlist, 100); in __cmd_top()
1070 OPT_CALLBACK('e', "event", &top.evlist, "event", in cmd_top()
1173 top.evlist = perf_evlist__new(); in cmd_top()
1174 if (top.evlist == NULL) in cmd_top()
1223 if (perf_evlist__create_maps(top.evlist, target) < 0) in cmd_top()
1226 if (!top.evlist->nr_entries && in cmd_top()
1227 perf_evlist__add_default(top.evlist) < 0) { in cmd_top()
1232 symbol_conf.nr_events = top.evlist->nr_entries; in cmd_top()
1242 top.sym_evsel = perf_evlist__first(top.evlist); in cmd_top()
1270 perf_evlist__delete(top.evlist); in cmd_top()