Revision 35a1421e src/node.cc
src/node.cc | ||
---|---|---|
26 | 26 |
#include "uv.h" |
27 | 27 |
|
28 | 28 |
#include "v8-debug.h" |
29 |
#ifdef HAVE_DTRACE
|
|
29 |
#if defined HAVE_DTRACE || defined HAVE_ETW
|
|
30 | 30 |
# include "node_dtrace.h" |
31 | 31 |
#endif |
32 | 32 |
|
33 |
#ifdef HAVE_ETW |
|
34 |
# include "node_win32_etw_provider.h" |
|
35 |
#endif |
|
36 |
|
|
33 | 37 |
#include <locale.h> |
34 | 38 |
#include <signal.h> |
35 | 39 |
#include <stdio.h> |
... | ... | |
2325 | 2329 |
Local<Object> global = v8::Context::GetCurrent()->Global(); |
2326 | 2330 |
Local<Value> args[1] = { Local<Value>::New(process_l) }; |
2327 | 2331 |
|
2328 |
#ifdef HAVE_DTRACE
|
|
2332 |
#if defined HAVE_DTRACE || defined HAVE_ETW
|
|
2329 | 2333 |
InitDTrace(global); |
2330 | 2334 |
#endif |
2331 | 2335 |
|
... | ... | |
2894 | 2898 |
// watchers, it blocks. |
2895 | 2899 |
uv_run(uv_default_loop()); |
2896 | 2900 |
|
2901 |
#ifdef HAVE_ETW |
|
2902 |
shutdown_etw(); |
|
2903 |
#endif |
|
2904 |
|
|
2897 | 2905 |
EmitExit(process_l); |
2898 | 2906 |
RunAtExit(); |
2899 | 2907 |
|
Also available in: Unified diff