Add support for continuous profiling with Google Stackdriver
This MR cherry-picks the Stackdriver profiler feature from master
for the v2.10.0 release.
Edited by João Pereira
This MR cherry-picks the Stackdriver profiler feature from master
for the v2.10.0 release.