summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/truss.h
diff options
context:
space:
mode:
authorzont <zont@FreeBSD.org>2012-09-16 14:38:01 +0000
committerzont <zont@FreeBSD.org>2012-09-16 14:38:01 +0000
commit07b8304d19dd55a8eaac5abd279a0b195f9a2e0e (patch)
tree4414f2afd3e2d82c1cb68d3c0e47d967f00ff093 /usr.bin/truss/truss.h
parentbde38da8f25291ce18341692c06e5fece707f914 (diff)
downloadFreeBSD-src-07b8304d19dd55a8eaac5abd279a0b195f9a2e0e.zip
FreeBSD-src-07b8304d19dd55a8eaac5abd279a0b195f9a2e0e.tar.gz
- Make truss thread-aware.
Approved by: kib (mentor) MFC after: 2 weeks
Diffstat (limited to 'usr.bin/truss/truss.h')
-rw-r--r--usr.bin/truss/truss.h5
1 files changed, 3 insertions, 2 deletions
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;
OpenPOWER on IntegriCloud