Support stopping a perf session in PerfOutputCall.
This CL adds support of stopping a perf session in PerfOutputCall before the profiler duration elapses. This also changes make PerfOutputCall to move the profiler output in the callback so that the user class doesn't need to hold hold the PerfOuptutCall instance alive when using the profiler output. Bug: 904785 Test: locally build. Change-Id: I7ea63962c234a9c6b55d8948e3b98fa496b3784c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1637024 Commit-Queue: Chinglin Yu <chinglinyu@chromium.org> Reviewed-by:Gabriel Marin <gmx@chromium.org> Reviewed-by:
Ryo Hashimoto <hashimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#671940}
Showing
Please register or sign in to comment