kernel/events/core.c
534
int perf_cpu = sysctl_perf_cpu_time_max_percent;
kernel/events/core.c
538
if (write && (perf_cpu == 100 || perf_cpu == 0))
tools/lib/perf/cpumap.c
130
const struct perf_cpu *cpu_a = a, *cpu_b = b;
tools/lib/perf/cpumap.c
135
static struct perf_cpu __perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx)
tools/lib/perf/cpumap.c
140
static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, const struct perf_cpu *tmp_cpus)
tools/lib/perf/cpumap.c
142
size_t payload_size = nr_cpus * sizeof(struct perf_cpu);
tools/lib/perf/cpumap.c
148
qsort(RC_CHK_ACCESS(cpus)->map, nr_cpus, sizeof(struct perf_cpu), cmp_cpu);
tools/lib/perf/cpumap.c
171
struct perf_cpu *tmp_cpus = NULL, *tmp;
tools/lib/perf/cpumap.c
217
tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu));
tools/lib/perf/cpumap.c
260
struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx)
tools/lib/perf/cpumap.c
262
struct perf_cpu result = {
tools/lib/perf/cpumap.c
295
int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu)
tools/lib/perf/cpumap.c
306
struct perf_cpu cpu_at_idx = __perf_cpu_map__cpu(cpus, idx);
tools/lib/perf/cpumap.c
31
cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus);
tools/lib/perf/cpumap.c
320
bool perf_cpu_map__has(const struct perf_cpu_map *cpus, struct perf_cpu cpu)
tools/lib/perf/cpumap.c
351
struct perf_cpu perf_cpu_map__min(const struct perf_cpu_map *map)
tools/lib/perf/cpumap.c
353
struct perf_cpu cpu, result = {
tools/lib/perf/cpumap.c
365
struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map)
tools/lib/perf/cpumap.c
367
struct perf_cpu result = {
tools/lib/perf/cpumap.c
412
struct perf_cpu *tmp_cpus;
tools/lib/perf/cpumap.c
426
tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu));
tools/lib/perf/evlist.c
525
int output, struct perf_cpu cpu)
tools/lib/perf/evlist.c
544
struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->all_cpus, cpu_idx);
tools/lib/perf/evsel.c
129
struct perf_cpu cpu;
tools/lib/perf/evsel.c
276
struct perf_cpu cpu = perf_cpu_map__cpu(evsel->cpus, idx);
tools/lib/perf/evsel.c
462
struct perf_cpu cpu __maybe_unused;
tools/lib/perf/evsel.c
94
pid_t pid, struct perf_cpu cpu, int group_fd,
tools/lib/perf/include/internal/cpumap.h
21
struct perf_cpu map[];
tools/lib/perf/include/internal/cpumap.h
25
int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
tools/lib/perf/include/internal/evlist.h
46
(*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
tools/lib/perf/include/internal/evsel.h
56
struct perf_cpu cpu;
tools/lib/perf/include/internal/evsel.h
61
struct perf_cpu vcpu;
tools/lib/perf/include/internal/mmap.h
28
struct perf_cpu cpu;
tools/lib/perf/include/internal/mmap.h
51
int fd, struct perf_cpu cpu);
tools/lib/perf/include/perf/cpumap.h
52
LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
tools/lib/perf/include/perf/cpumap.h
77
LIBPERF_API struct perf_cpu perf_cpu_map__min(const struct perf_cpu_map *map);
tools/lib/perf/include/perf/cpumap.h
81
LIBPERF_API struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map);
tools/lib/perf/include/perf/cpumap.h
82
LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
tools/lib/perf/mmap.c
37
int fd, struct perf_cpu cpu)
tools/lib/perf/tests/test-cpumap.c
17
struct perf_cpu cpu;
tools/lib/perf/tests/test-evlist.c
339
struct perf_cpu cpu;
tools/perf/arch/arm/util/cs-etm.c
148
struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
203
struct perf_cpu cpu;
tools/perf/arch/arm/util/cs-etm.c
553
struct perf_cpu cpu;
tools/perf/arch/arm/util/cs-etm.c
582
static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val)
tools/perf/arch/arm/util/cs-etm.c
599
static int cs_etm_get_ro_signed(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path,
tools/perf/arch/arm/util/cs-etm.c
619
static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path)
tools/perf/arch/arm/util/cs-etm.c
637
static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
652
static __u64 cs_etm_get_legacy_trace_id(struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
658
static void cs_etm_save_etmv4_header(__u64 data[], struct auxtrace_record *itr, struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
690
static void cs_etm_save_ete_header(__u64 data[], struct auxtrace_record *itr, struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
71
static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu);
tools/perf/arch/arm/util/cs-etm.c
72
static int cs_etm_get_ro(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path, __u64 *val);
tools/perf/arch/arm/util/cs-etm.c
721
static void cs_etm_get_metadata(struct perf_cpu cpu, u32 *offset,
tools/perf/arch/arm/util/cs-etm.c
73
static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path);
tools/perf/arch/arm/util/cs-etm.c
76
struct perf_cpu cpu)
tools/perf/arch/arm/util/cs-etm.c
795
struct perf_cpu cpu;
tools/perf/arch/arm/util/cs-etm.c
89
struct perf_cpu cpu)
tools/perf/arch/arm64/util/arm-spe.c
153
struct perf_cpu cpu;
tools/perf/arch/arm64/util/arm-spe.c
98
struct perf_cpu cpu, __u64 data[])
tools/perf/arch/arm64/util/header.c
16
static int _get_cpuid(char *buf, size_t sz, struct perf_cpu cpu)
tools/perf/arch/arm64/util/header.c
43
int get_cpuid(char *buf, size_t sz, struct perf_cpu cpu)
tools/perf/arch/arm64/util/header.c
64
char *get_cpuid_str(struct perf_cpu cpu)
tools/perf/arch/loongarch/util/header.c
73
int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused)
tools/perf/arch/loongarch/util/header.c
93
char *get_cpuid_str(struct perf_cpu cpu __maybe_unused)
tools/perf/arch/powerpc/util/header.c
27
get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused)
tools/perf/arch/powerpc/util/header.c
45
get_cpuid_str(struct perf_cpu cpu __maybe_unused)
tools/perf/arch/riscv/util/header.c
101
get_cpuid_str(struct perf_cpu cpu __maybe_unused)
tools/perf/arch/riscv/util/header.c
84
int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused)
tools/perf/arch/s390/util/header.c
140
char *get_cpuid_str(struct perf_cpu cpu)
tools/perf/arch/s390/util/header.c
30
int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused)
tools/perf/arch/x86/util/auxtrace.c
58
struct perf_cpu cpu = perf_cpu_map__min(evlist->core.all_cpus);
tools/perf/arch/x86/util/header.c
61
get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused)
tools/perf/arch/x86/util/header.c
66
char *get_cpuid_str(struct perf_cpu cpu __maybe_unused)
tools/perf/arch/x86/util/pmu.c
229
struct perf_cpu cpu;
tools/perf/arch/x86/util/pmu.c
32
char *cpuid = get_cpuid_str((struct perf_cpu){0});
tools/perf/builtin-c2c.c
2314
struct perf_cpu cpu;
tools/perf/builtin-kmem.c
204
node1 = cpu__get_node((struct perf_cpu){.cpu = sample->cpu});
tools/perf/builtin-kvm.c
1173
struct perf_cpu cpu = {-1};
tools/perf/builtin-record.c
3698
struct perf_cpu cpu;
tools/perf/builtin-sched.c
156
struct perf_cpu *comp_cpus;
tools/perf/builtin-sched.c
1579
static void print_sched_map(struct perf_sched *sched, struct perf_cpu this_cpu, int cpus_nr,
tools/perf/builtin-sched.c
1583
struct perf_cpu cpu = {
tools/perf/builtin-sched.c
1639
struct perf_cpu this_cpu = {
tools/perf/builtin-sched.c
183
struct perf_cpu max_cpu;
tools/perf/builtin-sched.c
3192
struct perf_cpu this_cpu = {
tools/perf/builtin-sched.c
4392
struct perf_cpu this_cpu;
tools/perf/builtin-script.c
2271
struct perf_cpu cpu)
tools/perf/builtin-script.c
2331
cpu_map_idx = perf_cpu_map__idx(evsel->core.cpus, (struct perf_cpu){sample->cpu});
tools/perf/builtin-script.c
2572
struct perf_cpu cpu;
tools/perf/builtin-stat.c
1271
static int cpu__get_cache_id_from_map(struct perf_cpu cpu, char *map)
tools/perf/builtin-stat.c
1298
static int cpu__get_cache_details(struct perf_cpu cpu, struct perf_cache *cache)
tools/perf/builtin-stat.c
1369
static struct aggr_cpu_id aggr_cpu_id__cache(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1402
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1408
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1414
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1420
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1426
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1432
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1438
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1444
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1450
aggr_get_id_t get_id, struct perf_cpu cpu)
tools/perf/builtin-stat.c
1466
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1472
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1478
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1484
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1490
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1496
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1502
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1508
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1621
static struct aggr_cpu_id perf_env__get_socket_aggr_by_cpu(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1632
static struct aggr_cpu_id perf_env__get_die_aggr_by_cpu(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1650
static void perf_env__get_cache_id_for_cpu(struct perf_cpu cpu, struct perf_env *env,
tools/perf/builtin-stat.c
1687
static struct aggr_cpu_id perf_env__get_cache_aggr_by_cpu(struct perf_cpu cpu,
tools/perf/builtin-stat.c
1704
static struct aggr_cpu_id perf_env__get_cluster_aggr_by_cpu(struct perf_cpu cpu,
tools/perf/builtin-stat.c
1719
static struct aggr_cpu_id perf_env__get_core_aggr_by_cpu(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1738
static struct aggr_cpu_id perf_env__get_cpu_aggr_by_cpu(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1758
static struct aggr_cpu_id perf_env__get_node_aggr_by_cpu(struct perf_cpu cpu, void *data)
tools/perf/builtin-stat.c
1766
static struct aggr_cpu_id perf_env__get_global_aggr_by_cpu(struct perf_cpu cpu __maybe_unused,
tools/perf/builtin-stat.c
1772
id.cpu = (struct perf_cpu){ .cpu = 0 };
tools/perf/builtin-stat.c
1777
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1782
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1788
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1794
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1800
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1806
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1812
struct perf_cpu cpu)
tools/perf/builtin-stat.c
1818
struct perf_cpu cpu)
tools/perf/builtin-stat.c
275
struct perf_cpu cpu = perf_cpu_map__cpu(evsel__cpus(counter), cpu_map_idx);
tools/perf/pmu-events/empty-pmu-events.c
3146
static const struct pmu_events_map *map_for_cpu(struct perf_cpu cpu)
tools/perf/pmu-events/empty-pmu-events.c
3150
struct perf_cpu cpu;
tools/perf/pmu-events/empty-pmu-events.c
3203
struct perf_cpu cpu = {-1};
tools/perf/pmu-events/empty-pmu-events.c
3260
struct perf_cpu cpu = {-1};
tools/perf/tests/bitmap.c
20
struct perf_cpu cpu;
tools/perf/tests/expr.c
79
struct perf_cpu cpu = {-1};
tools/perf/tests/mem2node.c
32
struct perf_cpu cpu;
tools/perf/tests/openat-syscall-all-cpus.c
26
struct perf_cpu cpu;
tools/perf/tests/stat.c
92
!perf_event__synthesize_stat(NULL, (struct perf_cpu){.cpu = 1}, 2, 3,
tools/perf/tests/topology.c
72
struct perf_cpu cpu;
tools/perf/util/affinity.c
92
struct perf_cpu cpu;
tools/perf/util/auxtrace.c
371
static bool filter_cpu(struct perf_session *session, struct perf_cpu cpu)
tools/perf/util/auxtrace.c
673
struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->core.all_cpus, idx);
tools/perf/util/auxtrace.h
252
struct perf_cpu cpu;
tools/perf/util/auxtrace.h
367
struct perf_cpu cpu;
tools/perf/util/bpf_counter.c
322
(struct perf_cpu){.cpu = bpf_cpu});
tools/perf/util/bpf_counter.c
670
struct perf_cpu cpu;
tools/perf/util/bpf_counter.c
705
struct perf_cpu entry;
tools/perf/util/bpf_counter_cgroup.c
102
struct perf_cpu cpu;
tools/perf/util/bpf_counter_cgroup.c
236
struct perf_cpu cpu;
tools/perf/util/bpf_counter_cgroup.c
290
struct perf_cpu cpu;
tools/perf/util/bpf_kwork.c
153
struct perf_cpu cpu;
tools/perf/util/bpf_kwork_top.c
128
struct perf_cpu cpu;
tools/perf/util/bpf_off_cpu.c
69
struct perf_cpu pcpu;
tools/perf/util/bpf_trace_augment.c
62
struct perf_cpu cpu;
tools/perf/util/cpumap.c
17
static struct perf_cpu max_cpu_num;
tools/perf/util/cpumap.c
18
static struct perf_cpu max_present_cpu_num;
tools/perf/util/cpumap.c
216
int cpu__get_socket_id(struct perf_cpu cpu)
tools/perf/util/cpumap.c
222
struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data __maybe_unused)
tools/perf/util/cpumap.c
258
struct perf_cpu cpu;
tools/perf/util/cpumap.c
300
int cpu__get_die_id(struct perf_cpu cpu)
tools/perf/util/cpumap.c
307
struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data)
tools/perf/util/cpumap.c
330
int cpu__get_cluster_id(struct perf_cpu cpu)
tools/perf/util/cpumap.c
337
struct aggr_cpu_id aggr_cpu_id__cluster(struct perf_cpu cpu, void *data)
tools/perf/util/cpumap.c
354
int cpu__get_core_id(struct perf_cpu cpu)
tools/perf/util/cpumap.c
360
struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data)
tools/perf/util/cpumap.c
379
struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data)
tools/perf/util/cpumap.c
393
struct aggr_cpu_id aggr_cpu_id__node(struct perf_cpu cpu, void *data __maybe_unused)
tools/perf/util/cpumap.c
401
struct aggr_cpu_id aggr_cpu_id__global(struct perf_cpu cpu, void *data __maybe_unused)
tools/perf/util/cpumap.c
527
struct perf_cpu cpu__max_cpu(void)
tools/perf/util/cpumap.c
535
struct perf_cpu cpu__max_present_cpu(void)
tools/perf/util/cpumap.c
544
int cpu__get_node(struct perf_cpu cpu)
tools/perf/util/cpumap.c
635
struct perf_cpu cpu = { .cpu = INT16_MAX };
tools/perf/util/cpumap.c
685
struct perf_cpu c, last_cpu = perf_cpu_map__max(map);
tools/perf/util/cpumap.c
770
.cpu = (struct perf_cpu){ .cpu = -1 },
tools/perf/util/cpumap.h
127
struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
133
struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
139
struct aggr_cpu_id aggr_cpu_id__cluster(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
145
struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
151
struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
156
struct aggr_cpu_id aggr_cpu_id__node(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
161
struct aggr_cpu_id aggr_cpu_id__global(struct perf_cpu cpu, void *data);
tools/perf/util/cpumap.h
34
struct perf_cpu cpu;
tools/perf/util/cpumap.h
63
struct perf_cpu cpu__max_cpu(void);
tools/perf/util/cpumap.h
64
struct perf_cpu cpu__max_present_cpu(void);
tools/perf/util/cpumap.h
78
int cpu__get_node(struct perf_cpu cpu);
tools/perf/util/cpumap.h
83
int cpu__get_socket_id(struct perf_cpu cpu);
tools/perf/util/cpumap.h
88
int cpu__get_die_id(struct perf_cpu cpu);
tools/perf/util/cpumap.h
93
int cpu__get_cluster_id(struct perf_cpu cpu);
tools/perf/util/cpumap.h
98
int cpu__get_core_id(struct perf_cpu cpu);
tools/perf/util/cputopo.c
193
struct perf_cpu cpu;
tools/perf/util/cputopo.c
298
if (!perf_cpu_map__has(map, (struct perf_cpu){ .cpu = i }))
tools/perf/util/env.c
378
struct perf_cpu cpu = { .cpu = idx };
tools/perf/util/env.c
430
struct perf_cpu cpu = {-1};
tools/perf/util/env.c
693
int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu)
tools/perf/util/env.c
720
struct perf_cpu tmp;
tools/perf/util/env.h
213
int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu);
tools/perf/util/evlist.c
429
.cpu = (struct perf_cpu){ .cpu = -1},
tools/perf/util/evlist.c
882
int output, struct perf_cpu cpu)
tools/perf/util/evlist.h
365
struct perf_cpu cpu;
tools/perf/util/evsel.c
115
static int store_event(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
tools/perf/util/evsel.c
195
static void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
tools/perf/util/evsel.c
2121
struct perf_cpu cpu;
tools/perf/util/evsel.c
2381
struct perf_cpu cpu, unsigned long flags)
tools/perf/util/evsel.c
2420
struct perf_cpu cpu = {.cpu = -1};
tools/perf/util/evsel.c
2513
static bool evsel__probe_aux_action(struct evsel *evsel, struct perf_cpu cpu)
tools/perf/util/evsel.c
2536
static void evsel__detect_missing_aux_action_feature(struct evsel *evsel, struct perf_cpu cpu)
tools/perf/util/evsel.c
2571
static bool evsel__detect_missing_features(struct evsel *evsel, struct perf_cpu cpu)
tools/perf/util/evsel.c
2789
struct perf_cpu cpu;
tools/perf/util/expr.c
460
struct perf_cpu cpu = {-1};
tools/perf/util/header.c
840
char * __weak get_cpuid_str(struct perf_cpu cpu __maybe_unused)
tools/perf/util/header.c
845
char *get_cpuid_allow_env_override(struct perf_cpu cpu)
tools/perf/util/header.c
898
struct perf_cpu cpu __maybe_unused)
tools/perf/util/header.c
905
struct perf_cpu cpu = perf_cpu_map__min(evlist->core.all_cpus);
tools/perf/util/header.h
208
int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu);
tools/perf/util/header.h
210
char *get_cpuid_str(struct perf_cpu cpu);
tools/perf/util/header.h
212
char *get_cpuid_allow_env_override(struct perf_cpu cpu);
tools/perf/util/mmap.c
142
struct perf_cpu cpu __maybe_unused, int affinity __maybe_unused)
tools/perf/util/mmap.c
247
struct perf_cpu cpu;
tools/perf/util/mmap.c
277
int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu)
tools/perf/util/mmap.c
98
static int perf_mmap__aio_bind(struct mmap *map, int idx, struct perf_cpu cpu, int affinity)
tools/perf/util/mmap.h
52
int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
tools/perf/util/perf_api_probe.c
14
static int perf_do_probe_api(setup_probe_fn_t fn, struct perf_cpu cpu, const char *str)
tools/perf/util/perf_api_probe.c
151
struct perf_cpu cpu;
tools/perf/util/perf_api_probe.c
64
struct perf_cpu cpu;
tools/perf/util/python.c
1159
cpu_idx = perf_cpu_map__idx(evsel->core.cpus, (struct perf_cpu){.cpu = cpu});
tools/perf/util/python.c
1441
(struct perf_cpu){.cpu = cpu});
tools/perf/util/record.c
226
struct perf_cpu cpu = { .cpu = 0 };
tools/perf/util/scripting-engines/trace-event-python.c
1661
process_stat(struct evsel *counter, struct perf_cpu cpu, int thread, u64 tstamp,
tools/perf/util/scripting-engines/trace-event-python.c
1705
struct perf_cpu cpu;
tools/perf/util/session.c
2772
struct perf_cpu cpu;
tools/perf/util/stat-display.c
1129
struct perf_cpu cpu;
tools/perf/util/stat-display.c
1491
struct perf_cpu curr_cpu = config->aggr_map->map[aggr_idx].cpu;
tools/perf/util/stat-display.c
899
struct perf_cpu cpu;
tools/perf/util/stat-display.c
933
config->aggr_get_id(config, (struct perf_cpu){ .cpu = 0 });
tools/perf/util/stat.c
309
struct perf_cpu cpu = perf_cpu_map__cpu(cpus, cpu_map_idx);
tools/perf/util/stat.c
425
struct perf_cpu cpu = perf_cpu_map__cpu(evsel->core.cpus, cpu_map_idx);
tools/perf/util/stat.c
582
struct perf_cpu cpu;
tools/perf/util/stat.c
619
struct perf_cpu cpu;
tools/perf/util/stat.c
666
cpu_map_idx = perf_cpu_map__idx(evsel__cpus(counter), (struct perf_cpu){.cpu = st->cpu});
tools/perf/util/svghelper.c
731
struct perf_cpu cpu;
tools/perf/util/symbol.c
2365
struct perf_cpu cpu;
tools/perf/util/synthetic-events.c
1270
struct perf_cpu cpu;
tools/perf/util/synthetic-events.c
1420
struct perf_cpu cpu, u32 thread, u64 id,
tools/perf/util/synthetic-events.c
2700
struct perf_cpu this_cpu;
tools/perf/util/synthetic-events.h
88
int perf_event__synthesize_stat(const struct perf_tool *tool, struct perf_cpu cpu, u32 thread, u64 id, struct perf_counts_values *count, perf_event__handler_t process, struct machine *machine);
tools/perf/util/tool_pmu.c
124
static int read_stat_field(int fd, struct perf_cpu cpu, int field, __u64 *val)
tools/perf/util/tool_pmu.c
277
struct perf_cpu cpu;
tools/perf/util/tool_pmu.c
537
struct perf_cpu cpu = perf_cpu_map__cpu(evsel->core.cpus,