Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
perf.h File Reference
#include <asm/unistd.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include <linux/perf_event.h>
#include "util/types.h"
#include <stdbool.h>
#include "util/target.h"

Go to the source code of this file.

Data Structures

struct  perf_mmap
 
struct  ip_callchain
 
struct  branch_flags
 
struct  branch_entry
 
struct  branch_stack
 
struct  perf_record_opts
 

Macros

#define PR_TASK_PERF_EVENTS_DISABLE   31
 
#define PR_TASK_PERF_EVENTS_ENABLE   32
 
#define NSEC_PER_SEC   1000000000ULL
 
#define __user
 
#define asmlinkage
 
#define unlikely(x)   __builtin_expect(!!(x), 0)
 
#define min(x, y)
 
#define MAX_COUNTERS   256
 
#define MAX_NR_CPUS   256
 

Enumerations

enum  perf_call_graph_mode { CALLCHAIN_NONE, CALLCHAIN_FP, CALLCHAIN_DWARF }
 

Functions

void get_term_dimensions (struct winsize *ws)
 
void pthread__unblock_sigwinch (void)
 

Variables

bool perf_host
 
bool perf_guest
 
const char perf_version_string []
 

Macro Definition Documentation

#define __user

Definition at line 157 of file perf.h.

#define asmlinkage

Definition at line 158 of file perf.h.

#define MAX_COUNTERS   256

Definition at line 176 of file perf.h.

#define MAX_NR_CPUS   256

Definition at line 177 of file perf.h.

#define min (   x,
  y 
)
Value:
({ \
typeof(x) _min1 = (x); \
typeof(y) _min2 = (y); \
(void) (&_min1 == &_min2); \
_min1 < _min2 ? _min1 : _min2; })

Definition at line 161 of file perf.h.

#define NSEC_PER_SEC   1000000000ULL

Definition at line 143 of file perf.h.

#define PR_TASK_PERF_EVENTS_DISABLE   31

Definition at line 139 of file perf.h.

#define PR_TASK_PERF_EVENTS_ENABLE   32

Definition at line 140 of file perf.h.

#define unlikely (   x)    __builtin_expect(!!(x), 0)

Definition at line 160 of file perf.h.

Enumeration Type Documentation

Enumerator:
CALLCHAIN_NONE 
CALLCHAIN_FP 
CALLCHAIN_DWARF 

Definition at line 208 of file perf.h.

Function Documentation

void get_term_dimensions ( struct winsize ws)

Definition at line 70 of file builtin-top.c.

void pthread__unblock_sigwinch ( void  )

Definition at line 430 of file perf.c.

Variable Documentation

bool perf_guest

Definition at line 14 of file util.c.

bool perf_host

Definition at line 13 of file util.c.

const char perf_version_string[]

Definition at line 283 of file perf.c.