xref: /openbmc/linux/tools/perf/perf.h (revision fe0a5788)
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 void pthread__unblock_sigwinch(void);
16 
17 enum perf_affinity {
18 	PERF_AFFINITY_SYS = 0,
19 	PERF_AFFINITY_NODE,
20 	PERF_AFFINITY_CPU,
21 	PERF_AFFINITY_MAX
22 };
23 
24 extern int version_verbose;
25 #endif
26