OOP HP: The profiling service exposes a list of profiled processes.
This CL adds a new method of the profiling_service mojom interface which asynchronously returns the list of profiled processes. This is used in two places: * By the chrome://memory-internals to determine whether a process is being profiled. This also allows chrome://memory-internals to expose a "start profiling" button for non-profiled processes. * By the background profiling triggers, since traces should only be triggered if a profiled process exceeds the thresholds. Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation Change-Id: I44da48eb1203b82f9cef8907fc7c2ab0fdcfdfce Reviewed-on: https://chromium-review.googlesource.com/809505 Commit-Queue: Erik Chen <erikchen@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Albert J. Wong <ajwong@chromium.org> Reviewed-by:
Brett Wilson <brettw@chromium.org> Cr-Commit-Position: refs/heads/master@{#522037}
Showing
Please register or sign in to comment