Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(880)

Side by Side Diff: src/flag-definitions.h

Issue 3831002: Support profiling based on linux kernel performance events. (Closed)
Patch Set: More fixes Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/cpu-profiler.h ('k') | src/heap.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 DEFINE_bool(prof_lazy, false, 405 DEFINE_bool(prof_lazy, false,
406 "Used with --prof, only does sampling and logging" 406 "Used with --prof, only does sampling and logging"
407 " when profiler is active (implies --noprof_auto).") 407 " when profiler is active (implies --noprof_auto).")
408 DEFINE_bool(prof_browser_mode, true, 408 DEFINE_bool(prof_browser_mode, true,
409 "Used with --prof, turns on browser-compatible mode for profiling.") 409 "Used with --prof, turns on browser-compatible mode for profiling.")
410 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 410 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
411 DEFINE_bool(sliding_state_window, false, 411 DEFINE_bool(sliding_state_window, false,
412 "Update sliding state window counters.") 412 "Update sliding state window counters.")
413 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 413 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
414 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.") 414 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.")
415 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
415 416
416 // 417 //
417 // Heap protection flags 418 // Heap protection flags
418 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. 419 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well.
419 // 420 //
420 #ifdef ENABLE_HEAP_PROTECTION 421 #ifdef ENABLE_HEAP_PROTECTION
421 #undef FLAG 422 #undef FLAG
422 #define FLAG FLAG_FULL 423 #define FLAG FLAG_FULL
423 424
424 DEFINE_bool(protect_heap, false, 425 DEFINE_bool(protect_heap, false,
(...skipping 24 matching lines...) Expand all
449 #undef FLAG 450 #undef FLAG
450 451
451 #undef DEFINE_bool 452 #undef DEFINE_bool
452 #undef DEFINE_int 453 #undef DEFINE_int
453 #undef DEFINE_string 454 #undef DEFINE_string
454 455
455 #undef FLAG_MODE_DECLARE 456 #undef FLAG_MODE_DECLARE
456 #undef FLAG_MODE_DEFINE 457 #undef FLAG_MODE_DEFINE
457 #undef FLAG_MODE_DEFINE_DEFAULTS 458 #undef FLAG_MODE_DEFINE_DEFAULTS
458 #undef FLAG_MODE_META 459 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/cpu-profiler.h ('k') | src/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698