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 1041 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 "Enable perf linux profiler (basic support).") | 1052 "Enable perf linux profiler (basic support).") |
1053 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 1053 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
1054 DEFINE_BOOL(perf_basic_prof_only_functions, false, | 1054 DEFINE_BOOL(perf_basic_prof_only_functions, false, |
1055 "Only report function code ranges to perf (i.e. no stubs).") | 1055 "Only report function code ranges to perf (i.e. no stubs).") |
1056 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) | 1056 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) |
1057 DEFINE_BOOL(perf_prof, false, | 1057 DEFINE_BOOL(perf_prof, false, |
1058 "Enable perf linux profiler (experimental annotate support).") | 1058 "Enable perf linux profiler (experimental annotate support).") |
1059 DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space) | 1059 DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space) |
1060 DEFINE_BOOL(perf_prof_debug_info, false, | 1060 DEFINE_BOOL(perf_prof_debug_info, false, |
1061 "Enable debug info for perf linux profiler (experimental).") | 1061 "Enable debug info for perf linux profiler (experimental).") |
| 1062 DEFINE_BOOL(perf_prof_unwinding_info, false, |
| 1063 "Enable unwinding info for perf linux profiler (experimental).") |
1062 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 1064 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
1063 "Specify the name of the file for fake gc mmap used in ll_prof") | 1065 "Specify the name of the file for fake gc mmap used in ll_prof") |
1064 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 1066 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
1065 DEFINE_BOOL(log_timer_events, false, | 1067 DEFINE_BOOL(log_timer_events, false, |
1066 "Time events including external callbacks.") | 1068 "Time events including external callbacks.") |
1067 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 1069 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
1068 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 1070 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
1069 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 1071 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
1070 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 1072 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
1071 "AArch64 instruction statistics log file.") | 1073 "AArch64 instruction statistics log file.") |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 #undef DEFINE_ALIAS_FLOAT | 1198 #undef DEFINE_ALIAS_FLOAT |
1197 #undef DEFINE_ALIAS_ARGS | 1199 #undef DEFINE_ALIAS_ARGS |
1198 | 1200 |
1199 #undef FLAG_MODE_DECLARE | 1201 #undef FLAG_MODE_DECLARE |
1200 #undef FLAG_MODE_DEFINE | 1202 #undef FLAG_MODE_DEFINE |
1201 #undef FLAG_MODE_DEFINE_DEFAULTS | 1203 #undef FLAG_MODE_DEFINE_DEFAULTS |
1202 #undef FLAG_MODE_META | 1204 #undef FLAG_MODE_META |
1203 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1205 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1204 | 1206 |
1205 #undef COMMA | 1207 #undef COMMA |
OLD | NEW |