/Linux-v5.10/tools/perf/util/ |
D | cpumap.h | 12 struct perf_cpu_map *perf_cpu_map__empty_new(int nr); 13 struct perf_cpu_map *cpu_map__new_data(struct perf_record_cpu_map_data *data); 14 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size); 15 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size); 16 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp); 18 int cpu_map__get_socket(struct perf_cpu_map *map, int idx, void *data); 20 int cpu_map__get_die(struct perf_cpu_map *map, int idx, void *data); 22 int cpu_map__get_core(struct perf_cpu_map *map, int idx, void *data); 24 int cpu_map__get_node(struct perf_cpu_map *map, int idx, void *data); 25 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct perf_cpu_map **sockp); [all …]
|
D | cpumap.c | 21 static struct perf_cpu_map *cpu_map__from_entries(struct cpu_map_entries *cpus) in cpu_map__from_entries() 23 struct perf_cpu_map *map; in cpu_map__from_entries() 45 static struct perf_cpu_map *cpu_map__from_mask(struct perf_record_record_cpu_map *mask) in cpu_map__from_mask() 47 struct perf_cpu_map *map; in cpu_map__from_mask() 63 struct perf_cpu_map *cpu_map__new_data(struct perf_record_cpu_map_data *data) in cpu_map__new_data() 71 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp) in cpu_map__fprintf() 81 struct perf_cpu_map *perf_cpu_map__empty_new(int nr) in perf_cpu_map__empty_new() 83 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int) * nr); in perf_cpu_map__empty_new() 114 int cpu_map__get_socket(struct perf_cpu_map *map, int idx, void *data __maybe_unused) in cpu_map__get_socket() 131 int cpu_map__build_map(struct perf_cpu_map *cpus, struct perf_cpu_map **res, in cpu_map__build_map() [all …]
|
D | stat.h | 11 struct perf_cpu_map; 103 struct perf_cpu_map *m, int cpu); 140 struct perf_cpu_map *aggr_map; 142 struct perf_cpu_map *cpus_aggr_map;
|
D | env.h | 9 struct perf_cpu_map; 31 struct perf_cpu_map *map;
|
D | perf_api_probe.c | 63 struct perf_cpu_map *cpus; in perf_probe_api() 128 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide()
|
D | evsel.h | 151 struct perf_cpu_map; 156 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus() 249 int evsel__open_per_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, int cpu); 251 int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus,
|
/Linux-v5.10/tools/lib/perf/include/perf/ |
D | cpumap.h | 9 struct perf_cpu_map; 11 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void); 12 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 13 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file); 14 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 15 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 16 struct perf_cpu_map *other); 17 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map); 18 LIBPERF_API int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 19 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus); [all …]
|
D | evsel.h | 10 struct perf_cpu_map; 26 LIBPERF_API int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, 36 LIBPERF_API struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel);
|
D | evlist.h | 10 struct perf_cpu_map; 32 struct perf_cpu_map *cpus,
|
/Linux-v5.10/tools/lib/perf/ |
D | cpumap.c | 13 struct perf_cpu_map *perf_cpu_map__dummy_new(void) in perf_cpu_map__dummy_new() 15 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int)); in perf_cpu_map__dummy_new() 26 static void cpu_map__delete(struct perf_cpu_map *map) in cpu_map__delete() 35 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map) in perf_cpu_map__get() 42 void perf_cpu_map__put(struct perf_cpu_map *map) in perf_cpu_map__put() 48 static struct perf_cpu_map *cpu_map__default_new(void) in cpu_map__default_new() 50 struct perf_cpu_map *cpus; in cpu_map__default_new() 76 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() 79 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 99 struct perf_cpu_map *perf_cpu_map__read(FILE *file) in perf_cpu_map__read() [all …]
|
D | evsel.c | 66 int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, in perf_evsel__open() 72 static struct perf_cpu_map *empty_cpu_map; in perf_evsel__open() 258 struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus()
|
/Linux-v5.10/tools/lib/perf/Documentation/ |
D | libperf.txt | 38 struct perf_cpu_map; 40 struct perf_cpu_map *perf_cpu_map__dummy_new(void); 41 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 42 struct perf_cpu_map *perf_cpu_map__read(FILE *file); 43 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 44 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 45 struct perf_cpu_map *other); 46 void perf_cpu_map__put(struct perf_cpu_map *map); 47 int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 48 int perf_cpu_map__nr(const struct perf_cpu_map *cpus); [all …]
|
/Linux-v5.10/tools/perf/tests/ |
D | cpumap.c | 22 struct perf_cpu_map *map; in process_event_mask() 56 struct perf_cpu_map *map; in process_event_cpus() 80 struct perf_cpu_map *cpus; in test__cpu_map_synthesize() 102 struct perf_cpu_map *map = perf_cpu_map__new(str); in cpu_map_print() 126 struct perf_cpu_map *a = perf_cpu_map__new("4,2,1"); in test__cpu_map_merge() 127 struct perf_cpu_map *b = perf_cpu_map__new("4,5,7"); in test__cpu_map_merge() 128 struct perf_cpu_map *c = perf_cpu_map__merge(a, b); in test__cpu_map_merge()
|
D | topology.c | 60 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology() 117 struct perf_cpu_map *map; in test__session_topology()
|
D | event-times.c | 115 struct perf_cpu_map *cpus; in attach__cpu_disabled() 144 struct perf_cpu_map *cpus; in attach__cpu_enabled()
|
/Linux-v5.10/tools/lib/perf/include/internal/ |
D | evsel.h | 10 struct perf_cpu_map; 40 struct perf_cpu_map *cpus; 41 struct perf_cpu_map *own_cpus;
|
D | cpumap.h | 7 struct perf_cpu_map { struct 17 int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu); argument
|
D | evlist.h | 12 struct perf_cpu_map; 20 struct perf_cpu_map *cpus; 21 struct perf_cpu_map *all_cpus;
|
/Linux-v5.10/tools/perf/ |
D | builtin-stat.c | 182 struct perf_cpu_map *cpus; 1188 struct perf_cpu_map *map, int cpu) in perf_stat__get_socket() 1194 struct perf_cpu_map *map, int cpu) in perf_stat__get_die() 1200 struct perf_cpu_map *map, int cpu) in perf_stat__get_core() 1206 struct perf_cpu_map *map, int cpu) in perf_stat__get_node() 1212 aggr_get_id_t get_id, struct perf_cpu_map *map, int idx) in perf_stat__get_aggr() 1228 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_cached() 1234 struct perf_cpu_map *map, int idx) in perf_stat__get_die_cached() 1240 struct perf_cpu_map *map, int idx) in perf_stat__get_core_cached() 1246 struct perf_cpu_map *map, int idx) in perf_stat__get_node_cached() [all …]
|
/Linux-v5.10/tools/perf/arch/arm64/util/ |
D | header.c | 17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) in _get_cpuid() 67 struct perf_cpu_map *cpus = perf_cpu_map__new(NULL); in get_cpuid()
|
/Linux-v5.10/tools/perf/arch/arm/util/ |
D | cs-etm.c | 163 struct perf_cpu_map *event_cpus = evsel->evlist->core.cpus; in cs_etm_set_option() 164 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_set_option() 261 struct perf_cpu_map *cpus = evlist->core.cpus; in cs_etm_recording_options() 498 struct perf_cpu_map *event_cpus = evlist->core.cpus; in cs_etm_info_priv_size() 499 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_priv_size() 644 struct perf_cpu_map *cpu_map; in cs_etm_info_fill() 645 struct perf_cpu_map *event_cpus = session->evlist->core.cpus; in cs_etm_info_fill() 646 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_fill()
|
/Linux-v5.10/tools/perf/bench/ |
D | futex-wake.c | 94 pthread_attr_t thread_attr, struct perf_cpu_map *cpu) in block_threads() 127 struct perf_cpu_map *cpu; in bench_futex_wake()
|
D | futex-requeue.c | 88 pthread_attr_t thread_attr, struct perf_cpu_map *cpu) in block_threads() 121 struct perf_cpu_map *cpu; in bench_futex_requeue()
|
/Linux-v5.10/tools/lib/perf/tests/ |
D | test-evlist.c | 30 struct perf_cpu_map *cpus; in test_stat_cpu() 200 struct perf_cpu_map *cpus; in test_mmap_thread() 309 struct perf_cpu_map *cpus; in test_mmap_cpus()
|
D | test-cpumap.c | 15 struct perf_cpu_map *cpus; in main()
|