Index: src/log.h |
diff --git a/src/log.h b/src/log.h |
index e68d45805f17882119971a879c1202e0d1fb6a6c..9c2a1502a4072b24ba1c11a670f21f7883b6434c 100644 |
--- a/src/log.h |
+++ b/src/log.h |
@@ -277,8 +277,8 @@ class Logger { |
// Pause/Resume collection of profiling data. |
// When data collection is paused, CPU Tick events are discarded until |
// data collection is Resumed. |
- static void PauseProfiler(int flags); |
- static void ResumeProfiler(int flags); |
+ static void PauseProfiler(int flags, int tag); |
+ static void ResumeProfiler(int flags, int tag); |
static int GetActiveProfilerModules(); |
// If logging is performed into a memory buffer, allows to |
@@ -379,6 +379,8 @@ class Logger { |
friend class LoggerTestHelper; |
static bool is_logging_; |
+ static int cpu_profiler_nesting_; |
+ static int heap_profiler_nesting_; |
#else |
static bool is_logging() { return false; } |
#endif |