projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[profiler] Implement call context introspection for enter/leave events.
[mono.git]
/
mono
/
profiler
/
log.c
diff --git
a/mono/profiler/log.c
b/mono/profiler/log.c
index ed7a21226593e44c5ad4137d27df819c8b10f031..90f7309884796a55ac57dfb19aa89a76a192bffd 100644
(file)
--- a/
mono/profiler/log.c
+++ b/
mono/profiler/log.c
@@
-1760,7
+1760,7
@@
class_loaded (MonoProfiler *prof, MonoClass *klass)
}
static void
}
static void
-method_enter (MonoProfiler *prof, MonoMethod *method)
+method_enter (MonoProfiler *prof, MonoMethod *method
, MonoProfilerCallContext *ctx
)
{
if (get_thread ()->call_depth++ <= log_config.max_call_depth) {
ENTER_LOG (&method_entries_ctr, logbuffer,
{
if (get_thread ()->call_depth++ <= log_config.max_call_depth) {
ENTER_LOG (&method_entries_ctr, logbuffer,
@@
-1776,7
+1776,7
@@
method_enter (MonoProfiler *prof, MonoMethod *method)
}
static void
}
static void
-method_leave (MonoProfiler *prof, MonoMethod *method)
+method_leave (MonoProfiler *prof, MonoMethod *method
, MonoProfilerCallContext *ctx
)
{
if (--get_thread ()->call_depth <= log_config.max_call_depth) {
ENTER_LOG (&method_exits_ctr, logbuffer,
{
if (--get_thread ()->call_depth <= log_config.max_call_depth) {
ENTER_LOG (&method_exits_ctr, logbuffer,