Home
last modified time | relevance | path

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

123

/openbmc/linux/tools/perf/util/
H A Dcpumap.h33 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_core_id(struct perf_cpu cpu);
128 struct aggr_cpu_id aggr_cpu_id__die(struct perf_cpu cpu, void *data);
134 struct aggr_cpu_id aggr_cpu_id__core(struct perf_cpu cpu, void *data);
140 struct aggr_cpu_id aggr_cpu_id__cpu(struct perf_cpu cpu, void *data);
[all …]
H A Dcpumap.c17 static struct perf_cpu max_cpu_num;
18 static struct perf_cpu max_present_cpu_num;
200 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_core_id(struct perf_cpu cpu) in cpu__get_core_id()
477 struct perf_cpu cpu__max_cpu(void) in cpu__max_cpu()
485 struct perf_cpu cpu__max_present_cpu(void) in cpu__max_present_cpu()
494 int cpu__get_node(struct perf_cpu cpu) in cpu__get_node()
585 struct perf_cpu cpu = { .cpu = INT_MAX }; in cpu_map__snprint()
[all …]
H 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()
H A Dbpf_counter_cgroup.c50 struct perf_cpu cpu; in bperf_load_program()
201 struct perf_cpu cpu; in bperf_cgrp__sync_counters()
255 struct perf_cpu cpu; in bperf_cgrp__read()
H 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()
248 struct perf_cpu cpu; in build_node_mask()
278 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu) in mmap__mmap()
H A Dstat.c309 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()
H A Dmmap.h53 int mmap__mmap(struct mmap *map, struct mmap_params *mp, int fd, struct perf_cpu cpu);
H A Dutil.h80 void test_attr__open(struct perf_event_attr *attr, pid_t pid, struct perf_cpu cpu,
H A Denv.c324 struct perf_cpu cpu = { .cpu = idx }; in perf_env__read_cpu_topology_map()
509 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu) in perf_env__numa_node()
536 struct perf_cpu tmp; in perf_env__numa_node()
H A Denv.h178 int perf_env__numa_node(struct perf_env *env, struct perf_cpu cpu);
H A Dcputopo.c193 struct perf_cpu cpu; in cpu_topology__core_wide()
298 if (!perf_cpu_map__has(map, (struct perf_cpu){ .cpu = i })) in cpu_topology__new()
/openbmc/linux/tools/lib/perf/
H A Dcpumap.c97 const struct perf_cpu *cpu_a = a, *cpu_b = b; in cmp_cpu()
109 size_t payload_size = nr_cpus * sizeof(struct perf_cpu); in cpu_map__trim_new()
136 struct perf_cpu *tmp_cpus = NULL, *tmp; in perf_cpu_map__read()
210 struct perf_cpu *tmp_cpus = NULL, *tmp; in perf_cpu_map__new()
288 struct perf_cpu result = { in perf_cpu_map__cpu()
319 struct perf_cpu cpu_at_idx = __perf_cpu_map__cpu(cpus, idx); in perf_cpu_map__idx()
366 struct perf_cpu result = { in perf_cpu_map__max()
407 struct perf_cpu *tmp_cpus; in perf_cpu_map__merge()
420 tmp_cpus = malloc(tmp_len * sizeof(struct perf_cpu)); in perf_cpu_map__merge()
451 struct perf_cpu *tmp_cpus; in perf_cpu_map__intersect()
[all …]
H A Devsel.c81 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()
/openbmc/linux/tools/lib/perf/include/perf/
H A Dcpumap.h10 struct perf_cpu { struct
34 LIBPERF_API struct perf_cpu perf_cpu_map__cpu(const struct perf_cpu_map *cpus, int idx); argument
40 LIBPERF_API struct perf_cpu perf_cpu_map__max(const struct perf_cpu_map *map);
41 LIBPERF_API bool perf_cpu_map__has(const struct perf_cpu_map *map, struct perf_cpu cpu);
/openbmc/linux/tools/lib/perf/include/internal/
H A Dcpumap.h21 struct perf_cpu map[]; in DECLARE_RC_STRUCT()
29 int perf_cpu_map__idx(const struct perf_cpu_map *cpus, struct perf_cpu cpu);
H A Dmmap.h28 struct perf_cpu cpu;
50 int fd, struct perf_cpu cpu);
H A Devsel.h30 struct perf_cpu cpu;
35 struct perf_cpu vcpu;
H A Devlist.h46 (*perf_evlist_mmap__cb_mmap_t)(struct perf_mmap*, struct perf_mmap_param*, int, struct perf_cpu);
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c1440 struct perf_cpu cpu) in perf_stat__get_socket()
1446 struct perf_cpu cpu) in perf_stat__get_die()
1452 struct perf_cpu cpu) in perf_stat__get_cache_id()
1470 struct perf_cpu cpu) in perf_stat__get_global()
1476 struct perf_cpu cpu) in perf_stat__get_cpu()
1504 struct perf_cpu cpu) in perf_stat__get_die_cached()
1510 struct perf_cpu cpu) in perf_stat__get_cache_id_cached()
1802 struct perf_cpu cpu) in perf_stat__get_die_file()
1814 struct perf_cpu cpu) in perf_stat__get_core_file()
1820 struct perf_cpu cpu) in perf_stat__get_cpu_file()
[all …]
/openbmc/linux/tools/perf/tests/
H A Dattr.c68 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()
H A Dmem2node.c32 struct perf_cpu cpu; in get_bitmap()
H A Dopenat-syscall-all-cpus.c26 struct perf_cpu cpu; in test__openat_syscall_event_on_all_cpus()
H A Dstat.c90 !perf_event__synthesize_stat(NULL, (struct perf_cpu){.cpu = 1}, 2, 3, in test__synthesize_stat()
/openbmc/linux/tools/lib/perf/tests/
H A Dtest-cpumap.c17 struct perf_cpu cpu; in test_cpumap()
/openbmc/linux/tools/perf/arch/arm/util/
H A Dcs-etm.c206 struct perf_cpu cpu = { .cpu = i, }; in cs_etm_validate_config()
526 struct perf_cpu cpu = { .cpu = i, }; in cs_etm_info_priv_size()
542 struct perf_cpu cpu = { .cpu = i, }; in cs_etm_info_priv_size()
804 struct perf_cpu cpu = { .cpu = i, }; in cs_etm_info_fill()
828 struct perf_cpu cpu = { .cpu = i, }; in cs_etm_info_fill()

123