aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/truss/truss.h
diff options
context:
space:
mode:
authorAndrey Zonov <zont@FreeBSD.org>2012-09-02 11:03:18 +0000
committerAndrey Zonov <zont@FreeBSD.org>2012-09-02 11:03:18 +0000
commit94355cfdfd3f9c482aae46b832836caf9a0a191a (patch)
tree1ba7a6f85e2b6fce8ea23a11785ab41a6e30daf1 /usr.bin/truss/truss.h
parentbb9f214f64e569fefb6ec5a5f525e34b7a21c6d1 (diff)
Notes
Diffstat (limited to 'usr.bin/truss/truss.h')
-rw-r--r--usr.bin/truss/truss.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/usr.bin/truss/truss.h b/usr.bin/truss/truss.h
index e70853099446..d09886e8ef69 100644
--- a/usr.bin/truss/truss.h
+++ b/usr.bin/truss/truss.h
@@ -27,13 +27,13 @@
#include <sys/queue.h>
-#define FOLLOWFORKS 0x00000001
-#define RELATIVETIMESTAMPS 0x00000002
-#define ABSOLUTETIMESTAMPS 0x00000004
-#define NOSIGS 0x00000008
-#define EXECVEARGS 0x00000010
-#define EXECVEENVS 0x00000020
-#define COUNTONLY 0x00000040
+#define FOLLOWFORKS 0x00000001
+#define RELATIVETIMESTAMPS 0x00000002
+#define ABSOLUTETIMESTAMPS 0x00000004
+#define NOSIGS 0x00000008
+#define EXECVEARGS 0x00000010
+#define EXECVEENVS 0x00000020
+#define COUNTONLY 0x00000040
struct threadinfo
{
@@ -57,11 +57,11 @@ struct trussinfo
struct timespec after;
struct threadinfo *curthread;
-
+
SLIST_HEAD(, threadinfo) threadlist;
};
-#define timespecsubt(tvp, uvp, vvp) \
+#define timespecsubt(tvp, uvp, vvp) \
do { \
(vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
(vvp)->tv_nsec = (tvp)->tv_nsec - (uvp)->tv_nsec; \
@@ -71,7 +71,7 @@ struct trussinfo
} \
} while (0)
-#define timespecadd(tvp, uvp, vvp) \
+#define timespecadd(tvp, uvp, vvp) \
do { \
(vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
(vvp)->tv_nsec = (tvp)->tv_nsec + (uvp)->tv_nsec; \
@@ -81,9 +81,9 @@ struct trussinfo
} \
} while (0)
-#define S_NONE 0
-#define S_SCE 1
-#define S_SCX 2
-#define S_EXIT 3
-#define S_SIG 4
-#define S_EXEC 5
+#define S_NONE 0
+#define S_SCE 1
+#define S_SCX 2
+#define S_EXIT 3
+#define S_SIG 4
+#define S_EXEC 5