Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
trace_event_perf.c File Reference
#include <linux/module.h>
#include <linux/kprobes.h>
#include "trace.h"

Go to the source code of this file.

Functions

typedef typeof (unsigned long[PERF_MAX_TRACE_SIZE/sizeof(unsigned long)]) perf_trace_t
 
int perf_trace_init (struct perf_event *p_event)
 
void perf_trace_destroy (struct perf_event *p_event)
 
int perf_trace_add (struct perf_event *p_event, int flags)
 
void perf_trace_del (struct perf_event *p_event, int flags)
 
__kprobes voidperf_trace_buf_prepare (int size, unsigned short type, struct pt_regs *regs, int *rctxp)
 
 EXPORT_SYMBOL_GPL (perf_trace_buf_prepare)
 

Function Documentation

EXPORT_SYMBOL_GPL ( perf_trace_buf_prepare  )
int perf_trace_add ( struct perf_event p_event,
int  flags 
)

Definition at line 203 of file trace_event_perf.c.

__kprobes void* perf_trace_buf_prepare ( int  size,
unsigned short  type,
struct pt_regs regs,
int rctxp 
)

Definition at line 229 of file trace_event_perf.c.

void perf_trace_del ( struct perf_event p_event,
int  flags 
)

Definition at line 222 of file trace_event_perf.c.

void perf_trace_destroy ( struct perf_event p_event)

Definition at line 195 of file trace_event_perf.c.

int perf_trace_init ( struct perf_event p_event)

Definition at line 173 of file trace_event_perf.c.

typedef typeof ( unsigned  long[PERF_MAX_TRACE_SIZE/sizeof(unsigned long)])