Remove TRACE_EVENT from EstimateBytesInPotentiallyAncientUndoDeltas This function gets called many thousands of times per maintenance scheduler op. When enabling tracing, it fills up most of the trace buffer very quickly, but is rarely interesting.
Change-Id: I2cbbe827c33a4110a7167d4121408f191b89082a Reviewed-on: http://gerrit.cloudera.org:8080/6415 Reviewed-by: Mike Percy <[email protected]> Tested-by: Kudu Jenkins Reviewed-by: David Ribeiro Alves <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/9b52ae14 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/9b52ae14 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/9b52ae14 Branch: refs/heads/master Commit: 9b52ae1484642b0dce53a93e26aa13a6814ca783 Parents: 5df142f Author: Todd Lipcon <[email protected]> Authored: Fri Mar 17 11:28:17 2017 -0700 Committer: Todd Lipcon <[email protected]> Committed: Sat Mar 18 00:03:04 2017 +0000 ---------------------------------------------------------------------- src/kudu/tablet/diskrowset.cc | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/9b52ae14/src/kudu/tablet/diskrowset.cc ---------------------------------------------------------------------- diff --git a/src/kudu/tablet/diskrowset.cc b/src/kudu/tablet/diskrowset.cc index 014ecee..eb32832 100644 --- a/src/kudu/tablet/diskrowset.cc +++ b/src/kudu/tablet/diskrowset.cc @@ -749,7 +749,6 @@ double DiskRowSet::DeltaStoresCompactionPerfImprovementScore(DeltaCompactionType Status DiskRowSet::EstimateBytesInPotentiallyAncientUndoDeltas(Timestamp ancient_history_mark, int64_t* bytes) { - TRACE_EVENT0("tablet", "DiskRowSet::EstimateBytesInPotentiallyAncientUndoDeltas"); return delta_tracker_->EstimateBytesInPotentiallyAncientUndoDeltas(ancient_history_mark, bytes); }
