summaryrefslogtreecommitdiff
path: root/memcached_dtrace.d
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-10-01 11:13:07 +0100
committerdormando <dormando@rydia.net>2019-10-17 13:54:44 -0700
commitb24f9305669dd8514bbfe7b7479786356523e5f0 (patch)
tree052684206d940f5893c8098786a41cb727ef047c /memcached_dtrace.d
parent1939cf9edc0656f7b1cfab6365f313b56b07a333 (diff)
downloadmemcached-b24f9305669dd8514bbfe7b7479786356523e5f0.tar.gz
DTrace build fix
During config step just being "contented" by generating the header, there is no symbols to attach for, no chance to work as is. Changing a probe signature, on some platforms, pthread_t is an opaque type thus casting to a type large enough to hold it for all oses.
Diffstat (limited to 'memcached_dtrace.d')
-rw-r--r--memcached_dtrace.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcached_dtrace.d b/memcached_dtrace.d
index 3443795..b33f48f 100644
--- a/memcached_dtrace.d
+++ b/memcached_dtrace.d
@@ -57,7 +57,7 @@ provider memcached {
* @param connid the connection id
* @param threadid the thread id
*/
- probe conn__dispatch(int connid, int threadid);
+ probe conn__dispatch(int connid, int64_t threadid);
/**
* Allocate memory from the slab allocator.