Import sources from 2011-03-30 iso image - sys/include

This commit is contained in:
Taru Karttunen 2011-03-30 16:47:56 +03:00
parent e5888a1ffd
commit c558a99e0b
105 changed files with 11410 additions and 0 deletions

24
sys/include/trace.h Executable file
View file

@ -0,0 +1,24 @@
typedef enum Tevent {
SAdmit = 0, /* Edf admit */
SRelease, /* Edf release, waiting to be scheduled */
SEdf, /* running under EDF */
SRun, /* running best effort */
SReady, /* runnable but not running */
SSleep, /* blocked */
SYield, /* blocked waiting for release */
SSlice, /* slice exhausted */
SDeadline, /* proc's deadline */
SExpel, /* Edf expel */
SDead, /* proc dies */
SInts, /* Interrupt start */
SInte, /* Interrupt end */
SUser, /* user event */
Nevent,
} Tevent;
typedef struct Traceevent Traceevent;
struct Traceevent {
ulong pid;
ulong etype; /* Event type */
vlong time; /* time stamp */
};