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

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

Issue 70013002: Support for the Linux 'perf report' and 'perf annotate' tools. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove forgotten printfs. Created 7 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/log.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 "log positions of (de)serialized objects in the snapshot.") 780 "log positions of (de)serialized objects in the snapshot.")
781 DEFINE_bool(log_suspect, false, "Log suspect operations.") 781 DEFINE_bool(log_suspect, false, "Log suspect operations.")
782 DEFINE_bool(prof, false, 782 DEFINE_bool(prof, false,
783 "Log statistical profiling information (implies --log-code).") 783 "Log statistical profiling information (implies --log-code).")
784 DEFINE_bool(prof_browser_mode, true, 784 DEFINE_bool(prof_browser_mode, true,
785 "Used with --prof, turns on browser-compatible mode for profiling.") 785 "Used with --prof, turns on browser-compatible mode for profiling.")
786 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 786 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
787 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 787 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
788 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") 788 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.")
789 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") 789 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
790 DEFINE_bool(perf_basic_prof, false, "Enable perf linux profiler (basic support). ")
danno 2013/11/13 17:18:10 nit: 80 col (tools/presubmit should have pointed t
791 DEFINE_bool(perf_jit_prof, false, "Enable perf linux profiler "
danno 2013/11/13 17:18:10 How about call this one perf_annotate_support?
792 "(experimental annotate support).")
danno 2013/11/13 17:18:10 You probably want to make sure that these flags im
790 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", 793 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__",
791 "Specify the name of the file for fake gc mmap used in ll_prof") 794 "Specify the name of the file for fake gc mmap used in ll_prof")
792 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") 795 DEFINE_bool(log_internal_timer_events, false, "Time internal events.")
793 DEFINE_bool(log_timer_events, false, 796 DEFINE_bool(log_timer_events, false,
794 "Time events including external callbacks.") 797 "Time events including external callbacks.")
795 DEFINE_implication(log_timer_events, log_internal_timer_events) 798 DEFINE_implication(log_timer_events, log_internal_timer_events)
796 DEFINE_implication(log_internal_timer_events, prof) 799 DEFINE_implication(log_internal_timer_events, prof)
797 800
798 DEFINE_bool(redirect_code_traces, false, 801 DEFINE_bool(redirect_code_traces, false,
799 "output deopt information and disassembly into file " 802 "output deopt information and disassembly into file "
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 #undef DEFINE_ALIAS_float 891 #undef DEFINE_ALIAS_float
889 #undef DEFINE_ALIAS_args 892 #undef DEFINE_ALIAS_args
890 893
891 #undef FLAG_MODE_DECLARE 894 #undef FLAG_MODE_DECLARE
892 #undef FLAG_MODE_DEFINE 895 #undef FLAG_MODE_DEFINE
893 #undef FLAG_MODE_DEFINE_DEFAULTS 896 #undef FLAG_MODE_DEFINE_DEFAULTS
894 #undef FLAG_MODE_META 897 #undef FLAG_MODE_META
895 #undef FLAG_MODE_DEFINE_IMPLICATIONS 898 #undef FLAG_MODE_DEFINE_IMPLICATIONS
896 899
897 #undef COMMA 900 #undef COMMA
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | src/log.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698