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/4886] stap should validate debuginfo files


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


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