Re: Systemtap on 10.3



Craig Andersen wrote:
I feel close to getting systemtap to work on 10.3 (perhaps) but,

In executing the socktop example the following error was noted, there
seems to be several notes on this on the web but not a clear resolution
that I understand.


./socktop -P UDP
semantic error: libdwfl failure (missing kernel debuginfo): invalid
`Elf' handle while resolving probe point kernel.function("dev_queue_xmit")

[Q] Do you use which kernel ? /boot/vmlinuz-2.6.22.13-0.3-debug
or /boot/vmlinuz-2.6.22.13-0.3-default

I am trying the debug kernel -> uname -> Linux zap64x2
2.6.22.13-0.3-debug #1 SMP 2007/11/19 15:02:58 UTC x86_64 x86_64 x86_64
GNU/Linux

I guess I am unfamiliar with the debuginfo part, is it a library or the
above kernel ?

Anyway I will keep plugging away at it.

Found my own answer, debuginfo is an rpm which at the moment is only
supplied for the default kernel, the process of offering it for updates
is being discussed for 11.0.
.



Relevant Pages

  • Re: [PATCHv4 5/6] Allow setting O_NONBLOCK flag for new sockets
    ... here (executing an interpreted thread of execution in kernel space). ... the cost of just the single indirect - and unpredictable - call. ...
    (Linux-Kernel)
  • Re: [PATCH 3/3] utrace-based ftrace "process" engine, v2
    ... actual novel capabilities depend on debuginfo. ... Not acceptable for upstream kernel development. ... Or yet another metric - Linux distro package overhead. ... Total download size: 329 M ...
    (Linux-Kernel)
  • Re: [PATCH 3/3] utrace-based ftrace "process" engine, v2
    ... I have CONFIG_DEBUG_INFO turned off in 99.9% of my kernel builds, ... OK, lots of network traffic. ... Or yet another metric - Linux distro package overhead. ... that most user-space projects are relatively small, so debuginfo ...
    (Linux-Kernel)
  • Re: copy_from_user / copy_to_user with no swap space
    ... kernel is executing on behalf of that process. ... process, AND IF you have no virtual memory/swapping, THEN must it not be true that you can ALWAYS dereferences your user space pointers? ... When I use data or call a function that hasn't been loaded from disk yet, a major fault occurs, the kernel loads data from the bash executable file or a shared library, and then maps it into the process address space. ...
    (Linux-Kernel)
  • Re: BSD sockets: recv with MSG_WAITALL should return EWOULDBLOCK?
    ... scheduled to run and copies data to its buffer, ... executing some kernel code. ... the scheduler will again consider it for being scheduled. ... process was already executing can be avoided that way. ...
    (comp.unix.programmer)