Index: src/platform-freebsd.cc |
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc |
index e5cdd2ee38216951c25052d4b1de660f789c3e2c..67e52ce9479cabd209e347c04cca680299641e28 100644 |
--- a/src/platform-freebsd.cc |
+++ b/src/platform-freebsd.cc |
@@ -569,7 +569,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
TickSample sample; |
// 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()) { |