Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / tools / perf / perf.h
blob74014033df6054f149da59f6504cbdc2d1aa007b
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _PERF_PERF_H
3 #define _PERF_PERF_H
5 #include <stdbool.h>
7 #ifndef MAX_NR_CPUS
8 #define MAX_NR_CPUS 2048
9 #endif
11 extern const char *input_name;
12 extern bool perf_host, perf_guest;
13 extern const char perf_version_string[];
15 void pthread__unblock_sigwinch(void);
17 enum perf_affinity {
18 PERF_AFFINITY_SYS = 0,
19 PERF_AFFINITY_NODE,
20 PERF_AFFINITY_CPU,
21 PERF_AFFINITY_MAX
24 extern int version_verbose;
25 #endif