Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.5-rc1 19 lines 364 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef __LIBPERF_INTERNAL_CPUMAP_H 3#define __LIBPERF_INTERNAL_CPUMAP_H 4 5#include <linux/refcount.h> 6 7struct perf_cpu_map { 8 refcount_t refcnt; 9 int nr; 10 int map[]; 11}; 12 13#ifndef MAX_NR_CPUS 14#define MAX_NR_CPUS 2048 15#endif 16 17int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu); 18 19#endif /* __LIBPERF_INTERNAL_CPUMAP_H */