1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 286470930SIngo Molnar #ifndef _PERF_PERF_H 386470930SIngo Molnar #define _PERF_PERF_H 486470930SIngo Molnar 521b8732eSChristophe Leroy #ifndef MAX_NR_CPUS 6*9f94c7f9SKyle Meyer #define MAX_NR_CPUS 2048 721b8732eSChristophe Leroy #endif 886470930SIngo Molnar 99d2ed645SAlexey Budankov enum perf_affinity { 109d2ed645SAlexey Budankov PERF_AFFINITY_SYS = 0, 119d2ed645SAlexey Budankov PERF_AFFINITY_NODE, 129d2ed645SAlexey Budankov PERF_AFFINITY_CPU, 139d2ed645SAlexey Budankov PERF_AFFINITY_MAX 140f82ebc4SArnaldo Carvalho de Melo }; 150f82ebc4SArnaldo Carvalho de Melo 1686470930SIngo Molnar #endif 17