Home
last modified time | relevance | path

Searched defs:cpus (Results 1 – 25 of 63) sorted by relevance

123

/tools/lib/perf/
Dcpumap.c15 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)); in perf_cpu_map__dummy_new() local
50 struct perf_cpu_map *cpus; in cpu_map__default_new() local
84 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() local
106 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__read() local
164 struct perf_cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map() local
178 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__new() local
253 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx) in perf_cpu_map__cpu()
261 int perf_cpu_map__nr(const struct perf_cpu_map *cpus) in perf_cpu_map__nr()
271 int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu) in perf_cpu_map__idx()
/tools/perf/util/
Dcpumap.c21 static struct perf_cpu_map *cpu_map__from_entries(struct cpu_map_entries *cpus) in cpu_map__from_entries()
83 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int) * nr); in perf_cpu_map__empty_new() local
100 struct cpu_aggr_map *cpus = malloc(sizeof(*cpus) + sizeof(struct aggr_cpu_id) * nr); in cpu_aggr_map__empty_new() local
163 int cpu_map__build_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **res, in cpu_map__build_map()
278 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **sockp) in cpu_map__build_socket_map()
283 int cpu_map__build_die_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **diep) in cpu_map__build_die_map()
288 int cpu_map__build_core_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **corep) in cpu_map__build_core_map()
293 int cpu_map__build_node_map(struct perf_cpu_map *cpus, struct cpu_aggr_map **numap) in cpu_map__build_node_map()
505 bool cpu_map__has(struct perf_cpu_map *cpus, int cpu) in cpu_map__has()
510 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
Devlist-hybrid.c24 struct perf_cpu_map *cpus; in evlist__add_default_hybrid() local
92 struct perf_cpu_map *cpus; in evlist__fix_hybrid_cpus() local
Dcputopo.h17 char *cpus; member
30 char *cpus; member
Dperf_api_probe.c63 struct perf_cpu_map *cpus; in perf_probe_api() local
138 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide() local
/tools/perf/arch/arm64/util/
Dheader.c17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) in _get_cpuid()
67 struct perf_cpu_map *cpus = perf_cpu_map__new(NULL); in get_cpuid() local
/tools/perf/tests/
Dcpumap.c54 struct cpu_map_entries *cpus; in process_event_cpus() local
80 struct perf_cpu_map *cpus; in test__cpu_map_synthesize() local
Devent-times.c115 struct perf_cpu_map *cpus; in attach__cpu_disabled() local
144 struct perf_cpu_map *cpus; in attach__cpu_enabled() local
Dopenat-syscall-all-cpus.c25 struct perf_cpu_map *cpus; in test__openat_syscall_event_on_all_cpus() local
Dkeep-tracking.c75 struct perf_cpu_map *cpus = NULL; in test__keep_tracking() local
Dsw-clock.c45 struct perf_cpu_map *cpus = NULL; in __test__sw_clock_freq() local
Dtask-exit.c54 struct perf_cpu_map *cpus; in test__task_exit() local
Dmmap-basic.c37 struct perf_cpu_map *cpus; in test__basic_mmap() local
Dperf-time-to-tsc.c58 struct perf_cpu_map *cpus = NULL; in test__perf_time_to_tsc() local
/tools/lib/perf/tests/
Dtest-evlist.c32 struct perf_cpu_map *cpus; in test_stat_cpu() local
214 struct perf_cpu_map *cpus; in test_mmap_thread() local
325 struct perf_cpu_map *cpus; in test_mmap_cpus() local
Dtest-cpumap.c16 struct perf_cpu_map *cpus; in test_cpumap() local
Dtest-evsel.c19 struct perf_cpu_map *cpus; in test_stat_cpu() local
/tools/lib/perf/include/perf/
Dcpumap.h24 #define perf_cpu_map__for_each_cpu(cpu, idx, cpus) \ argument
/tools/perf/arch/nds32/util/
Dheader.c15 struct cpu_map *cpus; in get_cpuid_str() local
/tools/lib/perf/Documentation/examples/
Dsampling.c28 struct perf_cpu_map *cpus; in main() local
/tools/power/cpupower/utils/
Dcpufreq-info.c392 struct cpufreq_affected_cpus *cpus = cpufreq_get_affected_cpus(cpu); in get_affected_cpus() local
413 struct cpufreq_affected_cpus *cpus = cpufreq_get_related_cpus(cpu); in get_related_cpus() local
Dcpufreq-set.c299 struct cpufreq_affected_cpus *cpus; in cmd_freq_set() local
/tools/power/cpupower/lib/
Dcpupower.c154 int cpu, last_pkg, cpus = sysconf(_SC_NPROCESSORS_CONF); in get_cpu_topology() local
/tools/virtio/virtio-trace/
Dtrace-agent.h21 int cpus; member
/tools/lib/perf/include/internal/
Devsel.h40 struct perf_cpu_map *cpus; member

123