xref: /linux/tools/perf/perf.h (revision cd8ef949203c0fe88b031530cb5b63afd582e0f7)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_PERF_H
3 #define _PERF_PERF_H
4 
5 #include <stdbool.h>
6 
7 #ifndef MAX_NR_CPUS
8 #define MAX_NR_CPUS			2048
9 #endif
10 
11 extern const char *input_name;
12 extern bool perf_host, perf_guest;
13 extern const char perf_version_string[];
14 
15 enum perf_affinity {
16 	PERF_AFFINITY_SYS = 0,
17 	PERF_AFFINITY_NODE,
18 	PERF_AFFINITY_CPU,
19 	PERF_AFFINITY_MAX
20 };
21 
22 extern int version_verbose;
23 #endif
24