| Index: src/log.h
|
| ===================================================================
|
| --- src/log.h (revision 3935)
|
| +++ src/log.h (working copy)
|
| @@ -161,12 +161,6 @@
|
| // Enable the computation of a sliding window of states.
|
| static void EnableSlidingStateWindow();
|
|
|
| - // Write a raw string to the log to be used as a preamble.
|
| - // No check is made that the 'preamble' is actually at the beginning
|
| - // of the log. The preample is used to write code events saved in the
|
| - // snapshot.
|
| - static void Preamble(const char* content);
|
| -
|
| // Emits an event with a string value -> (name, value).
|
| static void StringEvent(const char* name, const char* value);
|
|
|
| @@ -277,8 +271,8 @@
|
| // 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 +373,8 @@
|
| 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
|
|
|