Functions

lib/trace.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "debug.h"
#include "trace.h"
Include dependency graph for trace.c:

Go to the source code of this file.

Functions

int is_valid_mode (int mode)
int is_valid_op (int op)
int is_valid_traceio (struct traceio *traceio)
traceio_handler open_traceio (char *filename, int mode)
void close_traceio (traceio_handler handler)
_u32 str2op (char *op)
struct op_unit __next_op_diskmon (struct traceio *traceio)
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)

Function Documentation

struct op_unit __next_op_diskmon ( struct traceio traceio  )  [read]

Definition at line 116 of file trace.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void close_traceio ( traceio_handler  handler  ) 

Definition at line 89 of file trace.c.

Here is the call graph for this function:

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_mode ( int  mode  )  [inline]

Definition at line 13 of file trace.c.

Here is the caller graph for this function:

int is_valid_op ( int  op  )  [inline]

Definition at line 22 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 call graph for this function:

Here is the caller graph for this function:

int is_valid_traceio ( struct traceio traceio  )  [inline]

Definition at line 32 of file trace.c.

Here is the call graph for this function:

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 call graph for this function:

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 call graph for this function:

Here is the caller graph for this function:

_u32 str2op ( char *  op  ) 

Definition at line 108 of file trace.c.

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines