Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharley Wang2010-02-01 19:54:21 +0000
committerCharley Wang2010-02-01 19:54:21 +0000
commitf4167b24ec5486f104a9b6e1fe03e026f5161a62 (patch)
tree7ea27af8de453fdf89ed93e4208e237e7555d9bd /systemtap/org.eclipse.linuxtools.callgraph/src/org
parentfcd052f4a534273659f8bbf5dfd1a293ccaddb14 (diff)
downloadorg.eclipse.linuxtools-f4167b24ec5486f104a9b6e1fe03e026f5161a62.tar.gz
org.eclipse.linuxtools-f4167b24ec5486f104a9b6e1fe03e026f5161a62.tar.xz
org.eclipse.linuxtools-f4167b24ec5486f104a9b6e1fe03e026f5161a62.zip
2010-02-01 Charley Wang <chwang@redhat.com>
* src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java: ctrl+double-click go to actual function instead of its parent. Very confusing otherwise.
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.callgraph/src/org')
-rw-r--r--systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java b/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java
index 9824f64d3f..0530f51d78 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java
+++ b/systemtap/org.eclipse.linuxtools.callgraph/src/org/eclipse/linuxtools/callgraph/graphlisteners/StapGraphMouseListener.java
@@ -187,7 +187,7 @@ public class StapGraphMouseListener implements MouseListener {
if (node == null)
return null;
- int caller = node.getData().parent;
+ int caller = node.getData().id;
if (caller < graph.getFirstUsefulNode()) {
// The only node that satisfies this condition should be

Back to the top