[dtrace-discuss] Memcached dtrace probes

Trond Norbye
2008-09-08T12:34:44Z

I am currently working on adding DTrace probes we have for Memcached
1.2.5 to the new binary protocol in 1.3 branch. The problem I am
facing is that I should have had a new variable into the probe. When
we added the probes, all memcached keys would be zeroterminated ascii
strings, but in the binary protocol it may not be zero-terminated.

So what do I do?

According to
http://src.opensolaris.org/source/xref/webstack/memcached-incubator/trunk/server/memcached_dtrace.d#270
  I would guess that I can modify the probes to contain the length
field? Or should I go ahead and create another set of probes for the
binary protocol?

Cheers,

Trond