| Index: src/platform-freebsd.cc
|
| ===================================================================
|
| --- src/platform-freebsd.cc (revision 3964)
|
| +++ src/platform-freebsd.cc (working copy)
|
| @@ -568,6 +568,9 @@
|
|
|
| TickSample sample;
|
|
|
| + // We always sample the VM state.
|
| + sample.state = Logger::state();
|
| +
|
| // If profiling, we extract the current pc and sp.
|
| if (active_sampler_->IsProfiling()) {
|
| // Extracting the sample from the context is extremely machine dependent.
|
| @@ -589,9 +592,6 @@
|
| active_sampler_->SampleStack(&sample);
|
| }
|
|
|
| - // We always sample the VM state.
|
| - sample.state = Logger::state();
|
| -
|
| active_sampler_->Tick(&sample);
|
| }
|
|
|
|
|