[profiler] Split shutdown callback into early/late callbacks.
[mono.git] / mono / metadata / profiler-events.h
index 4f9ce6462c50aa032e7fae31fb892b0142e4186b..3c08d81d1369ddbdbc3374fde4ae273324cbbc43 100644 (file)
@@ -20,7 +20,8 @@
  */
 
 MONO_PROFILER_EVENT_0(runtime_initialized, RuntimeInitialized)
-MONO_PROFILER_EVENT_0(runtime_shutdown, RuntimeShutdown)
+MONO_PROFILER_EVENT_0(runtime_shutdown_begin, RuntimeShutdown)
+MONO_PROFILER_EVENT_0(runtime_shutdown_end, RuntimeShutdown)
 
 MONO_PROFILER_EVENT_1(context_loaded, ContextLoaded, MonoAppContext *, context)
 MONO_PROFILER_EVENT_1(context_unloaded, ContextUnloaded, MonoAppContext *, context)