Index: src/platform-openbsd.cc |
diff --git a/src/platform-openbsd.cc b/src/platform-openbsd.cc |
index f96e769ca206b53c444cc78582f90508f3c7d7d9..e3ae867e1ad75cdfa3e6a881aab1e15c58046945 100644 |
--- a/src/platform-openbsd.cc |
+++ b/src/platform-openbsd.cc |
@@ -542,7 +542,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(); |
active_sampler_->Tick(&sample); |
} |