/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
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 **sockp) [all...] |
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 *cpus = NULL [all...] |
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,
|
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,
|
pmu.h | 19 struct cpu_map *cpus;
|
record.c | 47 struct cpu_map *cpus;
|
pmu.c | 269 static struct cpu_map *pmu_cpumask(const char *name) 275 struct cpu_map *cpus;
|
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);
|
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) [all...] |
evlist.c | 30 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, 701 const struct cpu_map *cpus = evlist->cpus;
|
parse-events.c | 274 char *name, struct cpu_map *cpus)
|
session.c | [all...] |
header.c | 980 struct cpu_map *node_map = NULL; [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/python/ |
twatch.py | 19 cpus = perf.cpu_map()
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
open-syscall-all-cpus.c | 10 struct cpu_map *cpus;
|
keep-tracking.c | 64 struct cpu_map *cpus = NULL;
|
mmap-basic.c | 23 struct cpu_map *cpus;
|
perf-time-to-tsc.c | 60 struct cpu_map *cpus = NULL;
|
code-reading.c | 396 struct cpu_map *cpus = NULL;
|
/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/perf-3.12.0/tools/perf/ |
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) [all...] |