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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 DEFINE_bool(log_state_changes, false, "Log state changes.") | 327 DEFINE_bool(log_state_changes, false, "Log state changes.") |
328 DEFINE_bool(log_suspect, false, "Log suspect operations.") | 328 DEFINE_bool(log_suspect, false, "Log suspect operations.") |
329 DEFINE_bool(prof, false, | 329 DEFINE_bool(prof, false, |
330 "Log statistical profiling information (implies --log-code).") | 330 "Log statistical profiling information (implies --log-code).") |
331 DEFINE_bool(prof_auto, true, | 331 DEFINE_bool(prof_auto, true, |
332 "Used with --prof, starts profiling automatically") | 332 "Used with --prof, starts profiling automatically") |
333 DEFINE_bool(log_regexp, false, "Log regular expression execution.") | 333 DEFINE_bool(log_regexp, false, "Log regular expression execution.") |
334 DEFINE_bool(sliding_state_window, false, | 334 DEFINE_bool(sliding_state_window, false, |
335 "Update sliding state window counters.") | 335 "Update sliding state window counters.") |
336 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") | 336 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") |
| 337 DEFINE_bool(oprofile, false, |
| 338 "Enable JIT agent for OProfile.") |
337 | 339 |
338 // | 340 // |
339 // Disassembler only flags | 341 // Disassembler only flags |
340 // | 342 // |
341 #undef FLAG | 343 #undef FLAG |
342 #ifdef ENABLE_DISASSEMBLER | 344 #ifdef ENABLE_DISASSEMBLER |
343 #define FLAG FLAG_FULL | 345 #define FLAG FLAG_FULL |
344 #else | 346 #else |
345 #define FLAG FLAG_READONLY | 347 #define FLAG FLAG_READONLY |
346 #endif | 348 #endif |
(...skipping 11 matching lines...) Expand all Loading... |
358 #undef FLAG | 360 #undef FLAG |
359 | 361 |
360 #undef DEFINE_bool | 362 #undef DEFINE_bool |
361 #undef DEFINE_int | 363 #undef DEFINE_int |
362 #undef DEFINE_string | 364 #undef DEFINE_string |
363 | 365 |
364 #undef FLAG_MODE_DECLARE | 366 #undef FLAG_MODE_DECLARE |
365 #undef FLAG_MODE_DEFINE | 367 #undef FLAG_MODE_DEFINE |
366 #undef FLAG_MODE_DEFINE_DEFAULTS | 368 #undef FLAG_MODE_DEFINE_DEFAULTS |
367 #undef FLAG_MODE_META | 369 #undef FLAG_MODE_META |
OLD | NEW |