Index: test/cctest/test-log.cc |
diff --git a/test/cctest/test-log.cc b/test/cctest/test-log.cc |
index 46ae13b18024d1fe0ebbcc58386d70d612e476a5..df5823416c9ec15fccf58e6da821f8a7afd08e6f 100644 |
--- a/test/cctest/test-log.cc |
+++ b/test/cctest/test-log.cc |
@@ -166,7 +166,7 @@ static void SigProfSignalHandler(int signal, siginfo_t* info, void* context) { |
static int CheckThatProfilerWorks(int log_pos) { |
- Logger::ResumeProfiler(); |
+ Logger::ResumeProfiler(v8::PROFILER_MODULE_CPU); |
CHECK(LoggerTestHelper::IsSamplerActive()); |
// Verify that the current map of compiled functions has been logged. |
@@ -207,7 +207,7 @@ static int CheckThatProfilerWorks(int log_pos) { |
i::OS::Sleep(1); |
} |
- Logger::PauseProfiler(); |
+ Logger::PauseProfiler(v8::PROFILER_MODULE_CPU); |
CHECK(!LoggerTestHelper::IsSamplerActive()); |
// Wait 50 msecs to allow Profiler thread to process the last |