Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index b628295f7ee2d8a9945fcf01debeceeb89955d24..03f73dd1b5e1c4d22f1b3440dc700bc11413e173 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -771,13 +771,9 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
// Implement this on MIPS. |
UNIMPLEMENTED(); |
#endif |
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR |
- active_sampler_->SampleStack(sample); |
-#else |
if (IsVmThread()) { |
active_sampler_->SampleStack(sample); |
} |
-#endif |
} |
} |
#ifndef ENABLE_CPP_PROFILES_PROCESSOR |