diff options
author | Massimiliano Mantione <massi@mono-cvs.ximian.com> | 2009-06-12 14:54:19 +0400 |
---|---|---|
committer | Massimiliano Mantione <massi@mono-cvs.ximian.com> | 2009-06-12 14:54:19 +0400 |
commit | ba15eae8f5eac55c9e5c0e495189015fea068ef0 (patch) | |
tree | 9d0a952228213c7f13c12b4c63b63f502ac48fe5 | |
parent | 7b12c3d725c6dd303f5406f0cede943f473ae847 (diff) |
Get the root frames from the event handler now.
svn path=/trunk/mono-tools/; revision=135983
-rw-r--r-- | Mono.Profiler/profiler-file-decoder/ChangeLog | 3 | ||||
-rw-r--r-- | Mono.Profiler/profiler-file-decoder/Main.cs | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Mono.Profiler/profiler-file-decoder/ChangeLog b/Mono.Profiler/profiler-file-decoder/ChangeLog index 2ab30cdc..45bd1765 100644 --- a/Mono.Profiler/profiler-file-decoder/ChangeLog +++ b/Mono.Profiler/profiler-file-decoder/ChangeLog @@ -1,4 +1,7 @@ 2009-06-12 Massimiliano Mantione <massi@ximian.com> + * Main.cs: Get the root frames from the event handler now. + +2009-06-12 Massimiliano Mantione <massi@ximian.com> * Main.cs: Also show method execution time grouped by individual stack frames in the call tree diff --git a/Mono.Profiler/profiler-file-decoder/Main.cs b/Mono.Profiler/profiler-file-decoder/Main.cs index 812a3337..4ca366c9 100644 --- a/Mono.Profiler/profiler-file-decoder/Main.cs +++ b/Mono.Profiler/profiler-file-decoder/Main.cs @@ -175,7 +175,7 @@ namespace Mono.Profiler PrintSeparator (writer); writer.WriteLine ("Reporting execution time by stack frame"); - foreach (StackTrace rootFrame in StackTrace.RootFrames) { + foreach (StackTrace rootFrame in data.RootFrames) { PrintExecutionTimeByCallStack (writer, data, rootFrame, data.ClicksToSeconds (totalExecutionClicks), 0); } } else { |