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

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

Issue 43273004: Allow redirecting disassembly and deoptimization traces into a file. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « src/deoptimizer.cc ('k') | src/isolate.h » ('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 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 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.") 796 DEFINE_bool(logfile_per_isolate, true, "Separate log files for each isolate.")
797 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") 797 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
798 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__", 798 DEFINE_string(gc_fake_mmap, "/tmp/__v8_gc__",
799 "Specify the name of the file for fake gc mmap used in ll_prof") 799 "Specify the name of the file for fake gc mmap used in ll_prof")
800 DEFINE_bool(log_internal_timer_events, false, "Time internal events.") 800 DEFINE_bool(log_internal_timer_events, false, "Time internal events.")
801 DEFINE_bool(log_timer_events, false, 801 DEFINE_bool(log_timer_events, false,
802 "Time events including external callbacks.") 802 "Time events including external callbacks.")
803 DEFINE_implication(log_timer_events, log_internal_timer_events) 803 DEFINE_implication(log_timer_events, log_internal_timer_events)
804 DEFINE_implication(log_internal_timer_events, prof) 804 DEFINE_implication(log_internal_timer_events, prof)
805 805
806 DEFINE_bool(redirect_code_traces, false,
807 "output deopt information and disassembly into file "
808 "code-<pid>-<isolate id>.asm")
809 DEFINE_string(redirect_code_traces_to, NULL,
810 "output deopt information and disassembly into the given file")
811
806 // 812 //
807 // Disassembler only flags 813 // Disassembler only flags
808 // 814 //
809 #undef FLAG 815 #undef FLAG
810 #ifdef ENABLE_DISASSEMBLER 816 #ifdef ENABLE_DISASSEMBLER
811 #define FLAG FLAG_FULL 817 #define FLAG FLAG_FULL
812 #else 818 #else
813 #define FLAG FLAG_READONLY 819 #define FLAG FLAG_READONLY
814 #endif 820 #endif
815 821
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 #undef DEFINE_ALIAS_float 898 #undef DEFINE_ALIAS_float
893 #undef DEFINE_ALIAS_args 899 #undef DEFINE_ALIAS_args
894 900
895 #undef FLAG_MODE_DECLARE 901 #undef FLAG_MODE_DECLARE
896 #undef FLAG_MODE_DEFINE 902 #undef FLAG_MODE_DEFINE
897 #undef FLAG_MODE_DEFINE_DEFAULTS 903 #undef FLAG_MODE_DEFINE_DEFAULTS
898 #undef FLAG_MODE_META 904 #undef FLAG_MODE_META
899 #undef FLAG_MODE_DEFINE_IMPLICATIONS 905 #undef FLAG_MODE_DEFINE_IMPLICATIONS
900 906
901 #undef COMMA 907 #undef COMMA
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698