Blame view

tools/perf/perf.h 450 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
6eda5838b   Thomas Gleixner   perfcounter tools...
2
3
  #ifndef _PERF_PERF_H
  #define _PERF_PERF_H
82baa0eb4   Jiri Olsa   perf tools: Move ...
4
  #include <stdbool.h>
82baa0eb4   Jiri Olsa   perf tools: Move ...
5

21b8732eb   Christophe Leroy   perf tools: Allow...
6
  #ifndef MAX_NR_CPUS
9f94c7f94   Kyle Meyer   perf tools: Incre...
7
  #define MAX_NR_CPUS			2048
21b8732eb   Christophe Leroy   perf tools: Allow...
8
  #endif
6eda5838b   Thomas Gleixner   perfcounter tools...
9

70cb4e963   Feng Tang   perf tools: Add a...
10
  extern const char *input_name;
8035458fb   Arnaldo Carvalho de Melo   perf options: Typ...
11
  extern bool perf_host, perf_guest;
fbe96f29c   Stephane Eranian   perf tools: Make ...
12
  extern const char perf_version_string[];
a1645ce12   Zhang, Yanmin   perf: 'perf kvm' ...
13

3af6e3386   Arnaldo Carvalho de Melo   perf ui browser: ...
14
  void pthread__unblock_sigwinch(void);
9d2ed6458   Alexey Budankov   perf record: Allo...
15
16
17
18
19
  enum perf_affinity {
  	PERF_AFFINITY_SYS = 0,
  	PERF_AFFINITY_NODE,
  	PERF_AFFINITY_CPU,
  	PERF_AFFINITY_MAX
0f82ebc45   Arnaldo Carvalho de Melo   perf evsel: Intro...
20
  };
3aa94b10a   Jin Yao   perf tools: Add '...
21
  extern int version_verbose;
6eda5838b   Thomas Gleixner   perfcounter tools...
22
  #endif