Home
last modified time | relevance | path

Searched refs:perf_cpu (Results 1 – 25 of 70) sorted by relevance

123

/tools/perf/util/
A Dcpumap.h34 struct perf_cpu cpu;
63 struct perf_cpu cpu__max_cpu(void);
64 struct perf_cpu cpu__max_present_cpu(void);
78 int cpu__get_node(struct perf_cpu cpu);
83 int cpu__get_socket_id(struct perf_cpu cpu);
88 int cpu__get_die_id(struct perf_cpu cpu);
93 int cpu__get_cluster_id(struct perf_cpu cpu);
98 int cpu__get_core_id(struct perf_cpu cpu);
133 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data);
145 struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data);
[all …]
A Dcpumap.c17 static struct perf_cpu max_cpu_num;
18 static struct perf_cpu max_present_cpu_num;
216 int cpu__get_socket_id(struct perf_cpu cpu) in cpu__get_socket_id()
258 struct perf_cpu cpu; in cpu_aggr_map__new()
300 int cpu__get_die_id(struct perf_cpu cpu) in cpu__get_die_id()
330 int cpu__get_cluster_id(struct perf_cpu cpu) in cpu__get_cluster_id()
354 int cpu__get_core_id(struct perf_cpu cpu) in cpu__get_core_id()
527 struct perf_cpu cpu__max_cpu(void) in cpu__max_cpu()
535 struct perf_cpu cpu__max_present_cpu(void) in cpu__max_present_cpu()
544 int cpu__get_node(struct perf_cpu cpu) in cpu__get_node()
[all …]
A Dperf_api_probe.c14 static int perf_do_probe_api(setup_probe_fn_t fn, struct perf_cpu cpu, const char *str) in perf_do_probe_api()
64 struct perf_cpu cpu; in perf_probe_api()
140 struct perf_cpu cpu; in perf_can_record_cpu_wide()
A Dheader.h204 int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu);
206 char *get_cpuid_str(struct perf_cpu cpu);
208 char *get_cpuid_allow_env_override(struct perf_cpu cpu);
A Dbpf_counter_cgroup.c50 struct perf_cpu cpu; in bperf_load_program()
200 struct perf_cpu cpu; in bperf_cgrp__sync_counters()
254 struct perf_cpu cpu; in bperf_cgrp__read()
A Dmmap.c97 static int perf_mmap__aio_bind(struct mmap *map, int idx, struct perf_cpu cpu, int affinity) in perf_mmap__aio_bind()
141 struct perf_cpu cpu __maybe_unused, int affinity __maybe_unused) in perf_mmap__aio_bind()
246 struct perf_cpu cpu; in build_node_mask()
276 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu) in mmap__mmap()
A Dmmap.h52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
A Daffinity.c92 struct perf_cpu cpu; in cpu_map__set_affinity()
/tools/lib/perf/
A Dcpumap.c31 cpus = malloc(sizeof(*cpus) + sizeof(struct perf_cpu) * nr_cpus); in perf_cpu_map__alloc()
130 const struct perf_cpu *cpu_a = a, *cpu_b = b; in cmp_cpu()
142 size_t payload_size = nr_cpus * sizeof(struct perf_cpu); in cpu_map__trim_new()
171 struct perf_cpu *tmp_cpus = NULL, *tmp; in perf_cpu_map__new()
262 struct perf_cpu result = { in perf_cpu_map__cpu()
353 struct perf_cpu cpu, result = { in perf_cpu_map__min()
367 struct perf_cpu result = { in perf_cpu_map__max()
410 struct perf_cpu *tmp_cpus; in perf_cpu_map__merge()
424 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); in perf_cpu_map__merge()
456 struct perf_cpu *tmp_cpus; in perf_cpu_map__intersect()
[all …]
/tools/lib/perf/include/perf/
A Dcpumap.h10 struct perf_cpu { struct
52 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx);
77 LIBPERF_API struct perf_cpu perf_cpu_map__min(const struct perf_cpu_map *map);
81 LIBPERF_API struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map);
82 LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
/tools/lib/perf/include/internal/
A Dcpumap.h21 struct perf_cpu map[]; in DECLARE_RC_STRUCT()
25 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
A Dmmap.h28 struct perf_cpu cpu;
51 int fd, struct perf_cpu cpu);
A Devsel.h56 struct perf_cpu cpu;
61 struct perf_cpu vcpu;
/tools/perf/arch/arm/util/
A Dcs-etm.c71 static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu);
73 static bool cs_etm_pmu_path_exists(struct perf_pmu *pmu, struct perf_cpu cpu, const char *path);
76 struct perf_cpu cpu) in cs_etm_get_version()
89 struct perf_cpu cpu) in cs_etm_validate_context_id()
149 struct perf_cpu cpu) in cs_etm_validate_timestamp()
204 struct perf_cpu cpu; in cs_etm_validate_config()
545 struct perf_cpu cpu; in cs_etm_info_priv_size()
629 static bool cs_etm_is_ete(struct perf_pmu *cs_etm_pmu, struct perf_cpu cpu) in cs_etm_is_ete()
644 static __u64 cs_etm_get_legacy_trace_id(struct perf_cpu cpu) in cs_etm_get_legacy_trace_id()
713 static void cs_etm_get_metadata(struct perf_cpu cpu, u32 *offset, in cs_etm_get_metadata()
[all …]
/tools/perf/arch/arm64/util/
A Dheader.c17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu cpu) in _get_cpuid()
44 int get_cpuid(char *buf, size_t sz, struct perf_cpu cpu) in get_cpuid()
65 char *get_cpuid_str(struct perf_cpu cpu) in get_cpuid_str()
/tools/perf/arch/powerpc/util/
A Dheader.c27 get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused) in get_cpuid()
45 get_cpuid_str(struct perf_cpu cpu __maybe_unused) in get_cpuid_str()
/tools/perf/arch/loongarch/util/
A Dheader.c73 int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused) in get_cpuid()
93 char *get_cpuid_str(struct perf_cpu cpu __maybe_unused) in get_cpuid_str()
/tools/perf/
A Dbuiltin-stat.c1315 struct perf_cpu cpu) in perf_stat__get_socket()
1321 struct perf_cpu cpu) in perf_stat__get_die()
1327 struct perf_cpu cpu) in perf_stat__get_cache_id()
1333 struct perf_cpu cpu) in perf_stat__get_cluster()
1351 struct perf_cpu cpu) in perf_stat__get_global()
1391 struct perf_cpu cpu) in perf_stat__get_cluster_cached()
1397 struct perf_cpu cpu) in perf_stat__get_cache_id_cached()
1695 struct perf_cpu cpu) in perf_stat__get_die_file()
1713 struct perf_cpu cpu) in perf_stat__get_core_file()
1719 struct perf_cpu cpu) in perf_stat__get_cpu_file()
[all …]
/tools/perf/arch/riscv/util/
A Dheader.c84 int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused) in get_cpuid()
101 get_cpuid_str(struct perf_cpu cpu __maybe_unused) in get_cpuid_str()
/tools/perf/arch/x86/util/
A Dheader.c61 get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused) in get_cpuid()
66 char *get_cpuid_str(struct perf_cpu cpu __maybe_unused) in get_cpuid_str()
A Dauxtrace.c58 struct perf_cpu cpu = perf_cpu_map__min(evlist->core.all_cpus); in auxtrace_record__init()
A Dpmu.c32 char *cpuid = get_cpuid_str((struct perf_cpu){0}); in x86__is_intel_graniterapids()
229 struct perf_cpu cpu; in gnr_uncore_cha_imc_adjust_cpumask_for_snc()
/tools/lib/perf/tests/
A Dtest-cpumap.c17 struct perf_cpu cpu; in test_cpumap()
/tools/perf/arch/s390/util/
A Dheader.c30 int get_cpuid(char *buffer, size_t sz, struct perf_cpu cpu __maybe_unused) in get_cpuid()
140 char *get_cpuid_str(struct perf_cpu cpu) in get_cpuid_str()
/tools/perf/tests/
A Dbitmap.c20 struct perf_cpu cpu; in get_bitmap()

Completed in 36 milliseconds

123