[profiler] log profiler: limit method instrumentation to selected methods (#5517)
[mono.git] / mono / mini / trace.h
1 /**
2  * \file
3  */
4
5 #ifndef __MONO_TRACE_H__
6 #define __MONO_TRACE_H__
7 #include <glib.h>
8 #include "mono/utils/mono-compiler.h"
9
10 G_BEGIN_DECLS
11
12 void
13 mono_trace_enter_method (MonoMethod *method, char *ebp);
14
15 void 
16 mono_trace_leave_method (MonoMethod *method, ...);
17
18 void mono_trace_enable (gboolean enable);
19 gboolean mono_trace_is_enabled (void);
20 gboolean mono_trace_eval_exception (MonoClass *klass);
21
22 G_END_DECLS
23
24 #endif /* __MONO_TRACE_H__ */