Don't attempt to walk the native stack by default.

This was unintentially enabled by default as a consequence of
https://codereview.chromium.org/1104323003/

BUG=23368
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1130253005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45666 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
koda@google.com
2015-05-08 22:34:17 +00:00
parent 016214f002
commit 2c4dfb60c8
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ DEFINE_FLAG(bool, trace_profiled_isolates, false, "Trace profiled isolates.");
#endif
DEFINE_FLAG(int, profile_depth, 8,
"Maximum number stack frames walked. Minimum 1. Maximum 255.");
#if defined(PROFILE_NATIVE_CODE) || defined(USING_SIMULATOR)
#if defined(USING_SIMULATOR)
DEFINE_FLAG(bool, profile_vm, true,
"Always collect native stack traces.");
#else
+2 -2
View File
@@ -57,7 +57,7 @@
'-fno-omit-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
@@ -82,7 +82,7 @@
'-fno-omit-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
+2 -2
View File
@@ -200,7 +200,7 @@
'-fno-omit-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
@@ -217,7 +217,7 @@
'-fno-omit-frame-pointer',
],
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
+2 -2
View File
@@ -63,7 +63,7 @@
},
},
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
@@ -107,7 +107,7 @@
},
},
'defines': [
'PROFILE_NATIVE_CODE'
'NATIVE_CODE_HAS_FRAME_POINTERS'
],
}],
],
+1 -1
View File
@@ -63,7 +63,7 @@
],
},
'defines': [
'PROFILE_NATIVE_CODE',
'NATIVE_CODE_HAS_FRAME_POINTERS',
],
}],
],