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

Side by Side 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, 4 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
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 #ifndef INCLUDE_DART_API_H_ 5 #ifndef INCLUDE_DART_API_H_
6 #define INCLUDE_DART_API_H_ 6 #define INCLUDE_DART_API_H_
7 7
8 /** \mainpage Dart Embedding API Reference 8 /** \mainpage Dart Embedding API Reference
9 * 9 *
10 * Dart is a class-based programming language for creating structured 10 * Dart is a class-based programming language for creating structured
(...skipping 2565 matching lines...) Expand 10 before | Expand all | Expand 10 after
2576 // TODO(turnidge): Rename to Dart_LibrarySetNativeResolver? 2576 // TODO(turnidge): Rename to Dart_LibrarySetNativeResolver?
2577 2577
2578 // --- Profiling support ---- 2578 // --- Profiling support ----
2579 2579
2580 // External pprof support for gathering and dumping symbolic 2580 // External pprof support for gathering and dumping symbolic
2581 // information that can be used for better profile reports for 2581 // information that can be used for better profile reports for
2582 // dynamically generated code. 2582 // dynamically generated code.
2583 DART_EXPORT void Dart_InitPprofSupport(); 2583 DART_EXPORT void Dart_InitPprofSupport();
2584 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size); 2584 DART_EXPORT void Dart_GetPprofSymbolInfo(void** buffer, int* buffer_size);
2585 2585
2586 typedef void (*Dart_FileWriterFunction)(const char* buffer, int64_t num_bytes);
2587
2588 // Support for generating symbol maps for use by the Linux perf tool.
2589 DART_EXPORT void Dart_InitPerfEventsSupport(Dart_FileWriterFunction function);
2590
2586 // Support for generating flow graph compiler debugging output into a file. 2591 // Support for generating flow graph compiler debugging output into a file.
2587 typedef void (*FileWriterFunction)(const char* buffer, int64_t num_bytes); 2592 DART_EXPORT void Dart_InitFlowGraphPrinting(Dart_FileWriterFunction function);
2588 DART_EXPORT void Dart_InitFlowGraphPrinting(FileWriterFunction function);
2589 2593
2590 #endif // INCLUDE_DART_API_H_ 2594 #endif // INCLUDE_DART_API_H_
OLDNEW
« 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