| Index: tools/gyp/configurations_make.gypi
|
| diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi
|
| index 6ff4c5b8e0a4114b22eb8419c74530b284d25129..2b2943c8b57bb3b3dfaf2af1322a11dcbef145a4 100644
|
| --- a/tools/gyp/configurations_make.gypi
|
| +++ b/tools/gyp/configurations_make.gypi
|
| @@ -137,8 +137,9 @@
|
| 'abstract': 1,
|
| 'cflags': [
|
| '-O<(dart_debug_optimization_level)',
|
| - # The sampling profiler uses the frame pointer to walk the stack.
|
| - '-fno-omit-frame-pointer',
|
| + # Uncomment the following line and pass --profile-vm to enable
|
| + # profiling of C++ code within Observatory.
|
| + # '-fno-omit-frame-pointer',
|
| # Clang on Linux will still omit frame pointers from leaf functions
|
| # unless told otherwise:
|
| # '-mno-omit-leaf-frame-pointer',
|
| @@ -149,8 +150,9 @@
|
| 'abstract': 1,
|
| 'cflags': [
|
| '-O3',
|
| - # The sampling profiler uses the frame pointer to walk the stack.
|
| - '-fno-omit-frame-pointer',
|
| + # Uncomment the following line and pass --profile-vm to enable
|
| + # profiling of C++ code within Observatory.
|
| + # '-fno-omit-frame-pointer',
|
| # Clang on Linux will still omit frame pointers from leaf functions
|
| # unless told otherwise:
|
| # '-mno-omit-leaf-frame-pointer',
|
|
|