]> Git Repo - linux.git/blob - tools/perf/lib/include/internal/cpumap.h
bpf: Sockmap/tls, during free we may call tcp_bpf_unhash() in loop
[linux.git] / tools / perf / lib / include / internal / cpumap.h
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
7 struct 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
17 int perf_cpu_map__idx(struct perf_cpu_map *cpus, int cpu);
18
19 #endif /* __LIBPERF_INTERNAL_CPUMAP_H */
This page took 0.032561 seconds and 4 git commands to generate.