Home
last modified time | relevance | path

Searched defs:cpus (Results 1 – 25 of 60) 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
79 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() local
101 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__read() local
159 struct perf_cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map() local
173 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__new() local
248 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx) in perf_cpu_map__cpu()
256 int perf_cpu_map__nr(const struct perf_cpu_map *cpus) in perf_cpu_map__nr()
266 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
131 int cpu_map__build_map(struct perf_cpu_map *cpus, struct perf_cpu_map **res, in cpu_map__build_map()
251 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct perf_cpu_map **sockp) in cpu_map__build_socket_map()
256 int cpu_map__build_die_map(struct perf_cpu_map *cpus, struct perf_cpu_map **diep) in cpu_map__build_die_map()
261 int cpu_map__build_core_map(struct perf_cpu_map *cpus, struct perf_cpu_map **corep) in cpu_map__build_core_map()
266 int cpu_map__build_node_map(struct perf_cpu_map *cpus, struct perf_cpu_map **numap) in cpu_map__build_node_map()
478 bool cpu_map__has(struct perf_cpu_map *cpus, int cpu) in cpu_map__has()
483 int cpu_map__cpu(struct perf_cpu_map *cpus, int idx) in cpu_map__cpu()
Dperf_api_probe.c63 struct perf_cpu_map *cpus; in perf_probe_api() local
128 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide() local
Dcputopo.h17 char *cpus; member
/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/lib/perf/tests/
Dtest-evlist.c30 struct perf_cpu_map *cpus; in test_stat_cpu() local
200 struct perf_cpu_map *cpus; in test_mmap_thread() local
310 struct perf_cpu_map *cpus; in test_mmap_cpus() local
Dtest-cpumap.c15 struct perf_cpu_map *cpus; in main() local
Dtest-evsel.c18 struct perf_cpu_map *cpus; in test_stat_cpu() 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.c26 struct perf_cpu_map *cpus; in test__openat_syscall_event_on_all_cpus() local
Dtask-exit.c54 struct perf_cpu_map *cpus; in test__task_exit() local
Dkeep-tracking.c75 struct perf_cpu_map *cpus = NULL; in test__keep_tracking() local
Dsw-clock.c45 struct perf_cpu_map *cpus; in __test__sw_clock_freq() local
Dmmap-basic.c37 struct perf_cpu_map *cpus; in test__basic_mmap() local
/tools/lib/perf/include/perf/
Dcpumap.h23 #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/perf/arch/x86/tests/
Dperf-time-to-tsc.c60 struct perf_cpu_map *cpus = NULL; in test__perf_time_to_tsc() local
/tools/power/cpupower/utils/
Dcpufreq-info.c393 struct cpufreq_affected_cpus *cpus = cpufreq_get_affected_cpus(cpu); in get_affected_cpus() local
414 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.c133 int cpu, last_pkg, cpus = sysconf(_SC_NPROCESSORS_CONF); in get_cpu_topology() local
/tools/lib/perf/include/internal/
Devsel.h40 struct perf_cpu_map *cpus; member
/tools/virtio/virtio-trace/
Dtrace-agent.h21 int cpus; member
/tools/perf/
Dbuiltin-stat.c182 struct perf_cpu_map *cpus; member
1415 static int perf_env__build_socket_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_socket_map()
1421 static int perf_env__build_die_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_die_map()
1427 static int perf_env__build_core_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_core_map()
1433 static int perf_env__build_node_map(struct perf_env *env, struct perf_cpu_map *cpus, in perf_env__build_node_map()
1939 struct perf_cpu_map *cpus; in process_cpu_map_event() local

123