projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2897dba
)
[profiler] Increase the number of maximum and default frames in backtraces.
author
Paolo Molaro
<lupus@oddwiz.org>
Tue, 5 Aug 2014 11:14:11 +0000
(13:14 +0200)
committer
Paolo Molaro
<lupus@oddwiz.org>
Tue, 5 Aug 2014 11:15:17 +0000
(13:15 +0200)
mono/profiler/proflog.c
patch
|
blob
|
history
diff --git
a/mono/profiler/proflog.c
b/mono/profiler/proflog.c
index f5ca7472a1c10e2e343589d0bacc77b76e65aac5..7bfa920f8a9b7c1577e0c81615944e52fb98a887 100644
(file)
--- a/
mono/profiler/proflog.c
+++ b/
mono/profiler/proflog.c
@@
-803,14
+803,14
@@
gc_resize (MonoProfiler *profiler, int64_t new_size) {
EXIT_LOG (logbuffer);
}
-#define MAX_FRAMES
16
+#define MAX_FRAMES
32
typedef struct {
int count;
MonoMethod* methods [MAX_FRAMES];
int32_t il_offsets [MAX_FRAMES];
int32_t native_offsets [MAX_FRAMES];
} FrameData;
-static int num_frames = MAX_FRAMES
/ 2
;
+static int num_frames = MAX_FRAMES;
static mono_bool
walk_stack (MonoMethod *method, int32_t native_offset, int32_t il_offset, mono_bool managed, void* data)