Searched refs:cpu_map (Results 1 - 21 of 21) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
H A D | cpumap.h | 7 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 D | cpumap.c | 9 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 D | evlist.h | 14 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 D | evsel.h | 81 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 D | pmu.h | 19 struct cpu_map *cpus;
|
H A D | record.c | 47 struct cpu_map *cpus;
|
H A D | pmu.c | 269 static struct cpu_map *pmu_cpumask(const char *name) 275 struct cpu_map *cpus;
|
H A D | python.c | 373 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 D | evsel.c | 1002 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 D | evlist.c | 30 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, 701 const struct cpu_map *cpus = evlist->cpus;
|
H A D | parse-events.c | 274 char *name, struct cpu_map *cpus)
|
H A D | session.c | 1597 struct cpu_map *map;
|
H A D | header.c | 980 struct cpu_map *node_map = NULL;
|
/external/linux-tools-perf/src/tools/perf/python/ |
H A D | twatch.py | 19 cpus = perf.cpu_map()
|
/external/linux-tools-perf/src/tools/perf/tests/ |
H A D | open-syscall-all-cpus.c | 10 struct cpu_map *cpus;
|
H A D | keep-tracking.c | 64 struct cpu_map *cpus = NULL;
|
H A D | mmap-basic.c | 23 struct cpu_map *cpus;
|
H A D | perf-time-to-tsc.c | 60 struct cpu_map *cpus = NULL;
|
H A D | code-reading.c | 396 struct cpu_map *cpus = NULL;
|
/external/blktrace/ |
H A D | 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/src/tools/perf/ |
H A D | builtin-stat.c | 106 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 304 milliseconds