X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fprofiler.h;h=36283175a7a5cdb3a3af9eed26423492ff470b9b;hb=ba6dad488203bdacecee7f23ef35f576ad94f04d;hp=1d9e713560bd4f3c0aac3579dc011e21bf8f76ac;hpb=53e266903ec6b2d822cf5b0c566f6374df5307a4;p=mono.git diff --git a/mono/metadata/profiler.h b/mono/metadata/profiler.h index 1d9e713560b..36283175a7a 100644 --- a/mono/metadata/profiler.h +++ b/mono/metadata/profiler.h @@ -65,6 +65,9 @@ typedef void (*MonoProfileClassFunc) (MonoProfiler *prof, MonoClass *klass typedef void (*MonoProfileModuleFunc) (MonoProfiler *prof, MonoImage *module); typedef void (*MonoProfileAssemblyFunc) (MonoProfiler *prof, MonoAssembly *assembly); +typedef void (*MonoProfileExceptionFunc) (MonoProfiler *prof, MonoObject *object); +typedef void (*MonoProfileExceptionClauseFunc) (MonoProfiler *prof, MonoMethod *method, int clause_type, int clause_num); + typedef void (*MonoProfileAppDomainResult)(MonoProfiler *prof, MonoDomain *domain, int result); typedef void (*MonoProfileMethodResult) (MonoProfiler *prof, MonoMethod *method, int result); typedef void (*MonoProfileJitResult) (MonoProfiler *prof, MonoMethod *method, MonoJitInfo* jinfo, int result); @@ -108,6 +111,7 @@ void mono_profiler_install_thread (MonoProfileThreadFunc start, MonoProfile void mono_profiler_install_transition (MonoProfileMethodResult callback); void mono_profiler_install_allocation (MonoProfileAllocFunc callback); void mono_profiler_install_statistical (MonoProfileStatFunc callback); +void mono_profiler_install_exception (MonoProfileExceptionFunc throw_callback, MonoProfileMethodFunc exc_method_leave, MonoProfileExceptionClauseFunc clause_callback); void mono_profiler_install_coverage_filter (MonoProfileCoverageFilterFunc callback); void mono_profiler_coverage_get (MonoProfiler *prof, MonoMethod *method, MonoProfileCoverageFunc func); void mono_profiler_install_gc (MonoProfileGCFunc callback, MonoProfileGCResizeFunc heap_resize_callback);