That was quick! Yep, either way would work fine. I’ll do another commit so you can take a look at both ways.
cc45c123b610bb81ba3c90907973a25ca9f8b6a5
Make rusage stats in protocol doc consistent with implementation.
af2ec22343b93738405601faff259bbfbc619112
Fix cast warning for sprintf(3), which is treated as an error thus causing compile error in gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu3)
905c4fdfa29052539fe14882959ff815ede003c2
3bdfd4637c6347d617a1e4f14d161a431edfe929
Fix for stats opaque issue pointed out at the hackathon and removed some wasteful function calls (more to come).
b2b4942917cb1d8a62016f3478eb4f8e605194a4
Removed dead code and renamed cq_peek to cq_pop
2a637c62a756df5443e3de8ab75c463906d3e323
Added support for detailed stats mode over the binary protocol.
1f48dc4dba7063d8cfdb6068721f72c5768997a4
Fix for invalid free in get_stats() pointed out by Trond.
3e47e810b6b0abf6f0f5d9aa5bff5eca92e82fe0
The slabber no longer needs a is_binary like flag for stats due to abstraction by the callback.
40aff8b0f113b9068ef55922cc482533284e83dd
Fixed a memory corruption bug in stats.
b4cdbb48ba6b850d6fd4c12b8ace2e6901c7aa87
Fixed a typo in stats key and cleaned whitespaces.
48f45982bb84961c2b08e092b597689726fb38b4
A callback function is used for stats request over ascii protocol as well now.
a91d357cab4f82e1c262705bf598f0c343bea8b3
Changed the argument ordering for stats callback to something more common.
43360802fa26a587f3e0509e47f7728e26f5f646
Fixed indent issues.
6c6fb9738968c7f8ddf21525cd17b89012437782
Stats via ASCII protocol now queries the engine for non server keys.
059c6544d2c12c1ea71255c32b18a3ffabfdd98f
Fix for duplicate stat entries.
88269cbf56a08ca701f5a8c417cd0234ea345c63
GET related stats increment fix based on HIROSE Masaaki's patch.
c4dfd926e442db6d70d198c3694f31b0e1aae76a
Improved Stats error handling to discriminate between ENOMEM and ENOENT.
e2df488bec4ec49845d79da48fd0240d9ae66801
Support of stats sizes subcommand via the binary protocol.
199216ae3af9ab8f38e35dcfe39ffbae9248c157
Support of stats reset subcommand via the binary protocol.
294c32d784a14eb63bc9a7c87e2fd14a89bcb111
Moved inclusion of malloc.h to slabs.h and cleaned whitespaces.
22f0bb88fc136e0e514e786bd769cb6240028614
Support of malloc stats via the binary protocol.
a20d4b8b5809f3f20ca806a7d3ad9111c408ffd3
Support of slabber stats via the binary protocol.
df8cf5e79376c28327cb94c63839f9988a7f9f39
Support of item stats via the binary protocol.
1cb893f0bcbda4db3eb770f9ce7980a295595ba6
1.3 series does not support delayed delete hence, test removed.
d5618da1ec86858f5cfa7aef2fbde2bca7fa4982
Code cleaned by running devtools/clean-whitespace.pl script.
607c86df69a9ca17c82c314923fb288cc8babdb7
Removed the test for delayed delete since it is non-existent in 1.3