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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
767 // | 767 // |
768 // Logging and profiling flags | 768 // Logging and profiling flags |
769 // | 769 // |
770 #undef FLAG | 770 #undef FLAG |
771 #define FLAG FLAG_FULL | 771 #define FLAG FLAG_FULL |
772 | 772 |
773 // log.cc | 773 // log.cc |
774 DEFINE_bool(log, false, | 774 DEFINE_bool(log, false, |
775 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 775 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
776 DEFINE_bool(log_all, false, "Log all events to the log file.") | 776 DEFINE_bool(log_all, false, "Log all events to the log file.") |
777 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") | |
778 DEFINE_bool(log_api, false, "Log API events to the log file.") | 777 DEFINE_bool(log_api, false, "Log API events to the log file.") |
779 DEFINE_bool(log_code, false, | 778 DEFINE_bool(log_code, false, |
780 "Log code events to the log file without profiling.") | 779 "Log code events to the log file without profiling.") |
781 DEFINE_bool(log_gc, false, | 780 DEFINE_bool(log_gc, false, |
782 "Log heap samples on garbage collection for the hp2ps tool.") | 781 "Log heap samples on garbage collection for the hp2ps tool.") |
783 DEFINE_bool(log_handles, false, "Log global handle events.") | 782 DEFINE_bool(log_handles, false, "Log global handle events.") |
784 DEFINE_bool(log_snapshot_positions, false, | 783 DEFINE_bool(log_snapshot_positions, false, |
785 "log positions of (de)serialized objects in the snapshot.") | 784 "log positions of (de)serialized objects in the snapshot.") |
786 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 785 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
787 DEFINE_bool(prof, false, | 786 DEFINE_bool(prof, false, |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
904 #undef DEFINE_ALIAS_float | 903 #undef DEFINE_ALIAS_float |
905 #undef DEFINE_ALIAS_args | 904 #undef DEFINE_ALIAS_args |
906 | 905 |
907 #undef FLAG_MODE_DECLARE | 906 #undef FLAG_MODE_DECLARE |
908 #undef FLAG_MODE_DEFINE | 907 #undef FLAG_MODE_DEFINE |
909 #undef FLAG_MODE_DEFINE_DEFAULTS | 908 #undef FLAG_MODE_DEFINE_DEFAULTS |
910 #undef FLAG_MODE_META | 909 #undef FLAG_MODE_META |
911 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 910 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
912 | 911 |
913 #undef COMMA | 912 #undef COMMA |
OLD | NEW |