/Linux-v5.4/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); 23 int cpu_map__build_socket_map(struct perf_cpu_map *cpus, struct perf_cpu_map **sockp); 24 int cpu_map__build_die_map(struct perf_cpu_map *cpus, struct perf_cpu_map **diep); [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; 94 struct perf_cpu_map *m, int cpu); 124 struct perf_cpu_map *aggr_map; 126 struct perf_cpu_map *cpus_aggr_map;
|
D | env.h | 9 struct perf_cpu_map; 31 struct perf_cpu_map *map;
|
D | record.c | 67 struct perf_cpu_map *cpus; in perf_probe_api() 122 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide() 282 struct perf_cpu_map *cpus = perf_cpu_map__new(NULL); in perf_evlist__can_select_event()
|
D | evsel.h | 122 struct perf_cpu_map; 127 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus() 225 struct perf_cpu_map *cpus); 228 int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus,
|
D | event.h | 282 struct perf_cpu_map; 380 void *cpu_map_data__alloc(struct perf_cpu_map *map, size_t *size, u16 *type, int *max); 381 void cpu_map_data__synthesize(struct perf_record_cpu_map_data *data, struct perf_cpu_map *map,
|
/Linux-v5.4/tools/perf/lib/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 void perf_cpu_map__put(struct perf_cpu_map *map); 16 LIBPERF_API int perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 17 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus); 18 LIBPERF_API bool perf_cpu_map__empty(const struct perf_cpu_map *map); 19 LIBPERF_API int perf_cpu_map__max(struct perf_cpu_map *map);
|
D | evsel.h | 10 struct perf_cpu_map; 28 LIBPERF_API int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, 35 LIBPERF_API struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel);
|
D | evlist.h | 9 struct perf_cpu_map; 32 struct perf_cpu_map *cpus,
|
/Linux-v5.4/tools/perf/lib/ |
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() 71 static struct perf_cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() 74 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 85 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() 219 struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus()
|
/Linux-v5.4/tools/perf/lib/Documentation/man/ |
D | libperf.rst | 8 - struct perf_cpu_map 30 struct perf_cpu_map \*perf_cpu_map__dummy_new(void); 31 struct perf_cpu_map \*perf_cpu_map__new(const char \*cpu_list); 32 struct perf_cpu_map \*perf_cpu_map__read(FILE \*file); 33 struct perf_cpu_map \*perf_cpu_map__get(struct perf_cpu_map \*map); 34 void perf_cpu_map__put(struct perf_cpu_map \*map); 35 int perf_cpu_map__cpu(const struct perf_cpu_map \*cpus, int idx); 36 int perf_cpu_map__nr(const struct perf_cpu_map \*cpus); 68 struct perf_cpu_map \*cpus, 90 int perf_evsel__open(struct perf_evsel \*evsel, struct perf_cpu_map \*cpus, [all …]
|
/Linux-v5.4/tools/perf/lib/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; 19 struct perf_cpu_map *cpus;
|
/Linux-v5.4/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()
|
D | topology.c | 62 static int check_cpu_topology(char *path, struct perf_cpu_map *map) in check_cpu_topology() 121 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.4/tools/perf/ |
D | builtin-stat.c | 171 struct perf_cpu_map *cpus; 810 struct perf_cpu_map *map, int cpu) in perf_stat__get_socket() 816 struct perf_cpu_map *map, int cpu) in perf_stat__get_die() 822 struct perf_cpu_map *map, int cpu) in perf_stat__get_core() 828 aggr_get_id_t get_id, struct perf_cpu_map *map, int idx) in perf_stat__get_aggr() 844 struct perf_cpu_map *map, int idx) in perf_stat__get_socket_cached() 850 struct perf_cpu_map *map, int idx) in perf_stat__get_die_cached() 856 struct perf_cpu_map *map, int idx) in perf_stat__get_core_cached() 934 static inline int perf_env__get_cpu(struct perf_env *env, struct perf_cpu_map *map, int idx) in perf_env__get_cpu() 949 static int perf_env__get_socket(struct perf_cpu_map *map, int idx, void *data) in perf_env__get_socket() [all …]
|
/Linux-v5.4/tools/perf/arch/arm/util/ |
D | cs-etm.c | 162 struct perf_cpu_map *event_cpus = evsel->evlist->core.cpus; in cs_etm_set_option() 163 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_set_option() 260 struct perf_cpu_map *cpus = evlist->core.cpus; in cs_etm_recording_options() 496 struct perf_cpu_map *event_cpus = evlist->core.cpus; in cs_etm_info_priv_size() 497 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_priv_size() 642 struct perf_cpu_map *cpu_map; in cs_etm_info_fill() 643 struct perf_cpu_map *event_cpus = session->evlist->core.cpus; in cs_etm_info_fill() 644 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_fill()
|
/Linux-v5.4/tools/perf/lib/Documentation/tutorial/ |
D | tutorial.rst | 19 struct perf_cpu_map 47 This example shows the basic usage of *struct perf_cpu_map*, 67 5 struct perf_cpu_map *cpus;
|
/Linux-v5.4/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.4/tools/perf/lib/tests/ |
D | test-cpumap.c | 15 struct perf_cpu_map *cpus; in main()
|