Searched refs:perf_cpu (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/tools/perf/util/
H A Dcpumap.h35 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 Dcpumap.c17 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 Dperf_api_probe.c14 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 Dmmap.h52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
H A Dbpf_counter_cgroup.c50 struct perf_cpu cpu;
201 struct perf_cpu cpu;
255 struct perf_cpu cpu;
H A Dmmap.c97 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 Dutil.h88 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
H A Dstat.c309 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 Denv.h190 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu);
H A Denv.c326 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 Dcputopo.c193 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 Dcpumap.h21 struct perf_cpu map[];
29 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
H A Devsel.h30 struct perf_cpu cpu;
35 struct perf_cpu vcpu;
H A Dmmap.h28 struct perf_cpu cpu;
51 int fd, struct perf_cpu cpu);
H A Devlist.h46 (*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
/linux-master/tools/lib/perf/
H A Dcpumap.c21 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 Devsel.c81 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 Dcpumap.h10 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 Dtest-cpumap.c17 struct perf_cpu cpu;
/linux-master/tools/perf/
H A Dbuiltin-stat.c272 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 Dattr.c68 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 Dmem2node.c32 struct perf_cpu cpu;
H A Dstat.c90 !perf_event__synthesize_stat(NULL, (struct perf_cpu){.cpu = 1}, 2, 3,
H A Dopenat-syscall-all-cpus.c26 struct perf_cpu cpu;
/linux-master/tools/perf/arch/arm/util/
H A Dcs-etm.c206 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, };

Completed in 251 milliseconds

123