Macros | Functions
trace_intr.h File Reference

Go to the source code of this file.

Macros

#define __TRACE_INTR_H_REV   "\$RCSfile: trace_intr.h,v $(i386)\$Revision: 1.1.1.1 $\$Date: 2009/10/09 20:03:00 $"
 
#define TRACE_VECTOR   0x82
 

Functions

static void trace_function (struct timeval *time, int tid,...)
 

Macro Definition Documentation

#define __TRACE_INTR_H_REV   "\$RCSfile: trace_intr.h,v $(i386)\$Revision: 1.1.1.1 $\$Date: 2009/10/09 20:03:00 $"

Definition at line 8 of file trace_intr.h.

#define TRACE_VECTOR   0x82

Definition at line 19 of file trace_intr.h.

Referenced by trace_function().

Function Documentation

static void trace_function ( struct timeval *  time,
int  tid,
  ... 
)
static

Definition at line 93 of file trace_intr.h.

References TRACE_VECTOR.

98 {
99  va_list ap;
100 
101  va_start( ap, tid );
102  __asm__( "int %0"
103  :
104  :"i"(TRACE_VECTOR)
105  ,"a"(time)
106  ,"b"(tid)
107  ,"c"(ap) );
108 
109  va_end( ap );
110  return;
111 } /* trace_function */
#define TRACE_VECTOR
Definition: trace_intr.h:19