Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 7431e801f84b16757a8aa8afe7f6902aac3487c0..56527416962038d6c3673fd26846d9308f6deb5e 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -672,7 +672,7 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
if (sampler == NULL || !sampler->IsActive()) return; |
TickSample sample_obj; |
- TickSample* sample = CpuProfiler::StartTickSampleEvent(isolate); |
+ TickSample* sample = CpuProfiler::TickSampleEvent(isolate); |
if (sample == NULL) sample = &sample_obj; |
// Extracting the sample from the context is extremely machine dependent. |
@@ -686,7 +686,6 @@ static void ProfilerSignalHandler(int signal, siginfo_t* info, void* context) { |
sampler->SampleStack(sample); |
sampler->Tick(sample); |
- CpuProfiler::FinishTickSampleEvent(isolate); |
} |
class Sampler::PlatformData : public Malloced { |
@@ -890,11 +889,6 @@ Sampler::~Sampler() { |
} |
-void Sampler::DoSample() { |
- // TODO(rogulenko): implement |
-} |
- |
- |
void Sampler::Start() { |
ASSERT(!IsActive()); |
SetActive(true); |
@@ -908,13 +902,4 @@ void Sampler::Stop() { |
SetActive(false); |
} |
- |
-void Sampler::StartSampling() { |
-} |
- |
- |
-void Sampler::StopSampling() { |
-} |
- |
- |
} } // namespace v8::internal |