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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 1022 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
1023 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 1023 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
1024 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 1024 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
1025 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 1025 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
1026 DEFINE_BOOL(perf_basic_prof, false, | 1026 DEFINE_BOOL(perf_basic_prof, false, |
1027 "Enable perf linux profiler (basic support).") | 1027 "Enable perf linux profiler (basic support).") |
1028 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 1028 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
1029 DEFINE_BOOL(perf_basic_prof_only_functions, false, | 1029 DEFINE_BOOL(perf_basic_prof_only_functions, false, |
1030 "Only report function code ranges to perf (i.e. no stubs).") | 1030 "Only report function code ranges to perf (i.e. no stubs).") |
1031 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) | 1031 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) |
| 1032 DEFINE_BOOL(perf_prof, false, |
| 1033 "Enable perf linux profiler (experimental annotate support).") |
| 1034 DEFINE_NEG_IMPLICATION(perf_prof, compact_code_space) |
| 1035 DEFINE_BOOL(perf_prof_debug_info, false, |
| 1036 "Enable debug info for perf linux profiler (experimental).") |
1032 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 1037 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
1033 "Specify the name of the file for fake gc mmap used in ll_prof") | 1038 "Specify the name of the file for fake gc mmap used in ll_prof") |
1034 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 1039 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
1035 DEFINE_BOOL(log_timer_events, false, | 1040 DEFINE_BOOL(log_timer_events, false, |
1036 "Time events including external callbacks.") | 1041 "Time events including external callbacks.") |
1037 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 1042 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
1038 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 1043 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
1039 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 1044 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
1040 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 1045 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
1041 "AArch64 instruction statistics log file.") | 1046 "AArch64 instruction statistics log file.") |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1166 #undef DEFINE_ALIAS_FLOAT | 1171 #undef DEFINE_ALIAS_FLOAT |
1167 #undef DEFINE_ALIAS_ARGS | 1172 #undef DEFINE_ALIAS_ARGS |
1168 | 1173 |
1169 #undef FLAG_MODE_DECLARE | 1174 #undef FLAG_MODE_DECLARE |
1170 #undef FLAG_MODE_DEFINE | 1175 #undef FLAG_MODE_DEFINE |
1171 #undef FLAG_MODE_DEFINE_DEFAULTS | 1176 #undef FLAG_MODE_DEFINE_DEFAULTS |
1172 #undef FLAG_MODE_META | 1177 #undef FLAG_MODE_META |
1173 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1178 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1174 | 1179 |
1175 #undef COMMA | 1180 #undef COMMA |
OLD | NEW |