Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Define touch command probe for DTrace support

  • Loading branch information...
commit 0abe886989914fe1d3866f1cfc31c9516114e67f 1 parent c979d21
@yuryur yuryur authored dormando committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 memcached_dtrace.d
View
11 memcached_dtrace.d
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.