OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 DEFINE_bool(log_code, false, | 737 DEFINE_bool(log_code, false, |
738 "Log code events to the log file without profiling.") | 738 "Log code events to the log file without profiling.") |
739 DEFINE_bool(log_gc, false, | 739 DEFINE_bool(log_gc, false, |
740 "Log heap samples on garbage collection for the hp2ps tool.") | 740 "Log heap samples on garbage collection for the hp2ps tool.") |
741 DEFINE_bool(log_handles, false, "Log global handle events.") | 741 DEFINE_bool(log_handles, false, "Log global handle events.") |
742 DEFINE_bool(log_snapshot_positions, false, | 742 DEFINE_bool(log_snapshot_positions, false, |
743 "log positions of (de)serialized objects in the snapshot.") | 743 "log positions of (de)serialized objects in the snapshot.") |
744 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 744 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
745 DEFINE_bool(prof, false, | 745 DEFINE_bool(prof, false, |
746 "Log statistical profiling information (implies --log-code).") | 746 "Log statistical profiling information (implies --log-code).") |
747 DEFINE_bool(prof_auto, true, | |
748 "Used with --prof, starts profiling automatically") | |
749 DEFINE_bool(prof_lazy, false, | 747 DEFINE_bool(prof_lazy, false, |
750 "Used with --prof, only does sampling and logging" | 748 "Used with --prof, only does sampling and logging" |
751 " when profiler is active (implies --noprof_auto).") | 749 " when profiler is active.") |
752 DEFINE_bool(prof_browser_mode, true, | 750 DEFINE_bool(prof_browser_mode, true, |
753 "Used with --prof, turns on browser-compatible mode for profiling.") | 751 "Used with --prof, turns on browser-compatible mode for profiling.") |
754 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 752 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
755 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 753 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
756 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 754 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
757 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", | 755 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
758 "Specify the name of the file for fake gc mmap used in ll_prof") | 756 "Specify the name of the file for fake gc mmap used in ll_prof") |
759 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") | 757 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") |
760 DEFINE_bool(log_timer_events, false, | 758 DEFINE_bool(log_timer_events, false, |
761 "Time events including external callbacks.") | 759 "Time events including external callbacks.") |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 #undef DEFINE_bool | 813 #undef DEFINE_bool |
816 #undef DEFINE_int | 814 #undef DEFINE_int |
817 #undef DEFINE_string | 815 #undef DEFINE_string |
818 #undef DEFINE_implication | 816 #undef DEFINE_implication |
819 | 817 |
820 #undef FLAG_MODE_DECLARE | 818 #undef FLAG_MODE_DECLARE |
821 #undef FLAG_MODE_DEFINE | 819 #undef FLAG_MODE_DEFINE |
822 #undef FLAG_MODE_DEFINE_DEFAULTS | 820 #undef FLAG_MODE_DEFINE_DEFAULTS |
823 #undef FLAG_MODE_META | 821 #undef FLAG_MODE_META |
824 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 822 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |