aboutsummaryrefslogtreecommitdiff
path: root/doc/tracing.md
diff options
context:
space:
mode:
authorArnab Sen <arnabsen1729@gmail.com>2021-12-22 11:57:44 +0530
committerArnab Sen <arnabsen1729@gmail.com>2021-12-30 19:30:17 +0530
commit36a65847033540cf2203252c7baf42bc5ec97579 (patch)
tree42a6b5c9e7c09b5d23d104eba11696806f104211 /doc/tracing.md
parent5d911336998ee0b15f28bd7c96e0e56e7b878979 (diff)
tracing: correctly scope utxocache:flush tracepoint
Previously, the `utxocache:flush` tracepoint was in the wrong scope and reached every time `CChainState::FlushStateToDisk` was called, even when there was no flushing of the cache. The tracepoint is now properly scoped and will be reached during a full flush. Inside the scope, the `fDoFullFlush` value will always be `true`, so it doesn't need to be logged separately. Hence, it's dropped from the tracepoint arguments.
Diffstat (limited to 'doc/tracing.md')
-rw-r--r--doc/tracing.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/tracing.md b/doc/tracing.md
index 5b9ba09c2f..68de376043 100644
--- a/doc/tracing.md
+++ b/doc/tracing.md
@@ -112,7 +112,7 @@ Arguments passed:
#### Tracepoint `utxocache:flush`
-Is called *after* the caches and indexes are flushed depending on the mode
+Is called *after* the caches are flushed depending on the mode
`CChainState::FlushStateToDisk` is called with.
Arguments passed:
@@ -122,7 +122,6 @@ Arguments passed:
3. Number of coins flushed as `uint64`
4. Memory usage in bytes as `uint64`
5. If the flush was pruned as `bool`
-6. If it was full flush as `bool`
#### Tracepoint `utxocache:add`