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-read.c File Reference
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/mman.h>
#include <pthread.h>
#include <fcntl.h>
#include <unistd.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  cpu_data


#define _FILE_OFFSET_BITS   64


struct pevent_recordtrace_peek_data (struct pevent *pevent, int cpu)
struct pevent_recordtrace_read_data (struct pevent *pevent, int cpu)
ssize_t trace_report (int fd, struct pevent **ppevent, bool __repipe)


int file_bigendian
int host_bigendian

Macro Definition Documentation

#define _FILE_OFFSET_BITS   64

Definition at line 21 of file trace-event-read.c.

Function Documentation

struct pevent_record* trace_peek_data ( struct pevent pevent,
int  cpu 

Definition at line 381 of file trace-event-read.c.

struct pevent_record* trace_read_data ( struct pevent pevent,
int  cpu 

Definition at line 481 of file trace-event-read.c.

ssize_t trace_report ( int  fd,
struct pevent **  ppevent,
bool  __repipe 

Definition at line 491 of file trace-event-read.c.

Variable Documentation

int file_bigendian

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

int host_bigendian

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