Linux Perf
perf-sys.h File Reference
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/perf_event.h>
#include <asm/barrier.h>
Include dependency graph for perf-sys.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CPUINFO_PROC   { "model name", }
 

Functions

static int sys_perf_event_open (struct perf_event_attr *attr, pid_t pid, int cpu, int group_fd, unsigned long flags)
 

Macro Definition Documentation

◆ CPUINFO_PROC

#define CPUINFO_PROC   { "model name", }

Definition at line 54 of file perf-sys.h.

Function Documentation

◆ sys_perf_event_open()

static int sys_perf_event_open ( struct perf_event_attr *  attr,
pid_t  pid,
int  cpu,
int  group_fd,
unsigned long  flags 
)
inlinestatic

Definition at line 58 of file perf-sys.h.

Here is the call graph for this function: