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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 DEFINE_IMPLICATION(prof, prof_cpp) | 936 DEFINE_IMPLICATION(prof, prof_cpp) |
937 DEFINE_BOOL(prof_browser_mode, true, | 937 DEFINE_BOOL(prof_browser_mode, true, |
938 "Used with --prof, turns on browser-compatible mode for profiling.") | 938 "Used with --prof, turns on browser-compatible mode for profiling.") |
939 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") | 939 DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |
940 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") | 940 DEFINE_STRING(logfile, "v8.log", "Specify the name of the log file.") |
941 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") | 941 DEFINE_BOOL(logfile_per_isolate, true, "Separate log files for each isolate.") |
942 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") | 942 DEFINE_BOOL(ll_prof, false, "Enable low-level linux profiler.") |
943 DEFINE_BOOL(perf_basic_prof, false, | 943 DEFINE_BOOL(perf_basic_prof, false, |
944 "Enable perf linux profiler (basic support).") | 944 "Enable perf linux profiler (basic support).") |
945 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) | 945 DEFINE_NEG_IMPLICATION(perf_basic_prof, compact_code_space) |
| 946 DEFINE_BOOL(perf_basic_prof_only_functions, false, |
| 947 "Only report function code ranges to perf (i.e. no stubs).") |
| 948 DEFINE_IMPLICATION(perf_basic_prof_only_functions, perf_basic_prof) |
946 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", | 949 DEFINE_STRING(gc_fake_mmap, "/tmp/__v8_gc__", |
947 "Specify the name of the file for fake gc mmap used in ll_prof") | 950 "Specify the name of the file for fake gc mmap used in ll_prof") |
948 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") | 951 DEFINE_BOOL(log_internal_timer_events, false, "Time internal events.") |
949 DEFINE_BOOL(log_timer_events, false, | 952 DEFINE_BOOL(log_timer_events, false, |
950 "Time events including external callbacks.") | 953 "Time events including external callbacks.") |
951 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) | 954 DEFINE_IMPLICATION(log_timer_events, log_internal_timer_events) |
952 DEFINE_IMPLICATION(log_internal_timer_events, prof) | 955 DEFINE_IMPLICATION(log_internal_timer_events, prof) |
953 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") | 956 DEFINE_BOOL(log_instruction_stats, false, "Log AArch64 instruction statistics.") |
954 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", | 957 DEFINE_STRING(log_instruction_file, "arm64_inst.csv", |
955 "AArch64 instruction statistics log file.") | 958 "AArch64 instruction statistics log file.") |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1078 #undef DEFINE_ALIAS_FLOAT | 1081 #undef DEFINE_ALIAS_FLOAT |
1079 #undef DEFINE_ALIAS_ARGS | 1082 #undef DEFINE_ALIAS_ARGS |
1080 | 1083 |
1081 #undef FLAG_MODE_DECLARE | 1084 #undef FLAG_MODE_DECLARE |
1082 #undef FLAG_MODE_DEFINE | 1085 #undef FLAG_MODE_DEFINE |
1083 #undef FLAG_MODE_DEFINE_DEFAULTS | 1086 #undef FLAG_MODE_DEFINE_DEFAULTS |
1084 #undef FLAG_MODE_META | 1087 #undef FLAG_MODE_META |
1085 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 1088 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
1086 | 1089 |
1087 #undef COMMA | 1090 #undef COMMA |
OLD | NEW |