Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dcpumap.h11 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 …]
Dcpumap.c15 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 …]
Devsel.h106 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,
Drecord.c60 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()
Devlist.h17 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,
Denv.h26 struct cpu_map *map;
Dtool.h62 cpu_map, member
Devent.h504 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,
Dpmu.h25 struct cpu_map *cpus;
Devent.c768 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/
Dcpumap.c16 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()
Dtopology.c56 static int check_cpu_topology(char *path, struct cpu_map *map) in check_cpu_topology()
90 struct cpu_map *map; in test_session_topology()
Dbitmap.c11 struct cpu_map *map = cpu_map__new(str); in get_bitmap()
Devent-times.c109 struct cpu_map *cpus; in attach__cpu_disabled()
138 struct cpu_map *cpus; in attach__cpu_enabled()
Dtask-exit.c46 struct cpu_map *cpus; in test__task_exit()
Dopenat-syscall-all-cpus.c16 struct cpu_map *cpus; in test__openat_syscall_event_on_all_cpus()
Dsw-clock.c37 struct cpu_map *cpus; in __test__sw_clock_freq()
Dkeep-tracking.c63 struct cpu_map *cpus = NULL; in test__keep_tracking()
Devent_update.c63 struct cpu_map *map; in process_event_cpus()
Dmmap-basic.c27 struct cpu_map *cpus; in test__basic_mmap()
/tools/perf/
Dbuiltin-stat.c121 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/
Dtwatch.py19 cpus = perf.cpu_map()
Dtracepoint.py18 cpus = perf.cpu_map()
/tools/perf/arch/arm/util/
Dcs-etm.c80 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/
Dperf-time-to-tsc.c50 struct cpu_map *cpus = NULL; in test__perf_time_to_tsc()

12