aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-25 01:05:24 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-25 01:05:24 +0000
commit88e398f85501a7cfc38ef6683cd3fbc05d3bc32d (patch)
treecd8b5ab6c1a6e73dd01806a64eb779e1deb61275
parent22928f760281f543d7b594d6bea75901f1f09498 (diff)
parent4199ca139a77634a972ecdf670fa6d990f79d1e2 (diff)
downloadperfetto-88e398f85501a7cfc38ef6683cd3fbc05d3bc32d.tar.gz
Snap for 7394644 from 4199ca139a77634a972ecdf670fa6d990f79d1e2 to sc-release
Change-Id: I6f59175e9367104f9b52f743cdb5e7bb43b635e8
-rw-r--r--src/profiling/memory/heapprofd_producer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/profiling/memory/heapprofd_producer.h b/src/profiling/memory/heapprofd_producer.h
index be6ae6418..b8e9c53af 100644
--- a/src/profiling/memory/heapprofd_producer.h
+++ b/src/profiling/memory/heapprofd_producer.h
@@ -186,7 +186,8 @@ class HeapprofdProducer : public Producer, public UnwindingWorker::Delegate {
ProcessState(GlobalCallstackTrie* c, bool d)
: callsites(c), dump_at_max_mode(d) {}
bool disconnected = false;
- SharedRingBuffer::ErrorState error_state;
+ SharedRingBuffer::ErrorState error_state =
+ SharedRingBuffer::ErrorState::kNoError;
bool buffer_corrupted = false;
uint64_t heap_samples = 0;