https://codereview.chromium.org/301603005/diff/1/test/cctest/test-cpu-profiler.cc
File test/cctest/test-cpu-profiler.cc (right):

https://codereview.chromium.org/301603005/diff/1/test/cctest/test-cpu-profiler.cc#newcode404
test/cctest/test-cpu-profiler.cc:404: unsigned min_js_samples, bool
start_profile = true,
You can return true from CpuProfilesCollection::StartProfiling when a
profile with given name is being collected. In that case every call of
CpuProfiler::StartProfiling will add current stack trace to the profile
which is what you need.

https://codereview.chromium.org/301603005/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to