Index: src/cpu-profiler.cc |
diff --git a/src/cpu-profiler.cc b/src/cpu-profiler.cc |
index d36f511209745f31b54f526017181b91cb88a8fe..d16c17f4c0582413993a80f7c9fff4dcbc3086b3 100644 |
--- a/src/cpu-profiler.cc |
+++ b/src/cpu-profiler.cc |
@@ -176,7 +176,6 @@ bool ProfilerEventsProcessor::ProcessTicks(unsigned dequeue_order) { |
void ProfilerEventsProcessor::Run() { |
- ticks_buffer_.SetUpConsumer(); |
unsigned dequeue_order = 0; |
running_ = true; |
@@ -194,7 +193,6 @@ void ProfilerEventsProcessor::Run() { |
ticks_buffer_.FlushResidualRecords(); |
// Perform processing until we have tick events, skip remaining code events. |
while (ProcessTicks(dequeue_order) && ProcessCodeEvent(&dequeue_order)) { } |
- ticks_buffer_.TearDownConsumer(); |
} |