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

Unified Diff: runtime/include/dart_api.h

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: pre-review changes 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 side-by-side diff with in-line comments
Download patch
Index: runtime/include/dart_api.h
diff --git a/runtime/include/dart_api.h b/runtime/include/dart_api.h
index 86f9b2a033d2bec7f81757a597bb2e664b0dc5fa..500e744346d3c55b2a834de9a1c56a3d2dbeeb5f 100755
--- a/runtime/include/dart_api.h
+++ b/runtime/include/dart_api.h
@@ -2583,8 +2583,12 @@ DART_EXPORT Dart_Handle Dart_SetNativeResolver(
DART_EXPORT void Dart_InitPprofSupport();
DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
+typedef void (*Dart_FileWriterFunction)(const char* buffer, int64_t num_bytes);
+
+// Support for generating symbol maps for use by the Linux perf tool.
+DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function);
+
// Support for generating flow graph compiler debugging output into a file.
-typedef void (*FileWriterFunction)(const char* buffer, int64_t num_bytes);
-DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function);
+DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function);
#endif // INCLUDE_DART_API_H_
« runtime/bin/main.cc ('K') | « runtime/bin/process_win.cc ('k') | runtime/vm/dart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698