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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 #ifdef ENABLE_LOGGING_AND_PROFILING | 308 #ifdef ENABLE_LOGGING_AND_PROFILING |
309 #define FLAG FLAG_FULL | 309 #define FLAG FLAG_FULL |
310 #else | 310 #else |
311 #define FLAG FLAG_READONLY | 311 #define FLAG FLAG_READONLY |
312 #endif | 312 #endif |
313 | 313 |
314 // log.cc | 314 // log.cc |
315 DEFINE_bool(log, false, | 315 DEFINE_bool(log, false, |
316 "Minimal logging (no API, code, GC, suspect, or handles samples).") | 316 "Minimal logging (no API, code, GC, suspect, or handles samples).") |
317 DEFINE_bool(log_all, false, "Log all events to the log file.") | 317 DEFINE_bool(log_all, false, "Log all events to the log file.") |
| 318 DEFINE_bool(log_runtime, false, "Activate runtime system %Log call.") |
318 DEFINE_bool(log_api, false, "Log API events to the log file.") | 319 DEFINE_bool(log_api, false, "Log API events to the log file.") |
319 DEFINE_bool(log_code, false, | 320 DEFINE_bool(log_code, false, |
320 "Log code events to the log file without profiling.") | 321 "Log code events to the log file without profiling.") |
321 DEFINE_bool(log_gc, false, | 322 DEFINE_bool(log_gc, false, |
322 "Log heap samples on garbage collection for the hp2ps tool.") | 323 "Log heap samples on garbage collection for the hp2ps tool.") |
323 DEFINE_bool(log_handles, false, "Log global handle events.") | 324 DEFINE_bool(log_handles, false, "Log global handle events.") |
324 DEFINE_bool(log_state_changes, false, "Log state changes.") | 325 DEFINE_bool(log_state_changes, false, "Log state changes.") |
325 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 326 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
326 DEFINE_bool(prof, false, | 327 DEFINE_bool(prof, false, |
327 "Log statistical profiling information (implies --log-code).") | 328 "Log statistical profiling information (implies --log-code).") |
(...skipping 24 matching lines...) Expand all Loading... |
352 #undef FLAG | 353 #undef FLAG |
353 | 354 |
354 #undef DEFINE_bool | 355 #undef DEFINE_bool |
355 #undef DEFINE_int | 356 #undef DEFINE_int |
356 #undef DEFINE_string | 357 #undef DEFINE_string |
357 | 358 |
358 #undef FLAG_MODE_DECLARE | 359 #undef FLAG_MODE_DECLARE |
359 #undef FLAG_MODE_DEFINE | 360 #undef FLAG_MODE_DEFINE |
360 #undef FLAG_MODE_DEFINE_DEFAULTS | 361 #undef FLAG_MODE_DEFINE_DEFAULTS |
361 #undef FLAG_MODE_META | 362 #undef FLAG_MODE_META |
OLD | NEW |