Searched refs:cpu_map (Results 1 – 21 of 21) sorted by relevance
/external/linux-tools-perf/src/tools/perf/util/ |
D | cpumap.h | 7 struct cpu_map { struct 12 struct cpu_map *cpu_map__new(const char *cpu_list); argument 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); 20 int cpu_map__build_core_map(struct cpu_map *cpus, struct cpu_map **corep); [all …]
|
D | cpumap.c | 9 static struct cpu_map *cpu_map__default_new(void) in cpu_map__default_new() 11 struct cpu_map *cpus; in cpu_map__default_new() 30 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() 33 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 43 struct cpu_map *cpu_map__read(FILE *file) in cpu_map__read() 45 struct cpu_map *cpus = NULL; in cpu_map__read() 98 static struct cpu_map *cpu_map__read_all_cpu_map(void) in cpu_map__read_all_cpu_map() 100 struct cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map() 112 struct cpu_map *cpu_map__new(const char *cpu_list) in cpu_map__new() 114 struct cpu_map *cpus = NULL; in cpu_map__new() [all …]
|
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, in perf_evlist__set_maps()
|
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,
|
D | pmu.h | 19 struct cpu_map *cpus;
|
D | record.c | 47 struct cpu_map *cpus; in perf_probe_api()
|
D | pmu.c | 269 static struct cpu_map *pmu_cpumask(const char *name) in pmu_cpumask() 275 struct cpu_map *cpus; in pmu_cpumask()
|
D | python.c | 373 struct cpu_map *cpus; 629 struct cpu_map *cpus = NULL; in pyrf_evsel__open() 698 struct cpu_map *cpus; in pyrf_evlist__init()
|
D | evsel.c | 1002 static int __perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus, in __perf_evsel__open() 1120 struct cpu_map map; 1135 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus, in perf_evsel__open() 1150 struct cpu_map *cpus) in perf_evsel__open_per_cpu()
|
D | evlist.c | 30 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, in perf_evlist__init() 701 const struct cpu_map *cpus = evlist->cpus; in perf_evlist__mmap()
|
D | parse-events.c | 274 char *name, struct cpu_map *cpus) in __add_event()
|
D | session.c | 1597 struct cpu_map *map; in perf_session__cpu_bitmap()
|
D | header.c | 980 struct cpu_map *node_map = NULL; in write_numa_topology()
|
/external/blktrace/ |
D | blkparse.c | 66 unsigned long *cpu_map; member 506 if (cpu >= pdi->cpu_map_max || !pdi->cpu_map) { in cpu_mark_online() 512 if (pdi->cpu_map) { in cpu_mark_online() 513 memcpy(map, pdi->cpu_map, pdi->cpu_map_max / sizeof(long)); in cpu_mark_online() 514 free(pdi->cpu_map); in cpu_mark_online() 517 pdi->cpu_map = map; in cpu_mark_online() 521 pdi->cpu_map[CPU_IDX(cpu)] |= (1UL << CPU_BIT(cpu)); in cpu_mark_online() 526 pdi->cpu_map[CPU_IDX(cpu)] &= ~(1UL << CPU_BIT(cpu)); in cpu_mark_offline() 531 return (pdi->cpu_map[CPU_IDX(cpu)] & (1UL << CPU_BIT(cpu))) != 0; in cpu_is_online() 1955 unsigned long *cpu_map; in check_cpu_map() local [all …]
|
/external/linux-tools-perf/src/tools/perf/python/ |
D | twatch.py | 19 cpus = perf.cpu_map()
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | open-syscall-all-cpus.c | 10 struct cpu_map *cpus; in test__open_syscall_event_on_all_cpus()
|
D | keep-tracking.c | 64 struct cpu_map *cpus = NULL; in test__keep_tracking()
|
D | mmap-basic.c | 23 struct cpu_map *cpus; in test__basic_mmap()
|
D | perf-time-to-tsc.c | 60 struct cpu_map *cpus = NULL; in test__perf_time_to_tsc()
|
D | code-reading.c | 396 struct cpu_map *cpus = NULL; in do_test_code_reading()
|
/external/linux-tools-perf/src/tools/perf/ |
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) in perf_evsel__cpus()
|