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 kprobes/22772] missing kernel/module debuginfo for custom lt kernel


https://sourceware.org/bugzilla/show_bug.cgi?id=22772

--- Comment #14 from David Smith <dsmith at redhat dot com> ---
(In reply to ocket8888 from comment #12)
> (In reply to Frank Ch. Eigler from comment #9)
> > (In reply to ocket8888 from comment #6)
> > > Created attachment 10773 [details]
> > > strace output after attempting to probe kernel
> > 
> > I meant
> > 
> > % strace stap -p4 -e 'probe kernel.function("sys_open") {}'
> 
> I uploaded the new output in 'strace.err' (output was only 62431 lines to
> stderr, 0 on stdout)

So, let's see where systemtap looked for the kernel's debug file (which should
be at /usr/lib/debug/lib/modules/`uname -r`/vmlinux on a RHEL-type system):

====
grep ^open strace_err.txt  | fgrep ENOENT | fgrep
'"/usr/lib/debug/lib/modules/' | fgrep vmlinux
open("/usr/lib/debug/lib/modules/4.9.70-1.el7.centos.x86_64/vmlinux.debug",
O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/debug/lib/modules/4.9.70-1.el7.centos.x86_64/vmlinux", O_RDONLY)
= -1 ENOENT (No such file or directory)
====

So, where is the vmlinux file provided by your kernel-lt-debuginfo package?

-- 
You are receiving this mail because:
You are the assignee for the bug.

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