Searched refs:cpu_map (Results 1 - 21 of 21) sorted by relevance

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dcpumap.h7 struct cpu_map { struct
12 struct cpu_map *cpu_map__new(const char *cpu_list);
13 struct cpu_map *cpu_map__dummy_new(void);
14 void cpu_map__delete(struct cpu_map *map);
15 struct cpu_map *cpu_map__read(FILE *file);
16 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp);
17 int cpu_map__get_socket(struct cpu_map *map, int idx);
18 int cpu_map__get_core(struct cpu_map *map, int idx);
19 int cpu_map__build_socket_map(struct cpu_map *cpus, struct cpu_map **sock
[all...]
H A Dcpumap.c9 static struct cpu_map *cpu_map__default_new(void)
11 struct cpu_map *cpus;
30 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus)
33 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size);
43 struct cpu_map *cpu_map__read(FILE *file)
45 struct cpu_map *cpus = NULL;
98 static struct cpu_map *cpu_map__read_all_cpu_map(void)
100 struct cpu_map *cpus = NULL;
112 struct cpu_map *cpu_map__new(const char *cpu_list)
114 struct cpu_map *cpu
[all...]
H A Devlist.h14 struct cpu_map;
46 struct cpu_map *cpus;
56 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus,
124 struct cpu_map *cpus,
H A Devsel.h81 struct cpu_map *cpus;
97 struct cpu_map;
164 struct cpu_map *cpus);
167 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus,
H A Dpmu.h19 struct cpu_map *cpus;
H A Drecord.c47 struct cpu_map *cpus;
H A Dpmu.c269 static struct cpu_map *pmu_cpumask(const char *name)
275 struct cpu_map *cpus;
H A Dpython.c373 struct cpu_map *cpus;
424 .tp_name = "perf.cpu_map",
629 struct cpu_map *cpus = NULL;
698 struct cpu_map *cpus;
1053 PyModule_AddObject(module, "cpu_map", (PyObject*)&pyrf_cpu_map__type);
H A Devsel.c1002 static int __perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus,
1120 struct cpu_map map;
1135 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus,
1150 struct cpu_map *cpus)
H A Devlist.c30 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus,
701 const struct cpu_map *cpus = evlist->cpus;
H A Dparse-events.c274 char *name, struct cpu_map *cpus)
H A Dsession.c1592 struct cpu_map *map;
H A Dheader.c980 struct cpu_map *node_map = NULL;
/external/linux-tools-perf/perf-3.12.0/tools/perf/python/
H A Dtwatch.py19 cpus = perf.cpu_map()
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
H A Dopen-syscall-all-cpus.c10 struct cpu_map *cpus;
H A Dkeep-tracking.c64 struct cpu_map *cpus = NULL;
H A Dmmap-basic.c23 struct cpu_map *cpus;
H A Dperf-time-to-tsc.c60 struct cpu_map *cpus = NULL;
H A Dcode-reading.c396 struct cpu_map *cpus = NULL;
/external/blktrace/
H A Dblkparse.c66 unsigned long *cpu_map; member in struct:per_dev_info
506 if (cpu >= pdi->cpu_map_max || !pdi->cpu_map) {
512 if (pdi->cpu_map) {
513 memcpy(map, pdi->cpu_map, pdi->cpu_map_max / sizeof(long));
514 free(pdi->cpu_map);
517 pdi->cpu_map = map;
521 pdi->cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu));
526 pdi->cpu_map[CPU_IDX(cpu)] &= ~(1UL << CPU_BIT(cpu));
531 return (pdi->cpu_map[CPU_IDX(cpu)] & (1UL << CPU_BIT(cpu))) != 0;
1955 unsigned long *cpu_map; local
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-stat.c106 static struct cpu_map *aggr_map;
107 static int (*aggr_get_id)(struct cpu_map *m, int cpu);
127 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel)

Completed in 9633 milliseconds