/linux-master/tools/perf/util/ |
H A D | cpumap.h | 35 struct perf_cpu cpu; 65 struct perf_cpu cpu__max_cpu(void); 66 struct perf_cpu cpu__max_present_cpu(void); 80 int cpu__get_node(struct perf_cpu cpu); 85 int cpu__get_socket_id(struct perf_cpu cpu); 90 int cpu__get_die_id(struct perf_cpu cpu); 95 int cpu__get_cluster_id(struct perf_cpu cpu); 100 int cpu__get_core_id(struct perf_cpu cpu); 108 typedef struct aggr_cpu_id (*aggr_cpu_id_get_t)(struct perf_cpu cpu, void *data); 129 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cp [all...] |
H A D | cpumap.c | 17 static struct perf_cpu max_cpu_num; 18 static struct perf_cpu max_present_cpu_num; 200 int cpu__get_socket_id(struct perf_cpu cpu) 206 struct aggr_cpu_id aggr_cpu_id__socket(struct perf_cpu cpu, void *data __maybe_unused) 242 struct perf_cpu cpu; 284 int cpu__get_die_id(struct perf_cpu cpu) 291 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data) 314 int cpu__get_cluster_id(struct perf_cpu cpu) 321 struct aggr_cpu_id aggr_cpu_id__cluster(struct perf_cpu cpu, void *data) 338 int cpu__get_core_id(struct perf_cpu cp [all...] |
H A D | perf_api_probe.c | 14 static int perf_do_probe_api(setup_probe_fn_t fn, struct perf_cpu cpu, const char *str) 64 struct perf_cpu cpu; 140 struct perf_cpu cpu;
|
H A D | mmap.h | 52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
|
H A D | bpf_counter_cgroup.c | 50 struct perf_cpu cpu; 201 struct perf_cpu cpu; 255 struct perf_cpu cpu;
|
H A D | mmap.c | 97 static int perf_mmap__aio_bind(struct mmap *map, int idx, struct perf_cpu cpu, int affinity) 141 struct perf_cpu cpu __maybe_unused, int affinity __maybe_unused) 248 struct perf_cpu cpu; 278 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu)
|
H A D | util.h | 88 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
|
H A D | stat.c | 309 struct perf_cpu cpu = perf_cpu_map__cpu(cpus, cpu_map_idx); 425 struct perf_cpu cpu = perf_cpu_map__cpu(evsel->core.cpus, cpu_map_idx); 607 struct perf_cpu cpu; 644 struct perf_cpu cpu; 690 cpu_map_idx = perf_cpu_map__idx(evsel__cpus(counter), (struct perf_cpu){.cpu = st->cpu});
|
H A D | env.h | 190 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu);
|
H A D | env.c | 326 struct perf_cpu cpu = { .cpu = idx }; 523 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu) 550 struct perf_cpu tmp;
|
H A D | cputopo.c | 193 struct perf_cpu cpu; 298 if (!perf_cpu_map__has(map, (struct perf_cpu){ .cpu = i }))
|
/linux-master/tools/lib/perf/include/internal/ |
H A D | cpumap.h | 21 struct perf_cpu map[]; 29 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
|
H A D | evsel.h | 30 struct perf_cpu cpu; 35 struct perf_cpu vcpu;
|
H A D | mmap.h | 28 struct perf_cpu cpu; 51 int fd, struct perf_cpu cpu);
|
H A D | evlist.h | 46 (*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
|
/linux-master/tools/lib/perf/ |
H A D | cpumap.c | 21 RC_STRUCT(perf_cpu_map) *cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus); 122 const struct perf_cpu *cpu_a = a, *cpu_b = b; 127 static struct perf_cpu __perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx) 132 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, const struct perf_cpu *tmp_cpus) 134 size_t payload_size = nr_cpus * sizeof(struct perf_cpu); 140 qsort(RC_CHK_ACCESS(cpus)->map, nr_cpus, sizeof(struct perf_cpu), cmp_cpu); 161 struct perf_cpu *tmp_cpus = NULL, *tmp; 180 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); 191 tmp = realloc(tmp_cpus, max_entries * sizeof(struct perf_cpu)); 219 struct perf_cpu *tmp_cpu [all...] |
H A D | evsel.c | 81 pid_t pid, struct perf_cpu cpu, int group_fd, 116 struct perf_cpu cpu; 263 struct perf_cpu cpu = perf_cpu_map__cpu(evsel->cpus, idx); 449 struct perf_cpu cpu __maybe_unused;
|
/linux-master/tools/lib/perf/include/perf/ |
H A D | cpumap.h | 10 struct perf_cpu { struct 51 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 64 LIBPERF_API struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map); 65 LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
|
/linux-master/tools/lib/perf/tests/ |
H A D | test-cpumap.c | 17 struct perf_cpu cpu;
|
/linux-master/tools/perf/ |
H A D | builtin-stat.c | 272 struct perf_cpu cpu = perf_cpu_map__cpu(evsel__cpus(counter), cpu_map_idx); 1312 static int cpu__get_cache_id_from_map(struct perf_cpu cpu, char *map) 1340 static int cpu__get_cache_details(struct perf_cpu cpu, struct perf_cache *cache) 1411 static struct aggr_cpu_id aggr_cpu_id__cache(struct perf_cpu cpu, void *data) 1444 struct perf_cpu cpu) 1450 struct perf_cpu cpu) 1456 struct perf_cpu cpu) 1462 struct perf_cpu cpu) 1468 struct perf_cpu cpu) 1474 struct perf_cpu cp [all...] |
/linux-master/tools/perf/tests/ |
H A D | attr.c | 68 static int store_event(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, 147 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
|
H A D | mem2node.c | 32 struct perf_cpu cpu;
|
H A D | stat.c | 90 !perf_event__synthesize_stat(NULL, (struct perf_cpu){.cpu = 1}, 2, 3,
|
H A D | openat-syscall-all-cpus.c | 26 struct perf_cpu cpu;
|
/linux-master/tools/perf/arch/arm/util/ |
H A D | cs-etm.c | 206 struct perf_cpu cpu = { .cpu = i, }; 544 struct perf_cpu cpu = { .cpu = i, }; 560 struct perf_cpu cpu = { .cpu = i, }; 822 struct perf_cpu cpu = { .cpu = i, }; 846 struct perf_cpu cpu = { .cpu = i, };
|