]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - tools/perf/perf.h
Merge tag 'v5.6' into mips-next
[mirror_ubuntu-jammy-kernel.git] / tools / perf / perf.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
6eda5838
TG
2#ifndef _PERF_PERF_H
3#define _PERF_PERF_H
4
82baa0eb 5#include <stdbool.h>
82baa0eb 6
21b8732e 7#ifndef MAX_NR_CPUS
9f94c7f9 8#define MAX_NR_CPUS 2048
21b8732e 9#endif
6eda5838 10
70cb4e96 11extern const char *input_name;
8035458f 12extern bool perf_host, perf_guest;
fbe96f29 13extern const char perf_version_string[];
a1645ce1 14
3af6e338
ACM
15void pthread__unblock_sigwinch(void);
16
9d2ed645
AB
17enum perf_affinity {
18 PERF_AFFINITY_SYS = 0,
19 PERF_AFFINITY_NODE,
20 PERF_AFFINITY_CPU,
21 PERF_AFFINITY_MAX
0f82ebc4
ACM
22};
23
3aa94b10 24extern int version_verbose;
6eda5838 25#endif