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

Side by Side Diff: runtime/vm/os_linux.cc

Issue 181593006: Disable jit dump output by default (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_OS_LINUX) 6 #if defined(TARGET_OS_LINUX)
7 7
8 #include "vm/os.h" 8 #include "vm/os.h"
9 9
10 #include <errno.h> // NOLINT 10 #include <errno.h> // NOLINT
(...skipping 23 matching lines...) Expand all
34 // Linux CodeObservers. 34 // Linux CodeObservers.
35 35
36 DEFINE_FLAG(bool, generate_gdb_symbols, false, 36 DEFINE_FLAG(bool, generate_gdb_symbols, false,
37 "Generate symbols of generated dart functions for debugging with GDB"); 37 "Generate symbols of generated dart functions for debugging with GDB");
38 DEFINE_FLAG(bool, generate_perf_events_symbols, false, 38 DEFINE_FLAG(bool, generate_perf_events_symbols, false,
39 "Generate events symbols for profiling with perf"); 39 "Generate events symbols for profiling with perf");
40 DEFINE_FLAG(bool, ll_prof, false, 40 DEFINE_FLAG(bool, ll_prof, false,
41 "Generate compiled code log file for processing with ll_prof.py."); 41 "Generate compiled code log file for processing with ll_prof.py.");
42 DEFINE_FLAG(charp, generate_pprof_symbols, NULL, 42 DEFINE_FLAG(charp, generate_pprof_symbols, NULL,
43 "Writes pprof events symbols to the provided file"); 43 "Writes pprof events symbols to the provided file");
44 DEFINE_FLAG(bool, generate_perf_jitdump, true, 44 DEFINE_FLAG(bool, generate_perf_jitdump, false,
45 "Writes jitdump data for profiling with perf annotate"); 45 "Writes jitdump data for profiling with perf annotate");
46 46
47 class LowLevelProfileCodeObserver : public CodeObserver { 47 class LowLevelProfileCodeObserver : public CodeObserver {
48 public: 48 public:
49 LowLevelProfileCodeObserver() { 49 LowLevelProfileCodeObserver() {
50 Dart_FileOpenCallback file_open = Isolate::file_open_callback(); 50 Dart_FileOpenCallback file_open = Isolate::file_open_callback();
51 if (file_open == NULL) { 51 if (file_open == NULL) {
52 return; 52 return;
53 } 53 }
54 const char* filename = "v8.log.ll"; 54 const char* filename = "v8.log.ll";
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 } 769 }
770 770
771 771
772 void OS::Exit(int code) { 772 void OS::Exit(int code) {
773 exit(code); 773 exit(code);
774 } 774 }
775 775
776 } // namespace dart 776 } // namespace dart
777 777
778 #endif // defined(TARGET_OS_LINUX) 778 #endif // defined(TARGET_OS_LINUX)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698