From 0abe886989914fe1d3866f1cfc31c9516114e67f Mon Sep 17 00:00:00 2001 From: yuryur Date: Sun, 29 Jul 2012 16:16:16 -0700 Subject: Define touch command probe for DTrace support --- memcached_dtrace.d | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/memcached_dtrace.d b/memcached_dtrace.d index eeffb6f..0fe132c 100644 --- a/memcached_dtrace.d +++ b/memcached_dtrace.d @@ -250,6 +250,17 @@ provider memcached { */ probe command__append(int connid, const char *key, int keylen, int size, int64_t casid); + /** + * Fired for an touch-command. + * @param connid connection id + * @param key requested key + * @param keylen length of the key + * @param size the new size of the key's data (or signed int -1 if + * not found) + * @param casid the casid for the item + */ + probe command__touch(int connid, const char *key, int keylen, int size, int64_t casid); + /** * Fired for a cas-command. * @param connid connection id -- cgit v1.2.1