OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file defines all of the flags. It is separated into different section, | 5 // This file defines all of the flags. It is separated into different section, |
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the | 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the |
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. | 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. |
8 // | 8 // |
9 // This include does not have a guard, because it is a template-style include, | 9 // This include does not have a guard, because it is a template-style include, |
10 // which can be included multiple times in different modes. It expects to have | 10 // which can be included multiple times in different modes. It expects to have |
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1079 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 1079 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
1080 DEFINE_BOOL(perf_basic_prof, false, | 1080 DEFINE_BOOL(perf_basic_prof, false, |
1081 "Enable perf linux profiler (basic support).") | 1081 "Enable perf linux profiler (basic support).") |
1082 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 1082 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
1083 DEFINE_BOOL(perf_basic_prof_only_functions, false, | 1083 DEFINE_BOOL(perf_basic_prof_only_functions, false, |
1084 "Only report function code ranges to perf (i.e. no stubs).") | 1084 "Only report function code ranges to perf (i.e. no stubs).") |
1085 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) | 1085 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) |
1086 DEFINE_BOOL(perf_prof, false, | 1086 DEFINE_BOOL(perf_prof, false, |
1087 "Enable perf linux profiler (experimental annotate support).") | 1087 "Enable perf linux profiler (experimental annotate support).") |
1088 DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space) | 1088 DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space) |
1089 DEFINE_BOOL(perf_prof_debug_info, false, | |
1090 "Enable debug info for perf linux profiler (experimental).") | |
1091 DEFINE_BOOL(perf_prof_unwinding_info, false, | 1089 DEFINE_BOOL(perf_prof_unwinding_info, false, |
1092 "Enable unwinding info for perf linux profiler (experimental).") | 1090 "Enable unwinding info for perf linux profiler (experimental).") |
| 1091 DEFINE_IMPLICATION(perf_prof, perf_prof_unwinding_info) |
1093 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 1092 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
1094 "Specify the name of the file for fake gc mmap used in ll_prof") | 1093 "Specify the name of the file for fake gc mmap used in ll_prof") |
1095 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 1094 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
1096 DEFINE_BOOL(log_timer_events, false, | 1095 DEFINE_BOOL(log_timer_events, false, |
1097 "Time events including external callbacks.") | 1096 "Time events including external callbacks.") |
1098 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 1097 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
1099 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 1098 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
1100 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 1099 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
1101 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 1100 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
1102 "AArch64 instruction statistics log file.") | 1101 "AArch64 instruction statistics log file.") |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1241 #undef DEFINE_ALIAS_FLOAT | 1240 #undef DEFINE_ALIAS_FLOAT |
1242 #undef DEFINE_ALIAS_ARGS | 1241 #undef DEFINE_ALIAS_ARGS |
1243 | 1242 |
1244 #undef FLAG_MODE_DECLARE | 1243 #undef FLAG_MODE_DECLARE |
1245 #undef FLAG_MODE_DEFINE | 1244 #undef FLAG_MODE_DEFINE |
1246 #undef FLAG_MODE_DEFINE_DEFAULTS | 1245 #undef FLAG_MODE_DEFINE_DEFAULTS |
1247 #undef FLAG_MODE_META | 1246 #undef FLAG_MODE_META |
1248 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1247 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1249 | 1248 |
1250 #undef COMMA | 1249 #undef COMMA |
OLD | NEW |