Home
last modified time | relevance | path

Searched refs:evsel_list (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/tools/perf/
Dbuiltin-stat.c76 struct perf_evlist *evsel_list; variable
173 return perf_evsel__open_per_cpu(evsel, evsel_list->cpus, false); in create_perf_stat_counter()
180 return perf_evsel__open_per_thread(evsel, evsel_list->threads, false); in create_perf_stat_counter()
205 if (__perf_evsel__read(counter, evsel_list->cpus->nr, in read_counter_aggr()
206 evsel_list->threads->nr, scale) < 0) in read_counter_aggr()
239 for (cpu = 0; cpu < evsel_list->cpus->nr; cpu++) { in read_counter()
304 evsel_list->threads->map[0] = child_pid; in run_perf_stat()
316 list_for_each_entry(counter, &evsel_list->entries, node) { in run_perf_stat()
337 if (perf_evlist__set_filters(evsel_list)) { in run_perf_stat()
360 list_for_each_entry(counter, &evsel_list->entries, node) { in run_perf_stat()
[all …]
Dbuiltin-record.c68 static struct perf_evlist *evsel_list; variable
377 perf_session__write_header(session, evsel_list, output, true); in atexit_header()
379 perf_evlist__delete(evsel_list); in atexit_header()
430 for (i = 0; i < evsel_list->nr_mmaps; i++) { in mmap_read_all()
431 if (evsel_list->mmap[i].base) in mmap_read_all()
432 mmap_read(&evsel_list->mmap[i]); in mmap_read_all()
516 if (have_tracepoints(&evsel_list->entries)) in __cmd_record()
563 evsel_list->threads->map[0] = child_pid; in __cmd_record()
577 open_counters(evsel_list); in __cmd_record()
589 err = perf_session__write_header(session, evsel_list, in __cmd_record()
[all …]