Loading newbrt/brt-hot-flusher.c +8 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ toku_brt_hot_status_init(void) STATUS_INIT(BRT_HOT_NUM_COMPLETED, UINT64, "operations successfully completed"); STATUS_INIT(BRT_HOT_NUM_ABORTED, UINT64, "operations aborted"); STATUS_INIT(BRT_HOT_MAX_ROOT_FLUSH_COUNT, UINT64, "max number of flushes from root ever required to optimize a tree"); DRD_IGNORE_VAR(STATUS_VALUE(BRT_HOT_MAX_ROOT_FLUSH_COUNT)); hot_status.initialized = true; } Loading Loading @@ -364,4 +363,12 @@ toku_brt_hot_optimize(BRT brt, return r; } void __attribute__((__constructor__)) toku_hot_drd_ignore(void); void toku_hot_drd_ignore(void) { // incremented only while lock is held, but read by engine status asynchronously. DRD_IGNORE_VAR(hot_status); } #undef STATUS_VALUE newbrt/cachetable.c +14 −2 Original line number Diff line number Diff line Loading @@ -4018,8 +4018,20 @@ toku_cleaner_thread (void *cachetable_v) void __attribute__((__constructor__)) toku_cachetable_drd_ignore(void); void toku_cachetable_drd_ignore(void) { // incremented only while lock is held, but read by engine status asynchronously. DRD_IGNORE_VAR(STATUS_VALUE(CT_EVICTIONS)); DRD_IGNORE_VAR(cachetable_hit); DRD_IGNORE_VAR(cachetable_miss); DRD_IGNORE_VAR(cachetable_misstime); DRD_IGNORE_VAR(cachetable_waittime); DRD_IGNORE_VAR(cachetable_wait_reading); DRD_IGNORE_VAR(cachetable_wait_writing); DRD_IGNORE_VAR(cachetable_wait_checkpoint); DRD_IGNORE_VAR(cachetable_puts); DRD_IGNORE_VAR(cachetable_prefetches); DRD_IGNORE_VAR(cachetable_maybe_get_and_pins); DRD_IGNORE_VAR(cachetable_maybe_get_and_pin_hits); DRD_IGNORE_VAR(cachetable_evictions); DRD_IGNORE_VAR(cleaner_executions); DRD_IGNORE_VAR(ct_status); } #undef STATUS_VALUE Loading
newbrt/brt-hot-flusher.c +8 −1 Original line number Diff line number Diff line Loading @@ -45,7 +45,6 @@ toku_brt_hot_status_init(void) STATUS_INIT(BRT_HOT_NUM_COMPLETED, UINT64, "operations successfully completed"); STATUS_INIT(BRT_HOT_NUM_ABORTED, UINT64, "operations aborted"); STATUS_INIT(BRT_HOT_MAX_ROOT_FLUSH_COUNT, UINT64, "max number of flushes from root ever required to optimize a tree"); DRD_IGNORE_VAR(STATUS_VALUE(BRT_HOT_MAX_ROOT_FLUSH_COUNT)); hot_status.initialized = true; } Loading Loading @@ -364,4 +363,12 @@ toku_brt_hot_optimize(BRT brt, return r; } void __attribute__((__constructor__)) toku_hot_drd_ignore(void); void toku_hot_drd_ignore(void) { // incremented only while lock is held, but read by engine status asynchronously. DRD_IGNORE_VAR(hot_status); } #undef STATUS_VALUE
newbrt/cachetable.c +14 −2 Original line number Diff line number Diff line Loading @@ -4018,8 +4018,20 @@ toku_cleaner_thread (void *cachetable_v) void __attribute__((__constructor__)) toku_cachetable_drd_ignore(void); void toku_cachetable_drd_ignore(void) { // incremented only while lock is held, but read by engine status asynchronously. DRD_IGNORE_VAR(STATUS_VALUE(CT_EVICTIONS)); DRD_IGNORE_VAR(cachetable_hit); DRD_IGNORE_VAR(cachetable_miss); DRD_IGNORE_VAR(cachetable_misstime); DRD_IGNORE_VAR(cachetable_waittime); DRD_IGNORE_VAR(cachetable_wait_reading); DRD_IGNORE_VAR(cachetable_wait_writing); DRD_IGNORE_VAR(cachetable_wait_checkpoint); DRD_IGNORE_VAR(cachetable_puts); DRD_IGNORE_VAR(cachetable_prefetches); DRD_IGNORE_VAR(cachetable_maybe_get_and_pins); DRD_IGNORE_VAR(cachetable_maybe_get_and_pin_hits); DRD_IGNORE_VAR(cachetable_evictions); DRD_IGNORE_VAR(cleaner_executions); DRD_IGNORE_VAR(ct_status); } #undef STATUS_VALUE