/linux-6.3-rc2/tools/lib/perf/include/perf/ |
A D | cpumap.h | 14 struct perf_cpu_map; 16 LIBPERF_API struct perf_cpu_map *perf_cpu_map__dummy_new(void); 17 LIBPERF_API struct perf_cpu_map *perf_cpu_map__default_new(void); 18 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list); 19 LIBPERF_API struct perf_cpu_map *perf_cpu_map__read(FILE *file); 20 LIBPERF_API struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map); 21 LIBPERF_API struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, 22 struct perf_cpu_map *other); 23 LIBPERF_API void perf_cpu_map__put(struct perf_cpu_map *map); 25 LIBPERF_API int perf_cpu_map__nr(const struct perf_cpu_map *cpus); [all …]
|
A D | evsel.h | 12 struct perf_cpu_map; 30 LIBPERF_API int perf_evsel__open(struct perf_evsel *evsel, struct perf_cpu_map *cpus, 44 LIBPERF_API struct perf_cpu_map *perf_evsel__cpus(struct perf_evsel *evsel);
|
A D | evlist.h | 10 struct perf_cpu_map; 32 struct perf_cpu_map *cpus,
|
/linux-6.3-rc2/tools/lib/perf/ |
A D | cpumap.c | 25 struct perf_cpu_map *perf_cpu_map__dummy_new(void) in perf_cpu_map__dummy_new() 44 struct perf_cpu_map *perf_cpu_map__get(struct perf_cpu_map *map) in perf_cpu_map__get() 51 void perf_cpu_map__put(struct perf_cpu_map *map) in perf_cpu_map__put() 59 struct perf_cpu_map *cpus; in cpu_map__default_new() 113 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__read() 171 struct perf_cpu_map *cpus = NULL; in cpu_map__read_all_cpu_map() 185 struct perf_cpu_map *cpus = NULL; in perf_cpu_map__new() 323 bool perf_cpu_map__is_subset(const struct perf_cpu_map *a, const struct perf_cpu_map *b) in perf_cpu_map__is_subset() 350 struct perf_cpu_map *perf_cpu_map__merge(struct perf_cpu_map *orig, in perf_cpu_map__merge() 351 struct perf_cpu_map *other) in perf_cpu_map__merge() [all …]
|
/linux-6.3-rc2/tools/perf/util/ |
A D | cpumap.h | 42 struct perf_cpu_map *perf_cpu_map__empty_new(int nr); 44 struct perf_cpu_map *cpu_map__new_data(const struct perf_record_cpu_map_data *data); 45 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size); 46 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size); 47 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp); 48 const struct perf_cpu_map *cpu_map__online(void); /* thread unsafe */ 59 static inline bool cpu_map__is_dummy(struct perf_cpu_map *cpus) in cpu_map__is_dummy() 98 struct cpu_aggr_map *cpu_aggr_map__new(const struct perf_cpu_map *cpus,
|
A D | cpumap.c | 67 struct perf_cpu_map *map; in cpu_map__from_entries() 93 struct perf_cpu_map *map; in cpu_map__from_mask() 118 struct perf_cpu_map *map; in cpu_map__from_range() 151 size_t cpu_map__fprintf(struct perf_cpu_map *map, FILE *fp) in cpu_map__fprintf() 161 struct perf_cpu_map *perf_cpu_map__empty_new(int nr) in perf_cpu_map__empty_new() 163 struct perf_cpu_map *cpus = malloc(sizeof(*cpus) + sizeof(int) * nr); in perf_cpu_map__empty_new() 236 struct cpu_aggr_map *cpu_aggr_map__new(const struct perf_cpu_map *cpus, in cpu_aggr_map__new() 577 size_t cpu_map__snprint(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint() 631 size_t cpu_map__snprint_mask(struct perf_cpu_map *map, char *buf, size_t size) in cpu_map__snprint_mask() 671 const struct perf_cpu_map *cpu_map__online(void) /* thread unsafe */ in cpu_map__online() [all …]
|
A D | pmu.h | 15 struct perf_cpu_map; 87 struct perf_cpu_map *cpus; 249 int perf_pmu__cpus_match(struct perf_pmu *pmu, struct perf_cpu_map *cpus, 250 struct perf_cpu_map **mcpus_ptr, 251 struct perf_cpu_map **ucpus_ptr);
|
A D | evlist-hybrid.c | 24 struct perf_cpu_map *cpus; in evlist__add_default_hybrid() 92 struct perf_cpu_map *cpus; in evlist__fix_hybrid_cpus() 113 struct perf_cpu_map *matched_cpus, *unmatched_cpus; in evlist__fix_hybrid_cpus()
|
A D | evsel.h | 194 struct perf_cpu_map; 198 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus() 316 int evsel__open_per_cpu(struct evsel *evsel, struct perf_cpu_map *cpus, int cpu_map_idx); 318 int evsel__open(struct evsel *evsel, struct perf_cpu_map *cpus, 321 int evsel__prepare_open(struct evsel *evsel, struct perf_cpu_map *cpus,
|
A D | env.h | 10 struct perf_cpu_map; 32 struct perf_cpu_map *map;
|
A D | perf_api_probe.c | 63 struct perf_cpu_map *cpus; in perf_probe_api() 139 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide()
|
A D | cputopo.c | 178 struct perf_cpu_map *user_requested_cpus; in cpu_topology__core_wide() 191 struct perf_cpu_map *core_cpus = perf_cpu_map__new(core_cpu_list); in cpu_topology__core_wide() 249 struct perf_cpu_map *map; in cpu_topology__new() 362 struct perf_cpu_map *node_map = NULL; in numa_topology__new()
|
A D | synthetic-events.h | 17 struct perf_cpu_map; 49 int perf_event__synthesize_cpu_map(struct perf_tool *tool, const struct perf_cpu_map *cpus, perf_ev…
|
/linux-6.3-rc2/tools/lib/perf/Documentation/ |
A D | libperf.txt | 38 struct perf_cpu_map; 40 struct perf_cpu_map *perf_cpu_map__dummy_new(void); 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, 46 void perf_cpu_map__put(struct perf_cpu_map *map); 48 int perf_cpu_map__nr(const struct perf_cpu_map *cpus); 49 bool perf_cpu_map__empty(const struct perf_cpu_map *map); 50 int perf_cpu_map__max(struct perf_cpu_map *map); 100 struct perf_cpu_map *cpus, [all …]
|
/linux-6.3-rc2/tools/lib/perf/include/internal/ |
A D | cpumap.h | 15 struct perf_cpu_map { struct 27 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu); argument 28 bool perf_cpu_map__is_subset(const struct perf_cpu_map *a, const struct perf_cpu_map *b);
|
A D | evlist.h | 13 struct perf_cpu_map; 27 struct perf_cpu_map *user_requested_cpus; 29 struct perf_cpu_map *all_cpus;
|
A D | evsel.h | 44 struct perf_cpu_map *cpus; 45 struct perf_cpu_map *own_cpus;
|
/linux-6.3-rc2/tools/perf/tests/ |
A D | cpumap.c | 21 struct perf_cpu_map *map; in process_event_mask() 57 struct perf_cpu_map *map; in process_event_cpus() 83 struct perf_cpu_map *map; in process_event_range_cpus() 105 struct perf_cpu_map *cpus; in test__cpu_map_synthesize() 135 struct perf_cpu_map *map = perf_cpu_map__new(str); in cpu_map_print() 161 struct perf_cpu_map *a = perf_cpu_map__new("4,2,1"); in test__cpu_map_merge() 162 struct perf_cpu_map *b = perf_cpu_map__new("4,5,7"); in test__cpu_map_merge() 163 struct perf_cpu_map *c = perf_cpu_map__merge(a, b); in test__cpu_map_merge()
|
A D | event-times.c | 115 struct perf_cpu_map *cpus; in attach__cpu_disabled() 144 struct perf_cpu_map *cpus; in attach__cpu_enabled()
|
A D | bitmap.c | 13 struct perf_cpu_map *map = perf_cpu_map__new(str); in get_bitmap()
|
/linux-6.3-rc2/tools/perf/arch/arm64/util/ |
A 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-6.3-rc2/tools/perf/arch/arm/util/ |
A D | cs-etm.c | 212 struct perf_cpu_map *event_cpus = evsel->evlist->core.user_requested_cpus; in cs_etm_set_option() 213 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_set_option() 318 struct perf_cpu_map *cpus = evlist->core.user_requested_cpus; in cs_etm_recording_options() 542 struct perf_cpu_map *event_cpus = evlist->core.user_requested_cpus; in cs_etm_info_priv_size() 543 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_priv_size() 799 struct perf_cpu_map *cpu_map; in cs_etm_info_fill() 800 struct perf_cpu_map *event_cpus = session->evlist->core.user_requested_cpus; in cs_etm_info_fill() 801 struct perf_cpu_map *online_cpus = perf_cpu_map__new(NULL); in cs_etm_info_fill()
|
/linux-6.3-rc2/tools/perf/bench/ |
A D | futex-wake.c | 99 pthread_attr_t thread_attr, struct perf_cpu_map *cpu) in block_threads() 142 struct perf_cpu_map *cpu; in bench_futex_wake()
|
A D | futex-lock-pi.c | 122 struct perf_cpu_map *cpu) in create_threads() 167 struct perf_cpu_map *cpu; in bench_futex_lock_pi()
|
/linux-6.3-rc2/tools/lib/perf/tests/ |
A D | test-cpumap.c | 16 struct perf_cpu_map *cpus; in test_cpumap()
|