/external/linux-tools-perf/util/ |
cpumap.h | 4 struct cpu_map { struct 9 struct cpu_map *cpu_map__new(const char *cpu_list); 10 struct cpu_map *cpu_map__dummy_new(void); 11 void cpu_map__delete(struct cpu_map *map);
|
cpumap.c | 7 static struct cpu_map *cpu_map__default_new(void) 9 struct cpu_map *cpus; 28 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) 31 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); 41 static struct cpu_map *cpu_map__read_all_cpu_map(void) 43 struct cpu_map *cpus = NULL; 102 struct cpu_map *cpu_map__new(const char *cpu_list) 104 struct cpu_map *cpus = NULL; 169 struct cpu_map *cpu_map__dummy_new(void) 171 struct cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)) [all...] |
evlist.h | 16 struct cpu_map; 33 struct cpu_map *cpus; 38 struct perf_evlist *perf_evlist__new(struct cpu_map *cpus, 40 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, 63 struct cpu_map *cpus,
|
evsel.h | 74 struct cpu_map; 92 struct cpu_map *cpus, bool group); 95 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus,
|
evsel.c | 203 static int __perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus, 259 struct cpu_map map; 274 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus, 289 struct cpu_map *cpus, bool group)
|
evlist.c | 31 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, 42 struct perf_evlist *perf_evlist__new(struct cpu_map *cpus, 380 const struct cpu_map *cpus = evlist->cpus; 440 const struct cpu_map *cpus = evlist->cpus;
|
python.c | 244 struct cpu_map *cpus; 295 .tp_name = "perf.cpu_map", 498 struct cpu_map *cpus = NULL; 563 struct cpu_map *cpus; 888 PyModule_AddObject(module, "cpu_map", (PyObject*)&pyrf_cpu_map__type);
|
/external/linux-tools-perf/python/ |
twatch.py | 19 cpus = perf.cpu_map()
|
/external/blktrace/ |
blkparse.c | 66 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/ |
builtin-test.c | 332 struct cpu_map *cpus; 463 struct cpu_map *cpus;
|