Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
trace-event-info.c File Reference
#include "util.h"
#include <dirent.h>
#include <mntent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <pthread.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdbool.h>
#include <linux/list.h>
#include <linux/kernel.h>
#include "../perf.h"
#include "trace-event.h"
#include "debugfs.h"
#include "evsel.h"

Go to the source code of this file.

Data Structures

struct  event_list
 
struct  events
 

Macros

#define VERSION   "0.5"
 
#define TRACE_CTRL   "tracing_on"
 
#define TRACE   "trace"
 
#define AVAILABLE   "available_tracers"
 
#define CURRENT   "current_tracer"
 
#define ITER_CTRL   "trace_options"
 
#define MAX_LATENCY   "tracing_max_latency"
 

Functions

int bigendian (void)
 
bool have_tracepoints (struct list_head *pattrs)
 
struct tracing_datatracing_data_get (struct list_head *pattrs, int fd, bool temp)
 
void tracing_data_put (struct tracing_data *tdata)
 
int read_tracing_data (int fd, struct list_head *pattrs)
 

Variables

unsigned int page_size
 

Macro Definition Documentation

#define AVAILABLE   "available_tracers"

Definition at line 48 of file trace-event-info.c.

#define CURRENT   "current_tracer"

Definition at line 49 of file trace-event-info.c.

#define ITER_CTRL   "trace_options"

Definition at line 50 of file trace-event-info.c.

#define MAX_LATENCY   "tracing_max_latency"

Definition at line 51 of file trace-event-info.c.

#define TRACE   "trace"

Definition at line 47 of file trace-event-info.c.

#define TRACE_CTRL   "tracing_on"

Definition at line 46 of file trace-event-info.c.

#define VERSION   "0.5"

Definition at line 44 of file trace-event-info.c.

Function Documentation

int bigendian ( void  )

Definition at line 152 of file trace-event-info.c.

bool have_tracepoints ( struct list_head pattrs)

Definition at line 420 of file trace-event-info.c.

int read_tracing_data ( int  fd,
struct list_head pattrs 
)

Definition at line 530 of file trace-event-info.c.

struct tracing_data* tracing_data_get ( struct list_head pattrs,
int  fd,
bool  temp 
)
read

Definition at line 464 of file trace-event-info.c.

void tracing_data_put ( struct tracing_data tdata)

Definition at line 520 of file trace-event-info.c.

Variable Documentation

unsigned int page_size

Definition at line 53 of file trace-event-info.c.