summaryrefslogtreecommitdiff
path: root/threadprof.h
diff options
context:
space:
mode:
authorpdw <>2002-10-11 15:21:35 +0000
committerpdw <>2002-10-11 15:21:35 +0000
commit62a9d8a85c17d32766fd112fb630930ec847116e (patch)
treee0dd8175b643c40cb18e85c16f8053545d128910 /threadprof.h
parent7c5ba0f5d75253e6c9e598db4034a2ff05e1956f (diff)
downloadiftop-62a9d8a85c17d32766fd112fb630930ec847116e.zip
Various odds and ends.
Diffstat (limited to 'threadprof.h')
-rw-r--r--threadprof.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/threadprof.h b/threadprof.h
new file mode 100644
index 0000000..0db89e2
--- /dev/null
+++ b/threadprof.h
@@ -0,0 +1,8 @@
+#ifdef PROFILING
+
+#define pthread_create(a, b, c, d) gprof_pthread_create(a, b, c, d)
+
+int gprof_pthread_create(pthread_t * thread, pthread_attr_t * attr,
+ void * (*start_routine)(void *), void * arg);
+
+#endif