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

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

Issue 10831005: Emit symbol maps for compiled code for use by the Linux perf tool. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 years, 5 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 | « runtime/vm/dart.cc ('k') | runtime/vm/object.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 (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 "include/dart_api.h" 5 #include "include/dart_api.h"
6 6
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/class_finalizer.h" 8 #include "vm/class_finalizer.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/dart.h" 10 #include "vm/dart.h"
(...skipping 4133 matching lines...) Expand 10 before | Expand all | Expand 10 after
4144 *buffer = NULL; 4144 *buffer = NULL;
4145 } 4145 }
4146 delete debug_region; 4146 delete debug_region;
4147 } else { 4147 } else {
4148 *buffer = NULL; 4148 *buffer = NULL;
4149 *buffer_size = 0; 4149 *buffer_size = 0;
4150 } 4150 }
4151 } 4151 }
4152 4152
4153 4153
4154 DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function) { 4154 DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function) {
4155 Dart::set_perf_events_writer(function);
4156 }
4157
4158
4159 DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function) {
4155 Dart::set_flow_graph_writer(function); 4160 Dart::set_flow_graph_writer(function);
4156 } 4161 }
4157 4162
4158 } // namespace dart 4163 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/dart.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698