/tools/perf/util/ |
D | cpumap.h | 11 struct cpu_map { struct 17 struct cpu_map *cpu_map__new(const char *cpu_list); argument 18 struct cpu_map *cpu_map__empty_new(int nr); 19 struct cpu_map *cpu_map__dummy_new(void); 20 struct cpu_map *cpu_map__new_data(struct cpu_map_data *data); 21 struct cpu_map *cpu_map__read(FILE *file); 22 size_t cpu_map__snprint(struct cpu_map *map, char *buf, size_t size); 23 size_t cpu_map__fprintf(struct cpu_map *map, FILE *fp); 25 int cpu_map__get_socket(struct cpu_map *map, int idx, void *data); 27 int cpu_map__get_core(struct cpu_map *map, int idx, void *data); [all …]
|
D | cpumap.c | 15 static struct cpu_map *cpu_map__default_new(void) in cpu_map__default_new() 17 struct cpu_map *cpus; in cpu_map__default_new() 37 static struct cpu_map *cpu_map__trim_new(int nr_cpus, int *tmp_cpus) in cpu_map__trim_new() 40 struct cpu_map *cpus = malloc(sizeof(*cpus) + payload_size); in cpu_map__trim_new() 51 struct cpu_map *cpu_map__read(FILE *file) in cpu_map__read() 53 struct cpu_map *cpus = NULL; in cpu_map__read() 106 static struct cpu_map *cpu_map__read_all_cpu_map(void) in cpu_map__read_all_cpu_map() 108 struct cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map() 120 struct cpu_map *cpu_map__new(const char *cpu_list) in cpu_map__new() 122 struct cpu_map *cpus = NULL; in cpu_map__new() [all …]
|
D | evsel.h | 106 struct cpu_map *cpus; 107 struct cpu_map *own_cpus; 138 struct cpu_map; 143 static inline struct cpu_map *perf_evsel__cpus(struct perf_evsel *evsel) in perf_evsel__cpus() 247 struct cpu_map *cpus); 250 int perf_evsel__open(struct perf_evsel *evsel, struct cpu_map *cpus,
|
D | record.c | 60 struct cpu_map *cpus; in perf_probe_api() 115 struct cpu_map *cpus; in perf_can_record_cpu_wide() 261 struct cpu_map *cpus = cpu_map__new(NULL); in perf_evlist__can_select_event()
|
D | evlist.h | 17 struct cpu_map; 94 struct cpu_map *cpus; 108 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, 231 void perf_evlist__set_maps(struct perf_evlist *evlist, struct cpu_map *cpus,
|
D | env.h | 26 struct cpu_map *map;
|
D | tool.h | 62 cpu_map, member
|
D | event.h | 504 struct cpu_map_event cpu_map; member 515 struct cpu_map; 534 struct cpu_map *cpus, 658 void *cpu_map_data__alloc(struct cpu_map *map, size_t *size, u16 *type, int *max); 659 void cpu_map_data__synthesize(struct cpu_map_data *data, struct cpu_map *map,
|
D | pmu.h | 25 struct cpu_map *cpus;
|
D | event.c | 768 struct cpu_map *map) in synthesize_cpus() 779 struct cpu_map *map, int max) in synthesize_mask() 790 static size_t cpus_size(struct cpu_map *map) in cpus_size() 795 static size_t mask_size(struct cpu_map *map, int *max) in mask_size() 812 void *cpu_map_data__alloc(struct cpu_map *map, size_t *size, u16 *type, int *max) in cpu_map_data__alloc() 845 void cpu_map_data__synthesize(struct cpu_map_data *data, struct cpu_map *map, in cpu_map_data__synthesize() 861 static struct cpu_map_event* cpu_map_event__new(struct cpu_map *map) in cpu_map_event__new() 881 struct cpu_map *map, in perf_event__synthesize_cpu_map() 1101 struct cpu_map *cpus = cpu_map__new_data(&event->cpu_map.data); in perf_event__fprintf_cpu_map()
|
/tools/perf/tests/ |
D | cpumap.c | 16 struct cpu_map_event *map_event = &event->cpu_map; in process_event_mask() 19 struct cpu_map *map; in process_event_mask() 50 struct cpu_map_event *map_event = &event->cpu_map; in process_event_cpus() 53 struct cpu_map *map; in process_event_cpus() 77 struct cpu_map *cpus; in test__cpu_map_synthesize() 99 struct cpu_map *map = cpu_map__new(str); in cpu_map_print()
|
D | topology.c | 56 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology() 90 struct cpu_map *map; in test_session_topology()
|
D | bitmap.c | 11 struct cpu_map *map = cpu_map__new(str); in get_bitmap()
|
D | event-times.c | 109 struct cpu_map *cpus; in attach__cpu_disabled() 138 struct cpu_map *cpus; in attach__cpu_enabled()
|
D | task-exit.c | 46 struct cpu_map *cpus; in test__task_exit()
|
D | openat-syscall-all-cpus.c | 16 struct cpu_map *cpus; in test__openat_syscall_event_on_all_cpus()
|
D | sw-clock.c | 37 struct cpu_map *cpus; in __test__sw_clock_freq()
|
D | keep-tracking.c | 63 struct cpu_map *cpus = NULL; in test__keep_tracking()
|
D | event_update.c | 63 struct cpu_map *map; in process_event_cpus()
|
D | mmap-basic.c | 27 struct cpu_map *cpus; in test__basic_mmap()
|
/tools/perf/ |
D | builtin-stat.c | 121 typedef int (*aggr_get_id_t)(struct cpu_map *m, int cpu); 144 static struct cpu_map *aggr_map; 158 struct cpu_map *cpus; 511 struct cpu_map *cpus, in __store_counter_ids() 531 struct cpu_map *cpus = counter->cpus; in store_counter_ids() 1682 static int perf_stat__get_socket(struct cpu_map *map, int cpu) in perf_stat__get_socket() 1687 static int perf_stat__get_core(struct cpu_map *map, int cpu) in perf_stat__get_core() 1692 static int cpu_map__get_max(struct cpu_map *map) in cpu_map__get_max() 1704 static struct cpu_map *cpus_aggr_map; 1706 static int perf_stat__get_aggr(aggr_get_id_t get_id, struct cpu_map *map, int idx) in perf_stat__get_aggr() [all …]
|
/tools/perf/python/ |
D | twatch.py | 19 cpus = perf.cpu_map()
|
D | tracepoint.py | 18 cpus = perf.cpu_map()
|
/tools/perf/arch/arm/util/ |
D | cs-etm.c | 80 const struct cpu_map *cpus = evlist->cpus; in cs_etm_recording_options() 274 const struct cpu_map *cpus = evlist->cpus; in cs_etm_info_priv_size() 423 const struct cpu_map *cpus = session->evlist->cpus; in cs_etm_info_fill()
|
/tools/perf/arch/x86/tests/ |
D | perf-time-to-tsc.c | 50 struct cpu_map *cpus = NULL; in test__perf_time_to_tsc()
|