This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/4886] stap should validate debuginfo files
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 2 Aug 2007 21:06:45 -0000
- Subject: [Bug translator/4886] stap should validate debuginfo files
- References: <20070802201140.4886.mmlnx@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2007-08-02 21:06 -------
(In reply to comment #0)
> As far as I can tell, stap relies solely on file/directory names to determine
> which debuginfo files to use. It does not validate that, upon finding a match,
> the debuginfo file is actually valid for the running kernel.
It does a very limited amount of such checking at translation time. It
could do more. We could e.g. extract init/version.c's init_uts_ns from the
object file, and compare it to the module init-time utsname() results.
Once the new build-id code is pervasive, it can be used as a stronger
match check too.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4886
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.