Permalink
Browse files

Define touch command probe for DTrace support

  • Loading branch information...
1 parent c979d21 commit 0abe886989914fe1d3866f1cfc31c9516114e67f @yuryur yuryur committed with dormando Jul 29, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 memcached_dtrace.d
View
@@ -251,6 +251,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
* @param key requested key

0 comments on commit 0abe886

Please sign in to comment.