HPCToolkit
perf_constants.h File Reference
#include <unistd.h>
#include <sys/types.h>
#include <linux/types.h>
#include <linux/perf_event.h>
Include dependency graph for perf_constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THREAD_SELF   0
 
#define CPU_ANY   -1
 
#define GROUP_FD   -1
 
#define PERF_FLAGS   0
 
#define PERF_REQUEST_0_SKID   2
 
#define PERF_WAKEUP_EACH_SAMPLE   1
 
#define EXCLUDE   1
 
#define INCLUDE   0
 
#define EXCLUDE_CALLCHAIN   EXCLUDE
 
#define INCLUDE_CALLCHAIN   INCLUDE
 
#define HPCRUN_DEFAULT_SAMPLE_RATE   300
 

Typedefs

typedef __u32 u32
 
typedef __u64 u64
 

Macro Definition Documentation

◆ CPU_ANY

#define CPU_ANY   -1

Definition at line 53 of file perf_constants.h.

◆ EXCLUDE

#define EXCLUDE   1

Definition at line 59 of file perf_constants.h.

◆ EXCLUDE_CALLCHAIN

#define EXCLUDE_CALLCHAIN   EXCLUDE

Definition at line 62 of file perf_constants.h.

◆ GROUP_FD

#define GROUP_FD   -1

Definition at line 54 of file perf_constants.h.

◆ HPCRUN_DEFAULT_SAMPLE_RATE

#define HPCRUN_DEFAULT_SAMPLE_RATE   300

Definition at line 66 of file perf_constants.h.

◆ INCLUDE

#define INCLUDE   0

Definition at line 60 of file perf_constants.h.

◆ INCLUDE_CALLCHAIN

#define INCLUDE_CALLCHAIN   INCLUDE

Definition at line 63 of file perf_constants.h.

◆ PERF_FLAGS

#define PERF_FLAGS   0

Definition at line 55 of file perf_constants.h.

◆ PERF_REQUEST_0_SKID

#define PERF_REQUEST_0_SKID   2

Definition at line 56 of file perf_constants.h.

◆ PERF_WAKEUP_EACH_SAMPLE

#define PERF_WAKEUP_EACH_SAMPLE   1

Definition at line 57 of file perf_constants.h.

◆ THREAD_SELF

#define THREAD_SELF   0

Definition at line 52 of file perf_constants.h.

Typedef Documentation

◆ u32

typedef __u32 u32

Definition at line 70 of file perf_constants.h.

◆ u64

typedef __u64 u64

Definition at line 75 of file perf_constants.h.