| Index: chrome/common/stack_sampling_configuration.cc
|
| diff --git a/chrome/common/stack_sampling_configuration.cc b/chrome/common/stack_sampling_configuration.cc
|
| index ca79f3f0f7d1429cd99c56ba910108bef8a6a18f..c2b0786442b1541f0c0f2ec144f5b300a16f3585 100644
|
| --- a/chrome/common/stack_sampling_configuration.cc
|
| +++ b/chrome/common/stack_sampling_configuration.cc
|
| @@ -128,7 +128,8 @@ void StackSamplingConfiguration::AppendCommandLineSwitchForChildProcess(
|
| DCHECK(IsBrowserProcess());
|
|
|
| if (process_type == switches::kGpuProcess &&
|
| - (configuration_ == PROFILE_GPU_PROCESS ||
|
| + (configuration_ == PROFILE_CONTROL ||
|
| + configuration_ == PROFILE_GPU_PROCESS ||
|
| configuration_ == PROFILE_BROWSER_AND_GPU_PROCESS)) {
|
| command_line->AppendSwitch(switches::kStartStackProfiler);
|
| }
|
| @@ -180,18 +181,18 @@ StackSamplingConfiguration::GenerateConfiguration() {
|
| return ChooseConfiguration({
|
| { PROFILE_BROWSER_PROCESS, 0},
|
| { PROFILE_GPU_PROCESS, 0},
|
| - { PROFILE_BROWSER_AND_GPU_PROCESS, 50},
|
| - { PROFILE_CONTROL, 50},
|
| - { PROFILE_DISABLED, 0}
|
| + { PROFILE_BROWSER_AND_GPU_PROCESS, 80},
|
| + { PROFILE_CONTROL, 10},
|
| + { PROFILE_DISABLED, 10}
|
| });
|
|
|
| case version_info::Channel::DEV:
|
| return ChooseConfiguration({
|
| { PROFILE_BROWSER_PROCESS, 0},
|
| { PROFILE_GPU_PROCESS, 0},
|
| - { PROFILE_BROWSER_AND_GPU_PROCESS, 50},
|
| - { PROFILE_CONTROL, 50},
|
| - { PROFILE_DISABLED, 0}
|
| + { PROFILE_BROWSER_AND_GPU_PROCESS, 80},
|
| + { PROFILE_CONTROL, 10},
|
| + { PROFILE_DISABLED, 10}
|
| });
|
|
|
| default:
|
|
|