Searched refs:all_cpus (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/tools/bpf/bpftool/ |
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() 173 ctx.all_cpus = false; in do_event_pipe() 176 if (!ctx.all_cpus) { in do_event_pipe() 186 opts.cpu_cnt = ctx.all_cpus ? 0 : 1; in do_event_pipe()
|
/linux-6.12.1/tools/lib/perf/ |
D | evlist.c | 78 evlist->all_cpus = perf_cpu_map__merge(evlist->all_cpus, evsel->cpus); in __perf_evlist__propagate_maps() 154 perf_cpu_map__put(evlist->all_cpus); in perf_evlist__exit() 157 evlist->all_cpus = NULL; in perf_evlist__exit() 327 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__alloc_pollfd() 459 struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->all_cpus, cpu_idx); in mmap_per_evsel() 553 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_thread() 595 int nr_cpus = perf_cpu_map__nr(evlist->all_cpus); in mmap_per_cpu() 627 nr_mmaps = perf_cpu_map__nr(evlist->all_cpus); in perf_evlist__nr_mmaps() 628 if (perf_cpu_map__has_any_cpu_or_is_empty(evlist->all_cpus)) { in perf_evlist__nr_mmaps() 642 const struct perf_cpu_map *cpus = evlist->all_cpus; in perf_evlist__mmap_ops()
|
/linux-6.12.1/lib/ |
D | test_lockup.c | 39 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"); 559 all_cpus ? "all_cpus " : "", in test_lockup_init() 576 if (all_cpus) { in test_lockup_init()
|
/linux-6.12.1/arch/riscv/kernel/vdso/ |
D | hwprobe.c | 21 bool all_cpus = !cpusetsize && !cpus; in riscv_vdso_get_values() local 31 if ((flags != 0) || (!all_cpus && !avd->homogeneous_cpus)) in riscv_vdso_get_values()
|
/linux-6.12.1/tools/perf/util/ |
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()
|
D | evlist.c | 412 .evlist_cpu_map_nr = perf_cpu_map__nr(evlist->core.all_cpus), in evlist__cpu_begin() 423 itr.cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist__cpu_begin() 451 perf_cpu_map__cpu(evlist_cpu_itr->container->core.all_cpus, in evlist_cpu_iterator__next()
|
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()
|
/linux-6.12.1/arch/x86/kvm/ |
D | hyperv.c | 2022 bool all_cpus; in kvm_hv_flush_tlb() local 2072 all_cpus = (flush.flags & HV_FLUSH_ALL_PROCESSORS) || in kvm_hv_flush_tlb() 2094 all_cpus = flush_ex.hv_vp_set.format != in kvm_hv_flush_tlb() 2100 if (!all_cpus) { in kvm_hv_flush_tlb() 2135 if (all_cpus && !is_guest_mode(vcpu)) { in kvm_hv_flush_tlb() 2177 if (!all_cpus && in kvm_hv_flush_tlb() 2227 bool all_cpus; in kvm_hv_send_ipi() local 2243 all_cpus = false; in kvm_hv_send_ipi() 2264 all_cpus = send_ipi_ex.vp_set.format == HV_GENERIC_SET_ALL; in kvm_hv_send_ipi() 2269 if (all_cpus) in kvm_hv_send_ipi() [all …]
|
/linux-6.12.1/tools/lib/perf/include/internal/ |
D | evlist.h | 28 struct perf_cpu_map *all_cpus; member
|
/linux-6.12.1/drivers/platform/x86/intel/ifs/ |
D | runtest.c | 165 int all_cpus = cpumask_weight(smt_mask); in wait_for_sibling_cpu() local 168 while (atomic_read(t) < all_cpus) { in wait_for_sibling_cpu()
|
/linux-6.12.1/tools/perf/ |
D | builtin-record.c | 1077 struct perf_cpu_map *cpus = evlist->core.all_cpus; in record__thread_data_init_maps() 2099 err = perf_event__synthesize_cpu_map(&rec->tool, rec->evlist->core.all_cpus, in record__synthesize() 3940 struct perf_cpu_map *cpus = rec->evlist->core.all_cpus; in record__init_thread_masks()
|