projects
/
platform
/
kernel
/
linux-starfive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
perf header: Move perf_version_string declaration
[platform/kernel/linux-starfive.git]
/
tools
/
perf
/
perf.h
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
14
enum perf_affinity {
15
PERF_AFFINITY_SYS = 0,
16
PERF_AFFINITY_NODE,
17
PERF_AFFINITY_CPU,
18
PERF_AFFINITY_MAX
19
};
20
21
extern int version_verbose;
22
#endif