Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
Get the root frames from the event handler now.
Browse files Browse the repository at this point in the history
svn path=/trunk/mono-tools/; revision=135984
  • Loading branch information
Massimiliano Mantione committed Jun 12, 2009
1 parent ba15eae commit 14676a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Mono.Profiler/Mono.Profiler.Widgets/CallsStore.cs
Expand Up @@ -105,7 +105,7 @@ public CallsStore (ProfilerEventHandler data)
return;

nodes = new List<Node> ();
foreach (StackTrace frame in StackTrace.RootFrames) {
foreach (StackTrace frame in data.RootFrames) {
total_clicks += frame.TopMethod.Clicks;
nodes.Add (new Node (null, frame));
}
Expand Down
3 changes: 3 additions & 0 deletions Mono.Profiler/Mono.Profiler.Widgets/ChangeLog
@@ -1,3 +1,6 @@
2009-06-12 Massimiliano Mantione <massi@ximian.com>
* CallsStore.cs: Get the root frames from the event handler now.

2009-06-11 Mike Kestner <mkestner@novell.com>

* CallsStore.cs: add license.
Expand Down

0 comments on commit 14676a4

Please sign in to comment.