Classes | Defines | Typedefs | Functions

include/traceio.h File Reference

#include <types.h>
Include dependency graph for traceio.h:

Go to the source code of this file.

Classes

struct  op_unit

Defines

#define DISKMON_TRACE   0
#define SYNTHETIC_TRACE   1
#define READ   0
#define WRITE   1
#define TRIM   2

Typedefs

typedef void * traceio_handler

Functions

traceio_handler open_traceio (char *filename, int mode)
void close_traceio (traceio_handler handler)
struct op_unit next_op (traceio_handler handler)
int is_valid_op_unit (struct op_unit op_unit)
int is_last (struct op_unit op_unit)

Define Documentation

#define DISKMON_TRACE   0

Definition at line 7 of file traceio.h.

#define READ   0

Definition at line 13 of file traceio.h.

#define SYNTHETIC_TRACE   1

Definition at line 8 of file traceio.h.

#define TRIM   2

Definition at line 15 of file traceio.h.

#define WRITE   1

Definition at line 14 of file traceio.h.


Typedef Documentation

typedef void* traceio_handler

Definition at line 11 of file traceio.h.


Function Documentation

void close_traceio ( traceio_handler  handler  ) 

Definition at line 89 of file trace.c.

Here is the caller graph for this function:

int is_last ( struct op_unit  op_unit  ) 

Definition at line 159 of file trace.c.

Here is the caller graph for this function:

int is_valid_op_unit ( struct op_unit  op_unit  ) 

Definition at line 152 of file trace.c.

Here is the caller graph for this function:

struct op_unit next_op ( traceio_handler  handler  )  [read]

Definition at line 135 of file trace.c.

Here is the caller graph for this function:

traceio_handler open_traceio ( char *  filename,
int  mode 
)

Definition at line 43 of file trace.c.

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines