Description[tracing] Fix memory overhead accounting of TraceBufferVector
When tracing estimates the memory overhead of its own structs
TraceBufferVector (which itself is just a vector of pointers)
doesn't take into account its own capacity.
This causes sub-accounting when using the "as much as possible"
record strategy, which causes a big upfront reservation.
BUG=495628
Committed: https://crrev.com/954f418961681edbaeb354d59c078b304a863a03
Cr-Commit-Position: refs/heads/master@{#337624}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|