This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/2475] Inlines don't match filenames correctly
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 May 2009 01:01:19 -0000
- Subject: [Bug translator/2475] Inlines don't match filenames correctly
- References: <20060322005515.2475.jistone@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jistone at redhat dot com 2009-05-14 01:01 -------
I've been refactoring our dwarf code recently, and I think I've tracked down
what's happening here. For each compilation unit, we're matching the file
pattern against all of the files in that CU. If there are any matches, then we
proceed to search the entire CU for the function pattern.
So in the OP, stap found every CU that happened to include "include/linux/mm.h",
and then probed all inline instances in those CUs, regardless of where each
inline was defined.
We'll probably just have to match the decl_file against the pattern again for
each candidate function...
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2475
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.