Home
last modified time | relevance | path

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

/external/linux-tools-perf/src/tools/perf/util/
Dcpumap.h7 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 …]
Dcpumap.c9 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 …]
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, in perf_evlist__set_maps()
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,
Dpmu.h19 struct cpu_map *cpus;
Drecord.c47 struct cpu_map *cpus; in perf_probe_api()
Dpmu.c269 static struct cpu_map *pmu_cpumask(const char *name) in pmu_cpumask()
275 struct cpu_map *cpus; in pmu_cpumask()
Dpython.c373 struct cpu_map *cpus;
629 struct cpu_map *cpus = NULL; in pyrf_evsel__open()
698 struct cpu_map *cpus; in pyrf_evlist__init()
Devsel.c1002 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()
Devlist.c30 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()
Dparse-events.c274 char *name, struct cpu_map *cpus) in __add_event()
Dsession.c1597 struct cpu_map *map; in perf_session__cpu_bitmap()
Dheader.c980 struct cpu_map *node_map = NULL; in write_numa_topology()
/external/blktrace/
Dblkparse.c66 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/
Dtwatch.py19 cpus = perf.cpu_map()
/external/linux-tools-perf/src/tools/perf/tests/
Dopen-syscall-all-cpus.c10 struct cpu_map *cpus; in test__open_syscall_event_on_all_cpus()
Dkeep-tracking.c64 struct cpu_map *cpus = NULL; in test__keep_tracking()
Dmmap-basic.c23 struct cpu_map *cpus; in test__basic_mmap()
Dperf-time-to-tsc.c60 struct cpu_map *cpus = NULL; in test__perf_time_to_tsc()
Dcode-reading.c396 struct cpu_map *cpus = NULL; in do_test_code_reading()
/external/linux-tools-perf/src/tools/perf/
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) in perf_evsel__cpus()