| /linux/tools/perf/util/ |
| A D | cpumap.h | 34 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 D | cpumap.c | 17 static struct perf_cpu max_cpu_num; 18 static struct perf_cpu max_present_cpu_num; 198 int cpu__get_socket_id(struct perf_cpu cpu) in cpu__get_socket_id() 240 struct perf_cpu cpu; in cpu_aggr_map__new() 282 int cpu__get_die_id(struct perf_cpu cpu) in cpu__get_die_id() 312 int cpu__get_cluster_id(struct perf_cpu cpu) in cpu__get_cluster_id() 336 int cpu__get_core_id(struct perf_cpu cpu) in cpu__get_core_id() 501 struct perf_cpu cpu__max_cpu(void) in cpu__max_cpu() 509 struct perf_cpu cpu__max_present_cpu(void) in cpu__max_present_cpu() 518 int cpu__get_node(struct perf_cpu cpu) in cpu__get_node() [all …]
|
| A D | perf_api_probe.c | 14 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 D | bpf_counter_cgroup.c | 50 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 D | mmap.c | 97 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 D | stat.c | 309 struct perf_cpu cpu = perf_cpu_map__cpu(cpus, cpu_map_idx); in check_per_pkg() 425 struct perf_cpu cpu = perf_cpu_map__cpu(evsel->core.cpus, cpu_map_idx); in process_counter_values() 607 struct perf_cpu cpu; in evsel__update_percore_stats() 644 struct perf_cpu cpu; in evsel__process_percore() 690 cpu_map_idx = perf_cpu_map__idx(evsel__cpus(counter), (struct perf_cpu){.cpu = st->cpu}); in perf_event__process_stat_event()
|
| A D | mmap.h | 52 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
|
| A D | util.h | 88 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
|
| A D | env.c | 326 struct perf_cpu cpu = { .cpu = idx }; in perf_env__read_cpu_topology_map() 523 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu) in perf_env__numa_node() 550 struct perf_cpu tmp; in perf_env__numa_node()
|
| /linux/tools/lib/perf/ |
| A D | cpumap.c | 126 const struct perf_cpu *cpu_a = a, *cpu_b = b; in cmp_cpu() 138 size_t payload_size = nr_cpus * sizeof(struct perf_cpu); in cpu_map__trim_new() 165 struct perf_cpu *tmp_cpus = NULL, *tmp; in perf_cpu_map__read() 223 struct perf_cpu *tmp_cpus = NULL, *tmp; in perf_cpu_map__new() 303 struct perf_cpu result = { in perf_cpu_map__cpu() 394 struct perf_cpu cpu, result = { in perf_cpu_map__min() 408 struct perf_cpu result = { in perf_cpu_map__max() 449 struct perf_cpu *tmp_cpus; in perf_cpu_map__merge() 462 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); in perf_cpu_map__merge() 493 struct perf_cpu *tmp_cpus; in perf_cpu_map__intersect() [all …]
|
| A D | evsel.c | 81 pid_t pid, struct perf_cpu cpu, int group_fd, in sys_perf_event_open() 116 struct perf_cpu cpu; in perf_evsel__open() 263 struct perf_cpu cpu = perf_cpu_map__cpu(evsel->cpus, idx); in perf_evsel__mmap() 449 struct perf_cpu cpu __maybe_unused; in perf_evsel__enable_thread()
|
| /linux/tools/lib/perf/include/perf/ |
| A D | cpumap.h | 10 struct perf_cpu { struct 51 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); 76 LIBPERF_API struct perf_cpu perf_cpu_map__min(const struct perf_cpu_map *map); 80 LIBPERF_API struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map); 81 LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
|
| /linux/tools/perf/arch/arm/util/ |
| A D | cs-etm.c | 71 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 …]
|
| /linux/tools/perf/ |
| A D | builtin-stat.c | 1303 struct perf_cpu cpu) in perf_stat__get_socket() 1309 struct perf_cpu cpu) in perf_stat__get_die() 1315 struct perf_cpu cpu) in perf_stat__get_cache_id() 1321 struct perf_cpu cpu) in perf_stat__get_cluster() 1339 struct perf_cpu cpu) in perf_stat__get_global() 1379 struct perf_cpu cpu) in perf_stat__get_cluster_cached() 1385 struct perf_cpu cpu) in perf_stat__get_cache_id_cached() 1686 struct perf_cpu cpu) in perf_stat__get_die_file() 1704 struct perf_cpu cpu) in perf_stat__get_core_file() 1710 struct perf_cpu cpu) in perf_stat__get_cpu_file() [all …]
|
| /linux/tools/lib/perf/include/internal/ |
| A D | cpumap.h | 21 struct perf_cpu map[]; in DECLARE_RC_STRUCT() 29 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
|
| A D | mmap.h | 28 struct perf_cpu cpu; 51 int fd, struct perf_cpu cpu);
|
| A D | evsel.h | 30 struct perf_cpu cpu; 35 struct perf_cpu vcpu;
|
| A D | evlist.h | 46 (*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
|
| /linux/tools/perf/tests/ |
| A D | attr.c | 68 static int store_event(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, in store_event() 147 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu, in test_attr__open()
|
| A D | bitmap.c | 20 struct perf_cpu cpu; in get_bitmap()
|
| A D | mem2node.c | 32 struct perf_cpu cpu; in get_bitmap()
|
| A D | openat-syscall-all-cpus.c | 26 struct perf_cpu cpu; in test__openat_syscall_event_on_all_cpus()
|
| A D | stat.c | 90 !perf_event__synthesize_stat(NULL, (struct perf_cpu){.cpu = 1}, 2, 3, in test__synthesize_stat()
|
| /linux/tools/lib/perf/tests/ |
| A D | test-cpumap.c | 17 struct perf_cpu cpu; in test_cpumap()
|
| /linux/tools/perf/arch/arm64/util/ |
| A D | header.c | 20 struct perf_cpu cpu; in _get_cpuid()
|