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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 DEFINE_bool(prof_lazy, false, | 626 DEFINE_bool(prof_lazy, false, |
627 "Used with --prof, only does sampling and logging" | 627 "Used with --prof, only does sampling and logging" |
628 " when profiler is active (implies --noprof_auto).") | 628 " when profiler is active (implies --noprof_auto).") |
629 DEFINE_bool(prof_browser_mode, true, | 629 DEFINE_bool(prof_browser_mode, true, |
630 "Used with --prof, turns on browser-compatible mode for profiling.") | 630 "Used with --prof, turns on browser-compatible mode for profiling.") |
631 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 631 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
632 DEFINE_bool(sliding_state_window, false, | 632 DEFINE_bool(sliding_state_window, false, |
633 "Update sliding state window counters.") | 633 "Update sliding state window counters.") |
634 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 634 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
635 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 635 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
636 | 636 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", |
| 637 "Specify the name of the file for fake gc mmap used in ll_prof") |
637 | 638 |
638 // | 639 // |
639 // Disassembler only flags | 640 // Disassembler only flags |
640 // | 641 // |
641 #undef FLAG | 642 #undef FLAG |
642 #ifdef ENABLE_DISASSEMBLER | 643 #ifdef ENABLE_DISASSEMBLER |
643 #define FLAG FLAG_FULL | 644 #define FLAG FLAG_FULL |
644 #else | 645 #else |
645 #define FLAG FLAG_READONLY | 646 #define FLAG FLAG_READONLY |
646 #endif | 647 #endif |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
688 #undef DEFINE_bool | 689 #undef DEFINE_bool |
689 #undef DEFINE_int | 690 #undef DEFINE_int |
690 #undef DEFINE_string | 691 #undef DEFINE_string |
691 #undef DEFINE_implication | 692 #undef DEFINE_implication |
692 | 693 |
693 #undef FLAG_MODE_DECLARE | 694 #undef FLAG_MODE_DECLARE |
694 #undef FLAG_MODE_DEFINE | 695 #undef FLAG_MODE_DEFINE |
695 #undef FLAG_MODE_DEFINE_DEFAULTS | 696 #undef FLAG_MODE_DEFINE_DEFAULTS |
696 #undef FLAG_MODE_META | 697 #undef FLAG_MODE_META |
697 #undef FLAG_MODE_DEFINE_IMPLICATIONS | 698 #undef FLAG_MODE_DEFINE_IMPLICATIONS |
OLD | NEW |