Searched refs:all_cpus (Results 1 – 12 of 12) sorted by relevance
/openbmc/linux/tools/bpf/bpftool/ |
H 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() 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()
|
/openbmc/linux/tools/lib/perf/ |
H A 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__empty(evlist->all_cpus)) { in perf_evlist__nr_mmaps() 642 const struct perf_cpu_map *cpus = evlist->all_cpus; in perf_evlist__mmap_ops()
|
/openbmc/linux/arch/riscv/kernel/vdso/ |
H A D | hwprobe.c | 25 bool all_cpus = !cpu_count && !cpus; in __vdso_riscv_hwprobe() local 35 if ((flags != 0) || (!all_cpus && !avd->homogeneous_cpus)) in __vdso_riscv_hwprobe()
|
/openbmc/linux/lib/ |
H A 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()
|
/openbmc/linux/tools/perf/util/ |
H 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() 205 perf_cpu_map__for_each_cpu(cpu, idx, evlist->core.all_cpus) in bperf_cgrp__sync_counters()
|
H A D | evlist.c | 408 .evlist_cpu_map_nr = perf_cpu_map__nr(evlist->core.all_cpus), in evlist__cpu_begin() 419 itr.cpu = perf_cpu_map__cpu(evlist->core.all_cpus, 0); in evlist__cpu_begin() 447 perf_cpu_map__cpu(evlist_cpu_itr->container->core.all_cpus, in evlist_cpu_iterator__next()
|
H A D | auxtrace.c | 187 mp->cpu = perf_cpu_map__cpu(evlist->core.all_cpus, idx); in auxtrace_mmap_params__set_idx() 654 struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->core.all_cpus, idx); in evlist__enable_event_idx()
|
/openbmc/linux/drivers/platform/x86/intel/ifs/ |
H A D | runtest.c | 257 int all_cpus = cpumask_weight(smt_mask); in wait_for_sibling_cpu() local 260 while (atomic_read(t) < all_cpus) { in wait_for_sibling_cpu()
|
/openbmc/qemu/monitor/ |
H A D | hmp-cmds-target.c | 97 bool all_cpus = qdict_get_try_bool(qdict, "cpustate_all", false); in hmp_info_registers() local 101 if (all_cpus) { in hmp_info_registers()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | hyperv.c | 1971 bool all_cpus; in kvm_hv_flush_tlb() local 2021 all_cpus = (flush.flags & HV_FLUSH_ALL_PROCESSORS) || in kvm_hv_flush_tlb() 2043 all_cpus = flush_ex.hv_vp_set.format != in kvm_hv_flush_tlb() 2049 if (!all_cpus) { in kvm_hv_flush_tlb() 2084 if (all_cpus && !is_guest_mode(vcpu)) { in kvm_hv_flush_tlb() 2126 if (!all_cpus && in kvm_hv_flush_tlb() 2176 bool all_cpus; in kvm_hv_send_ipi() local 2195 all_cpus = false; in kvm_hv_send_ipi() 2216 all_cpus = send_ipi_ex.vp_set.format == HV_GENERIC_SET_ALL; in kvm_hv_send_ipi() 2221 if (all_cpus) in kvm_hv_send_ipi() [all …]
|
/openbmc/linux/tools/lib/perf/include/internal/ |
H A D | evlist.h | 28 struct perf_cpu_map *all_cpus; member
|
/openbmc/linux/tools/perf/ |
H A D | builtin-record.c | 1029 struct perf_cpu_map *cpus = evlist->core.all_cpus; in record__thread_data_init_maps() 2050 err = perf_event__synthesize_cpu_map(&rec->tool, rec->evlist->core.all_cpus, in record__synthesize() 3896 struct perf_cpu_map *cpus = rec->evlist->core.all_cpus; in record__init_thread_masks()
|