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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 DEFINE_bool(log, false, | 351 DEFINE_bool(log, false, |
352 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 352 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
353 DEFINE_bool(log_all, false, "Log all events to the log file.") | 353 DEFINE_bool(log_all, false, "Log all events to the log file.") |
354 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") | 354 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") |
355 DEFINE_bool(log_api, false, "Log API events to the log file.") | 355 DEFINE_bool(log_api, false, "Log API events to the log file.") |
356 DEFINE_bool(log_code, false, | 356 DEFINE_bool(log_code, false, |
357 "Log code events to the log file without profiling.") | 357 "Log code events to the log file without profiling.") |
358 DEFINE_bool(log_gc, false, | 358 DEFINE_bool(log_gc, false, |
359 "Log heap samples on garbage collection for the hp2ps tool.") | 359 "Log heap samples on garbage collection for the hp2ps tool.") |
360 DEFINE_bool(log_handles, false, "Log global handle events.") | 360 DEFINE_bool(log_handles, false, "Log global handle events.") |
| 361 DEFINE_bool(log_snapshot_positions, false, |
| 362 "log positions of (de)serialized objects in the snapshot.") |
361 DEFINE_bool(log_state_changes, false, "Log state changes.") | 363 DEFINE_bool(log_state_changes, false, "Log state changes.") |
362 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 364 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
363 DEFINE_bool(log_producers, false, "Log stack traces of JS objects allocations.") | 365 DEFINE_bool(log_producers, false, "Log stack traces of JS objects allocations.") |
364 DEFINE_bool(compress_log, false, | 366 DEFINE_bool(compress_log, false, |
365 "Compress log to save space (makes log less human-readable).") | 367 "Compress log to save space (makes log less human-readable).") |
366 DEFINE_bool(prof, false, | 368 DEFINE_bool(prof, false, |
367 "Log statistical profiling information (implies --log-code).") | 369 "Log statistical profiling information (implies --log-code).") |
368 DEFINE_bool(prof_auto, true, | 370 DEFINE_bool(prof_auto, true, |
369 "Used with --prof, starts profiling automatically") | 371 "Used with --prof, starts profiling automatically") |
370 DEFINE_bool(prof_lazy, false, | 372 DEFINE_bool(prof_lazy, false, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 #undef FLAG | 414 #undef FLAG |
413 | 415 |
414 #undef DEFINE_bool | 416 #undef DEFINE_bool |
415 #undef DEFINE_int | 417 #undef DEFINE_int |
416 #undef DEFINE_string | 418 #undef DEFINE_string |
417 | 419 |
418 #undef FLAG_MODE_DECLARE | 420 #undef FLAG_MODE_DECLARE |
419 #undef FLAG_MODE_DEFINE | 421 #undef FLAG_MODE_DEFINE |
420 #undef FLAG_MODE_DEFINE_DEFAULTS | 422 #undef FLAG_MODE_DEFINE_DEFAULTS |
421 #undef FLAG_MODE_META | 423 #undef FLAG_MODE_META |
OLD | NEW |