minor trace fixups
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Mon, 9 Mar 1981 18:17:37 +0000 (10:17 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Mon, 9 Mar 1981 18:17:37 +0000 (10:17 -0800)
SCCS-vsn: sys/sys/trace.h 4.4

usr/src/sys/sys/trace.h

index c94cbd3..abb5055 100644 (file)
@@ -1,4 +1,4 @@
-/*     trace.h 4.3     81/03/03        */
+/*     trace.h 4.4     81/03/09        */
 
 /*
  * File system buffer tracing points; all trace <dev, bn>
 
 /*
  * File system buffer tracing points; all trace <dev, bn>
 
 #define        TRCSIZ          4096
 
 
 #define        TRCSIZ          4096
 
+/*
+ * Specifications of the vtrace() system call, which takes one argument.
+ */
+#define        VTRACE          64+51
+
+#define        VTR_DISABLE     0               /* set a trace flag to 0 */
+#define        VTR_ENABLE      1               /* set a trace flag to 1 */
+#define        VTR_VALUE       2               /* return value of a trace flag */
+#define        VTR_UALARM      3               /* set alarm to go off (sig 16) */
+                                       /* in specified number of hz */
 #ifdef KERNEL
 #ifdef TRACE
 char   traceflags[TR_NFLAGS];
 #ifdef KERNEL
 #ifdef TRACE
 char   traceflags[TR_NFLAGS];