| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index dd8f2685bc37115638f5332ddbefd42a79c16cea..e6e7ccfe06c9eb13280dd7d8d826cd44df2667d0 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -3805,6 +3805,9 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message);
|
|
|
| typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> error);
|
|
|
| +// --- Tracing ---
|
| +
|
| +typedef void (*LogEventCallback)(const char* name, int event);
|
|
|
| /**
|
| * Create new error objects by calling the corresponding error object
|
| @@ -4395,6 +4398,9 @@ class V8_EXPORT V8 {
|
| /** Set the callback to invoke in case of fatal errors. */
|
| static void SetFatalErrorHandler(FatalErrorCallback that);
|
|
|
| + /** Set the callback to invoke in case of a timer tracing event. */
|
| + static void SetEventLogger(LogEventCallback that);
|
| +
|
| /**
|
| * Set the callback to invoke to check if code generation from
|
| * strings should be allowed.
|
|
|