This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10799] global vs local variable confusion
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 17 Oct 2009 12:21:23 -0000
- Subject: [Bug translator/10799] global vs local variable confusion
- References: <20091017112259.10799.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-10-17 12:21 -------
It's a namespace collision. Some syscall alias must be defining
the "count" value, so its value gets reset every time that syscall
gets hit.
We could warn against this by detecting if a probe alias variable
could resolve to a global.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10799
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.