This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/2475] Inlines don't match filenames correctly


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]