Searched refs:all_cpus (Results 1 – 11 of 11) sorted by relevance
| /tools/bpf/bpftool/ |
| A D | map_perf_ring.c | 52 bool all_cpus; member 67 int idx = ctx->all_cpus ? cpu : ctx->idx; in print_bpf_output() 122 .all_cpus = true, in do_event_pipe() 174 ctx.all_cpus = false; in do_event_pipe() 177 if (!ctx.all_cpus) { in do_event_pipe() 187 opts.cpu_cnt = ctx.all_cpus ? 0 : 1; in do_event_pipe()
|
| /tools/lib/perf/ |
| A D | evlist.c | 131 perf_cpu_map__merge(&evlist->all_cpus, evsel->cpus); in __perf_evlist__propagate_maps() 141 perf_cpu_map__put(evlist->all_cpus); in perf_evlist__propagate_maps() 142 evlist->all_cpus = NULL; in perf_evlist__propagate_maps() 211 perf_cpu_map__put(evlist->all_cpus); in perf_evlist__exit() 214 evlist->all_cpus = NULL; in perf_evlist__exit() 384 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__alloc_pollfd() 610 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_thread() 652 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_cpu() 684 nr_mmaps = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__nr_mmaps() 685 if (perf_cpu_map__has_any_cpu_or_is_empty(evlist->all_cpus)) { in perf_evlist__nr_mmaps() [all …]
|
| /tools/perf/util/ |
| A D | bpf_counter_cgroup.c | 91 if (evsel__open_per_cpu(cgrp_switch, evlist->core.all_cpus, -1) < 0) { in bperf_load_program() 96 perf_cpu_map__for_each_cpu(cpu, i, evlist->core.all_cpus) { in bperf_load_program() 204 perf_cpu_map__for_each_cpu(cpu, idx, evlist->core.all_cpus) in bperf_cgrp__sync_counters()
|
| A D | evlist.c | 360 .evlist_cpu_map_nr = perf_cpu_map__nr(evlist->core.all_cpus), in evlist__cpu_begin() 371 itr.cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist__cpu_begin() 399 perf_cpu_map__cpu(evlist_cpu_itr->container->core.all_cpus, in evlist_cpu_iterator__next()
|
| A D | python.c | 1091 pcpu_map->cpus = perf_cpu_map__get(pevlist->evlist.core.all_cpus); in pyrf_evlist__all_cpus() 1621 evlist__init(&pevlist->evlist, evlist->core.all_cpus, evlist->core.threads); in pyrf_evlist__from_evlist()
|
| A D | auxtrace.c | 187 mp->cpu = perf_cpu_map__cpu(evlist->core.all_cpus, idx); in auxtrace_mmap_params__set_idx() 659 struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->core.all_cpus, idx); in evlist__enable_event_idx()
|
| A D | header.c | 890 struct perf_cpu cpu = perf_cpu_map__min(evlist->core.all_cpus); in write_cpuid()
|
| /tools/perf/arch/x86/util/ |
| A D | auxtrace.c | 58 struct perf_cpu cpu = perf_cpu_map__min(evlist->core.all_cpus); in auxtrace_record__init()
|
| /tools/lib/perf/include/internal/ |
| A D | evlist.h | 28 struct perf_cpu_map *all_cpus; member
|
| /tools/perf/ |
| A D | builtin-record.c | 1101 struct perf_cpu_map *cpus = evlist->core.all_cpus; in record__thread_data_init_maps() 2124 err = perf_event__synthesize_cpu_map(&rec->tool, rec->evlist->core.all_cpus, in record__synthesize() 4026 struct perf_cpu_map *cpus = rec->evlist->core.all_cpus; in record__init_thread_masks()
|
| A D | builtin-stat.c | 1516 nr = perf_cpu_map__max(evsel_list->core.all_cpus).cpu + 1; in perf_stat_init_aggr_mode()
|
Completed in 43 milliseconds