Add a feature to enable heap profiling in subprocesses.
* Adds a "supported-processes" parameter to the HeapProfilerReporting
feature, with a list of processes that will allow heap profiling.
* Creates a HeapProfileController in all subprocesses. (Except on ios.)
Each controller makes a separate decision to enable heap profiling
based on the HeapProfilerReporting "supported-processes" and
* Sets the "process" field of sampled reports correctly for the process
type being sampled.
* Connects a CallStackProfileCollector to each subprocess where heap
profiling is enabled.
Reviewed-by: Robert Kaplow <email@example.com>
Reviewed-by: Oksana Zhuravlova <firstname.lastname@example.org>
Reviewed-by: Ted Choc <email@example.com>
Reviewed-by: Mike Wittman <firstname.lastname@example.org>
Reviewed-by: Rohit Rao <email@example.com>
Auto-Submit: Joe Mason <firstname.lastname@example.org>
Commit-Queue: Oksana Zhuravlova <email@example.com>
3 files changed