Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 85c2c54cf1b2e5b5d2c5a61fe5524aea4c89651b..1fa652d9ee957b15256d2f01ac84dd02937b87c5 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -533,7 +533,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
sample.fp = 0; |
// We always sample the VM state. |
- sample.state = Logger::state(); |
+ sample.state = VMState::current_state(); |
active_sampler_->Tick(&sample); |
} |