Home
last modified time | relevance | path

Searched refs:perf_cpu_map (Results 1 – 25 of 78) sorted by relevance

1234

/linux-6.3-rc2/tools/lib/perf/include/perf/
A Dcpumap.h14 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 Devsel.h12 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 Devlist.h10 struct perf_cpu_map;
32 struct perf_cpu_map *cpus,
/linux-6.3-rc2/tools/lib/perf/
A Dcpumap.c25 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 Dcpumap.h42 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 Dcpumap.c67 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 Dpmu.h15 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 Devlist-hybrid.c24 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 Devsel.h194 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 Denv.h10 struct perf_cpu_map;
32 struct perf_cpu_map *map;
A Dperf_api_probe.c63 struct perf_cpu_map *cpus; in perf_probe_api()
139 struct perf_cpu_map *cpus; in perf_can_record_cpu_wide()
A Dcputopo.c178 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 Dsynthetic-events.h17 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 Dlibperf.txt38 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 Dcpumap.h15 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 Devlist.h13 struct perf_cpu_map;
27 struct perf_cpu_map *user_requested_cpus;
29 struct perf_cpu_map *all_cpus;
A Devsel.h44 struct perf_cpu_map *cpus;
45 struct perf_cpu_map *own_cpus;
/linux-6.3-rc2/tools/perf/tests/
A Dcpumap.c21 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 Devent-times.c115 struct perf_cpu_map *cpus; in attach__cpu_disabled()
144 struct perf_cpu_map *cpus; in attach__cpu_enabled()
A Dbitmap.c13 struct perf_cpu_map *map = perf_cpu_map__new(str); in get_bitmap()
/linux-6.3-rc2/tools/perf/arch/arm64/util/
A Dheader.c17 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 Dcs-etm.c212 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 Dfutex-wake.c99 pthread_attr_t thread_attr, struct perf_cpu_map *cpu) in block_threads()
142 struct perf_cpu_map *cpu; in bench_futex_wake()
A Dfutex-lock-pi.c122 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 Dtest-cpumap.c16 struct perf_cpu_map *cpus; in test_cpumap()

Completed in 53 milliseconds

1234