Index: src/profiler/heap-profiler.cc |
diff --git a/src/profiler/heap-profiler.cc b/src/profiler/heap-profiler.cc |
index 1305cae66ea1ad097c1a726705ebdbb604a556cf..e048faece5401e7deacb41bf09ee2c73cefc0271 100644 |
--- a/src/profiler/heap-profiler.cc |
+++ b/src/profiler/heap-profiler.cc |
@@ -84,14 +84,14 @@ HeapSnapshot* HeapProfiler::TakeSnapshot( |
return result; |
} |
- |
-bool HeapProfiler::StartSamplingHeapProfiler(uint64_t sample_interval, |
- int stack_depth) { |
+bool HeapProfiler::StartSamplingHeapProfiler( |
+ uint64_t sample_interval, int stack_depth, |
+ v8::HeapProfiler::SamplingFlags flags) { |
if (sampling_heap_profiler_.get()) { |
return false; |
} |
sampling_heap_profiler_.Reset(new SamplingHeapProfiler( |
- heap(), names_.get(), sample_interval, stack_depth)); |
+ heap(), names_.get(), sample_interval, stack_depth, flags)); |
return true; |
} |