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:
@@ -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
|
||||
|
||||
@@ -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'
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
@@ -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'
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
@@ -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'
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
],
|
||||
},
|
||||
'defines': [
|
||||
'PROFILE_NATIVE_CODE',
|
||||
'NATIVE_CODE_HAS_FRAME_POINTERS',
|
||||
],
|
||||
}],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user