Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index 6e2b0e09cdbf0653385620dcefd470eb2db860ca..da7ea6de24826ee42fd282f2d0fb4d78ecd3a6d6 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -125,7 +125,8 @@ class TickSampleEventRecord { |
// methods called by event producers: VM and stack sampler threads. |
class ProfilerEventsProcessor : public Thread { |
public: |
- explicit ProfilerEventsProcessor(ProfileGenerator* generator); |
+ ProfilerEventsProcessor(ProfileGenerator* generator, |
+ CpuProfilesCollection* profiles); |
virtual ~ProfilerEventsProcessor() {} |
// Thread control. |
@@ -178,6 +179,7 @@ class ProfilerEventsProcessor : public Thread { |
INLINE(static bool FilterOutCodeCreateEvent(Logger::LogEventsAndTags tag)); |
ProfileGenerator* generator_; |
+ CpuProfilesCollection* profiles_; |
bool running_; |
UnboundQueue<CodeEventsContainer> events_buffer_; |
SamplingCircularQueue ticks_buffer_; |