Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index 78b6eb689e4a1ba7bc40102d227f225c8485dc0f..9bba93b8665c35a26fc6b1b82f54da6323c0bb9c 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -738,7 +738,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
#endif |
// We always sample the VM state. |
- sample->state = Logger::state(); |
+ sample->state = VMState::current_state(); |
// If profiling, we extract the current pc and sp. |
if (active_sampler_->IsProfiling()) { |
// Extracting the sample from the context is extremely machine dependent. |