Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _PERF_PERF_H
0003 #define _PERF_PERF_H
0004 
0005 #include <stdbool.h>
0006 
0007 #ifndef MAX_NR_CPUS
0008 #define MAX_NR_CPUS         2048
0009 #endif
0010 
0011 extern const char *input_name;
0012 extern bool perf_host, perf_guest;
0013 extern const char perf_version_string[];
0014 
0015 void pthread__unblock_sigwinch(void);
0016 
0017 enum perf_affinity {
0018     PERF_AFFINITY_SYS = 0,
0019     PERF_AFFINITY_NODE,
0020     PERF_AFFINITY_CPU,
0021     PERF_AFFINITY_MAX
0022 };
0023 
0024 extern int version_verbose;
0025 #endif