From 07b8304d19dd55a8eaac5abd279a0b195f9a2e0e Mon Sep 17 00:00:00 2001 From: zont Date: Sun, 16 Sep 2012 14:38:01 +0000 Subject: - Make truss thread-aware. Approved by: kib (mentor) MFC after: 2 weeks --- usr.bin/truss/truss.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/truss/truss.h') diff --git a/usr.bin/truss/truss.h b/usr.bin/truss/truss.h index 7dd87f5..dcc86a5 100644 --- a/usr.bin/truss/truss.h +++ b/usr.bin/truss/truss.h @@ -41,6 +41,9 @@ struct threadinfo lwpid_t tid; int in_syscall; int in_fork; + void *fsc; + struct timespec before; + struct timespec after; }; struct trussinfo @@ -53,8 +56,6 @@ struct trussinfo FILE *outfile; struct timespec start_time; - struct timespec before; - struct timespec after; struct threadinfo *curthread; -- cgit v1.1