Index: src/cpu-profiler.h |
diff --git a/src/cpu-profiler.h b/src/cpu-profiler.h |
index c1e75a101adb095fb53e49bc7b67140d1b0d04eb..bbd19d4952ec04ce1c18d13eea5ec0d9d689f9ea 100644 |
--- a/src/cpu-profiler.h |
+++ b/src/cpu-profiler.h |
@@ -145,6 +145,8 @@ class ProfilerEventsProcessor : public base::Thread { |
inline TickSample* StartTickSample(); |
inline void FinishTickSample(); |
+ Sampler* sampler() const { return sampler_; } |
+ |
// SamplingCircularQueue has stricter alignment requirements than a normal new |
// can fulfil, so we need to provide our own new/delete here. |
void* operator new(size_t size); |