Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
builtin-record.c File Reference
#include "builtin.h"
#include "perf.h"
#include "util/build-id.h"
#include "util/util.h"
#include "util/parse-options.h"
#include "util/parse-events.h"
#include "util/header.h"
#include "util/event.h"
#include "util/evlist.h"
#include "util/evsel.h"
#include "util/debug.h"
#include "util/session.h"
#include "util/tool.h"
#include "util/symbol.h"
#include "util/cpumap.h"
#include "util/thread_map.h"
#include <unistd.h>
#include <sched.h>
#include <sys/mman.h>

Go to the source code of this file.

Data Structures

struct  perf_record
 
struct  branch_mode
 

Macros

#define _FILE_OFFSET_BITS   64
 
#define BRANCH_OPT(n, m)   { .name = n, .mode = (m) }
 
#define BRANCH_END   { .name = NULL }
 
#define ONLY_PLM
 
#define CALLCHAIN_HELP   "do call-graph (stack chain/backtrace) recording: "
 

Enumerations

enum  write_mode_t { WRITE_FORCE, WRITE_APPEND }
 

Functions

int cmd_record (int argc, const char **argv, const char *prefix __maybe_unused)
 

Variables

struct option record_options []
 

Macro Definition Documentation

#define _FILE_OFFSET_BITS   64

Definition at line 8 of file builtin-record.c.

#define BRANCH_END   { .name = NULL }

Definition at line 713 of file builtin-record.c.

#define BRANCH_OPT (   n,
  m 
)    { .name = n, .mode = (m) }

Definition at line 710 of file builtin-record.c.

#define CALLCHAIN_HELP   "do call-graph (stack chain/backtrace) recording: "

Definition at line 926 of file builtin-record.c.

#define ONLY_PLM
Value:
PERF_SAMPLE_BRANCH_KERNEL |\
PERF_SAMPLE_BRANCH_HV)

Enumeration Type Documentation

Enumerator:
WRITE_FORCE 
WRITE_APPEND 

Definition at line 34 of file builtin-record.c.

Function Documentation

int cmd_record ( int  argc,
const char **  argv,
const char *prefix  __maybe_unused 
)

Definition at line 1009 of file builtin-record.c.

Variable Documentation

struct option record_options[]

Definition at line 941 of file builtin-record.c.