| Index: base/debug/profiler.cc
|
| diff --git a/base/debug/profiler.cc b/base/debug/profiler.cc
|
| index 75e9aac0cba57e4784d21647faf1a2ee8372ae81..a205d1f82defab85666c915ef6309fac0479e109 100644
|
| --- a/base/debug/profiler.cc
|
| +++ b/base/debug/profiler.cc
|
| @@ -56,6 +56,10 @@ void RestartProfilingAfterFork() {
|
| ProfilerRegisterThread();
|
| }
|
|
|
| +bool IsProfilingSupported() {
|
| + return true;
|
| +}
|
| +
|
| #else
|
|
|
| void StartProfiling(const std::string& name) {
|
| @@ -74,6 +78,10 @@ bool BeingProfiled() {
|
| void RestartProfilingAfterFork() {
|
| }
|
|
|
| +bool IsProfilingSupported() {
|
| + return false;
|
| +}
|
| +
|
| #endif
|
|
|
| #if !defined(OS_WIN)
|
|
|