OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
486 "Used with --prof, starts profiling automatically") | 486 "Used with --prof, starts profiling automatically") |
487 DEFINE_bool(prof_lazy, false, | 487 DEFINE_bool(prof_lazy, false, |
488 "Used with --prof, only does sampling and logging" | 488 "Used with --prof, only does sampling and logging" |
489 " when profiler is active (implies --noprof_auto).") | 489 " when profiler is active (implies --noprof_auto).") |
490 DEFINE_bool(prof_browser_mode, true, | 490 DEFINE_bool(prof_browser_mode, true, |
491 "Used with --prof, turns on browser-compatible mode for profiling.") | 491 "Used with --prof, turns on browser-compatible mode for profiling.") |
492 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 492 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
493 DEFINE_bool(sliding_state_window, false, | 493 DEFINE_bool(sliding_state_window, false, |
494 "Update sliding state window counters.") | 494 "Update sliding state window counters.") |
495 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 495 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
496 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") | |
497 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") | 496 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") |
498 | 497 |
499 // | 498 // |
500 // Heap protection flags | 499 // Heap protection flags |
501 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. | 500 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. |
502 // | 501 // |
503 #ifdef ENABLE_HEAP_PROTECTION | 502 #ifdef ENABLE_HEAP_PROTECTION |
504 #undef FLAG | 503 #undef FLAG |
505 #define FLAG FLAG_FULL | 504 #define FLAG FLAG_FULL |
506 | 505 |
(...skipping 29 matching lines...) Expand all Loading... |
536 #undef FLAG | 535 #undef FLAG |
537 | 536 |
538 #undef DEFINE_bool | 537 #undef DEFINE_bool |
539 #undef DEFINE_int | 538 #undef DEFINE_int |
540 #undef DEFINE_string | 539 #undef DEFINE_string |
541 | 540 |
542 #undef FLAG_MODE_DECLARE | 541 #undef FLAG_MODE_DECLARE |
543 #undef FLAG_MODE_DEFINE | 542 #undef FLAG_MODE_DEFINE |
544 #undef FLAG_MODE_DEFINE_DEFAULTS | 543 #undef FLAG_MODE_DEFINE_DEFAULTS |
545 #undef FLAG_MODE_META | 544 #undef FLAG_MODE_META |
OLD | NEW |