Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
trace-agent-rw.c File Reference
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/syscall.h>
#include "trace-agent.h"

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define READ_WAIT_USEC   100000
 

Functions

voidrw_thread_info_new (void)
 
voidrw_thread_init (int cpu, const char *in_path, const char *out_path, bool stdout_flag, unsigned long pipe_size, struct rw_thread_info *rw_ti)
 
pthread_t rw_thread_run (struct rw_thread_info *rw_ti)
 

Macro Definition Documentation

#define _GNU_SOURCE

Definition at line 12 of file trace-agent-rw.c.

#define READ_WAIT_USEC   100000

Definition at line 20 of file trace-agent-rw.c.

Function Documentation

void* rw_thread_info_new ( void  )

Definition at line 22 of file trace-agent-rw.c.

void* rw_thread_init ( int  cpu,
const char in_path,
const char out_path,
bool  stdout_flag,
unsigned long  pipe_size,
struct rw_thread_info rw_ti 
)

Definition at line 42 of file trace-agent-rw.c.

pthread_t rw_thread_run ( struct rw_thread_info rw_ti)

Definition at line 180 of file trace-agent-rw.c.