OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 DEFINE_bool(log_producers, false, "Log stack traces of JS objects allocations.") | 384 DEFINE_bool(log_producers, false, "Log stack traces of JS objects allocations.") |
385 DEFINE_bool(compress_log, false, | 385 DEFINE_bool(compress_log, false, |
386 "Compress log to save space (makes log less human-readable).") | 386 "Compress log to save space (makes log less human-readable).") |
387 DEFINE_bool(prof, false, | 387 DEFINE_bool(prof, false, |
388 "Log statistical profiling information (implies --log-code).") | 388 "Log statistical profiling information (implies --log-code).") |
389 DEFINE_bool(prof_auto, true, | 389 DEFINE_bool(prof_auto, true, |
390 "Used with --prof, starts profiling automatically") | 390 "Used with --prof, starts profiling automatically") |
391 DEFINE_bool(prof_lazy, false, | 391 DEFINE_bool(prof_lazy, false, |
392 "Used with --prof, only does sampling and logging" | 392 "Used with --prof, only does sampling and logging" |
393 " when profiler is active (implies --noprof_auto).") | 393 " when profiler is active (implies --noprof_auto).") |
| 394 DEFINE_bool(prof_browser_mode, false, |
| 395 "Used with --prof, turns on browser-compatible mode for profiling.") |
394 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 396 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
395 DEFINE_bool(sliding_state_window, false, | 397 DEFINE_bool(sliding_state_window, false, |
396 "Update sliding state window counters.") | 398 "Update sliding state window counters.") |
397 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 399 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
398 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") | 400 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") |
399 | 401 |
400 // | 402 // |
401 // Heap protection flags | 403 // Heap protection flags |
402 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. | 404 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. |
403 // | 405 // |
(...skipping 29 matching lines...) Expand all Loading... |
433 #undef FLAG | 435 #undef FLAG |
434 | 436 |
435 #undef DEFINE_bool | 437 #undef DEFINE_bool |
436 #undef DEFINE_int | 438 #undef DEFINE_int |
437 #undef DEFINE_string | 439 #undef DEFINE_string |
438 | 440 |
439 #undef FLAG_MODE_DECLARE | 441 #undef FLAG_MODE_DECLARE |
440 #undef FLAG_MODE_DEFINE | 442 #undef FLAG_MODE_DEFINE |
441 #undef FLAG_MODE_DEFINE_DEFAULTS | 443 #undef FLAG_MODE_DEFINE_DEFAULTS |
442 #undef FLAG_MODE_META | 444 #undef FLAG_MODE_META |
OLD | NEW |