vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

trace.h (640B)


      1 typedef enum Tevent {
      2 	SAdmit = 0,	/* Edf admit */
      3 	SRelease,	/* Edf release, waiting to be scheduled */
      4 	SEdf,		/* running under EDF */
      5 	SRun,		/* running best effort */
      6 	SReady,		/* runnable but not running  */
      7 	SSleep,		/* blocked */
      8 	SYield,		/* blocked waiting for release */
      9 	SSlice,		/* slice exhausted */
     10 	SDeadline,	/* proc's deadline */
     11 	SExpel,		/* Edf expel */
     12 	SDead,		/* proc dies */
     13 	SInts,		/* Interrupt start */
     14 	SInte,		/* Interrupt end */
     15 	SUser,		/* user event */
     16 	Nevent,
     17 } Tevent;
     18 
     19 typedef struct Traceevent	Traceevent;
     20 struct Traceevent {
     21 	ulong	pid;	
     22 	ulong	etype;	/* Event type */
     23 	vlong	time;	/* time stamp  */
     24 };