summaryrefslogtreecommitdiff
path: root/logger.h
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2017-01-01 23:40:58 -0800
committerdormando <dormando@rydia.net>2017-01-04 22:43:20 -0800
commitd58171e8d7d0b1ecbc81cce5ddd57a77f82c5b5a (patch)
treed4b0ecdd3efbdb1dc6b55ffcefa56ae56b1b73aa /logger.h
parent87a70654c176dfe984449b4b5c6c85cbddec469a (diff)
downloadmemcached-d58171e8d7d0b1ecbc81cce5ddd57a77f82c5b5a.tar.gz
log class id with fetchers and mutations
you can now cross-reference slab classes of evicted prefixes with misses
Diffstat (limited to 'logger.h')
-rw-r--r--logger.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/logger.h b/logger.h
index 48f9954..2092e14 100644
--- a/logger.h
+++ b/logger.h
@@ -53,12 +53,14 @@ struct logentry_eviction {
uint32_t latime;
uint16_t it_flags;
uint8_t nkey;
+ uint8_t clsid;
char key[];
};
struct logentry_item_get {
uint8_t was_found;
uint8_t nkey;
+ uint8_t clsid;
char key[];
};
@@ -67,6 +69,7 @@ struct logentry_item_store {
int cmd;
rel_time_t ttl;
uint8_t nkey;
+ uint8_t clsid;
char key[];
};