Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
trace-event-parse.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "../perf.h"
#include "util.h"
#include "trace-event.h"

Go to the source code of this file.

Data Structures

struct  flag
 

Functions

struct peventread_trace_init (int file_bigendian, int host_bigendian)
 
int common_lock_depth (struct scripting_context *context)
 
int common_flags (struct scripting_context *context)
 
int common_pc (struct scripting_context *context)
 
unsigned long long raw_field_value (struct event_format *event, const char *name, void *data)
 
voidraw_field_ptr (struct event_format *event, const char *name, void *data)
 
int trace_parse_common_type (struct pevent *pevent, void *data)
 
int trace_parse_common_pid (struct pevent *pevent, void *data)
 
unsigned long long read_size (struct event_format *event, void *ptr, int size)
 
void event_format__print (struct event_format *event, int cpu, void *data, int size)
 
void print_trace_event (struct pevent *pevent, int cpu, void *data, int size)
 
void print_event (struct pevent *pevent, int cpu, void *data, int size, unsigned long long nsecs, char *comm)
 
void parse_proc_kallsyms (struct pevent *pevent, char *file, unsigned int size __maybe_unused)
 
void parse_ftrace_printk (struct pevent *pevent, char *file, unsigned int size __maybe_unused)
 
int parse_ftrace_file (struct pevent *pevent, char *buf, unsigned long size)
 
int parse_event_file (struct pevent *pevent, char *buf, unsigned long size, char *sys)
 
struct event_formattrace_find_next_event (struct pevent *pevent, struct event_format *event)
 
unsigned long long eval_flag (const char *flag)
 

Variables

int header_page_size_size
 
int header_page_ts_size
 
int header_page_data_offset
 
bool latency_format
 

Function Documentation

int common_flags ( struct scripting_context context)

Definition at line 86 of file trace-event-parse.c.

int common_lock_depth ( struct scripting_context context)

Definition at line 72 of file trace-event-parse.c.

int common_pc ( struct scripting_context context)

Definition at line 100 of file trace-event-parse.c.

unsigned long long eval_flag ( const char flag)

Definition at line 337 of file trace-event-parse.c.

void event_format__print ( struct event_format event,
int  cpu,
void data,
int  size 
)

Definition at line 170 of file trace-event-parse.c.

int parse_event_file ( struct pevent pevent,
char buf,
unsigned long  size,
char sys 
)

Definition at line 283 of file trace-event-parse.c.

int parse_ftrace_file ( struct pevent pevent,
char buf,
unsigned long  size 
)

Definition at line 278 of file trace-event-parse.c.

void parse_ftrace_printk ( struct pevent pevent,
char file,
unsigned int size  __maybe_unused 
)

Definition at line 253 of file trace-event-parse.c.

void parse_proc_kallsyms ( struct pevent pevent,
char file,
unsigned int size  __maybe_unused 
)

Definition at line 223 of file trace-event-parse.c.

void print_event ( struct pevent pevent,
int  cpu,
void data,
int  size,
unsigned long long  nsecs,
char comm 
)

Definition at line 199 of file trace-event-parse.c.

void print_trace_event ( struct pevent pevent,
int  cpu,
void data,
int  size 
)

Definition at line 186 of file trace-event-parse.c.

void* raw_field_ptr ( struct event_format event,
const char name,
void data 
)

Definition at line 129 of file trace-event-parse.c.

unsigned long long raw_field_value ( struct event_format event,
const char name,
void data 
)

Definition at line 115 of file trace-event-parse.c.

unsigned long long read_size ( struct event_format event,
void ptr,
int  size 
)

Definition at line 165 of file trace-event-parse.c.

struct pevent* read_trace_init ( int  file_bigendian,
int  host_bigendian 
)
read

Definition at line 37 of file trace-event-parse.c.

struct event_format* trace_find_next_event ( struct pevent pevent,
struct event_format event 
)
read

Definition at line 289 of file trace-event-parse.c.

int trace_parse_common_pid ( struct pevent pevent,
void data 
)

Definition at line 157 of file trace-event-parse.c.

int trace_parse_common_type ( struct pevent pevent,
void data 
)

Definition at line 149 of file trace-event-parse.c.

Variable Documentation

int header_page_data_offset

Definition at line 33 of file trace-event-parse.c.

int header_page_size_size

Definition at line 31 of file trace-event-parse.c.

int header_page_ts_size

Definition at line 32 of file trace-event-parse.c.

bool latency_format

Definition at line 35 of file trace-event-parse.c.