Home
last modified time | relevance | path

Searched refs:all_cpus (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
A Dbpf_counter_cgroup.c50 __u32 nr_cpus = evlist->core.all_cpus->nr; in bperf_load_program()
91 if (evsel__open_per_cpu(cgrp_switch, evlist->core.all_cpus, -1) < 0) { in bperf_load_program()
118 err = evsel__open_per_cpu(evsel, evlist->core.all_cpus, -1); in bperf_load_program()
128 evlist->core.all_cpus->map[cpu]; in bperf_load_program()
211 int nr_cpus = evlist->core.all_cpus->nr; in bperf_cgrp__sync_counters()
215 cpu = evlist->core.all_cpus->map[i]; in bperf_cgrp__sync_counters()
247 int i, cpu, nr_cpus = evlist->core.all_cpus->nr; in bperf_cgrp__read()
275 cpu = evlist->core.all_cpus->map[i]; in bperf_cgrp__read()
A Devlist.h330 perf_cpu_map__for_each_cpu (cpu, index, (evlist)->core.all_cpus)
/linux/tools/bpf/bpftool/
A Dmap_perf_ring.c59 bool all_cpus; member
74 int idx = ctx->all_cpus ? cpu : ctx->idx; in print_bpf_output()
129 .all_cpus = true, in do_event_pipe()
180 ctx.all_cpus = false; in do_event_pipe()
183 if (!ctx.all_cpus) { in do_event_pipe()
196 opts.cpu_cnt = ctx.all_cpus ? 0 : 1; in do_event_pipe()
/linux/lib/
A Dtest_lockup.c39 static bool all_cpus; variable
40 module_param(all_cpus, bool, 0400);
41 MODULE_PARM_DESC(all_cpus, "trigger lockup at all cpus at once");
554 all_cpus ? "all_cpus " : "", in test_lockup_init()
571 if (all_cpus) { in test_lockup_init()
/linux/tools/lib/perf/
A Devlist.c55 evlist->all_cpus = perf_cpu_map__merge(evlist->all_cpus, evsel->cpus); in __perf_evlist__propagate_maps()
127 perf_cpu_map__put(evlist->all_cpus); in perf_evlist__exit()
130 evlist->all_cpus = NULL; in perf_evlist__exit()
168 if (!evlist->all_cpus && cpus) in perf_evlist__set_maps()
169 evlist->all_cpus = perf_cpu_map__get(cpus); in perf_evlist__set_maps()
/linux/arch/x86/kvm/
A Dhyperv.c1765 bool all_cpus; in kvm_hv_flush_tlb() local
1791 all_cpus = (flush.flags & HV_FLUSH_ALL_PROCESSORS) || in kvm_hv_flush_tlb()
1811 all_cpus = flush_ex.hv_vp_set.format != in kvm_hv_flush_tlb()
1816 if (!sparse_banks_len && !all_cpus) in kvm_hv_flush_tlb()
1819 if (!all_cpus) { in kvm_hv_flush_tlb()
1842 if (all_cpus) { in kvm_hv_flush_tlb()
1889 bool all_cpus; in kvm_hv_send_ipi() local
1905 all_cpus = false; in kvm_hv_send_ipi()
1923 all_cpus = send_ipi_ex.vp_set.format == HV_GENERIC_SET_ALL; in kvm_hv_send_ipi()
1925 if (all_cpus) in kvm_hv_send_ipi()
[all …]
/linux/arch/x86/kernel/cpu/microcode/
A Dcore.c507 int all_cpus = num_online_cpus(); in __wait_for_cpus() local
511 while (atomic_read(t) < all_cpus) { in __wait_for_cpus()
514 all_cpus - atomic_read(t)); in __wait_for_cpus()
/linux/tools/lib/perf/include/internal/
A Devlist.h22 struct perf_cpu_map *all_cpus; member
/linux/tools/perf/
A Dbuiltin-stat.c418 ncpus = perf_cpu_map__nr(evsel_list->core.all_cpus); in read_affinity_counters()

Completed in 47 milliseconds