add stamp tracing
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 19 Apr 1981 02:50:04 +0000 (18:50 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 19 Apr 1981 02:50:04 +0000 (18:50 -0800)
SCCS-vsn: sys/sys/trace.h 4.7

usr/src/sys/sys/trace.h

index 0d76e0c..c7c002e 100644 (file)
@@ -1,4 +1,4 @@
-/*     trace.h 4.6     81/03/11        */
+/*     trace.h 4.7     81/04/18        */
 
 /*
  * File system buffer tracing points; all trace <dev, bn>
 
 /*
  * File system buffer tracing points; all trace <dev, bn>
  */
 #define        TR_VADVISE      40      /* vadvise occurred with <arg, pid> */
 
  */
 #define        TR_VADVISE      40      /* vadvise occurred with <arg, pid> */
 
+/*
+ * Miscellaneous
+ */
+#define        TR_STAMP        50      /* user said vtrace(VTR_STAMP, value); */
+
 /*
  * This defines the size of the trace flags array.
  */
 /*
  * This defines the size of the trace flags array.
  */
@@ -57,6 +62,7 @@
 #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 */
 #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 */
+#define        VTR_STAMP       4               /* user specified stamp */
 #ifdef KERNEL
 #ifdef TRACE
 char   traceflags[TR_NFLAGS];
 #ifdef KERNEL
 #ifdef TRACE
 char   traceflags[TR_NFLAGS];