The systemtap tool, when executed, searches for the vmlinux image in /boot/.
The currently shipped vmlinux image in Debian is with the -dbg package that
installs it into /usr/lib/debug.
Could you please handle a symlink to /boot for vmlinux ?
This is required for systemtap. I have manually verified it by creating
the symlink and it works.
Without it, following error is seen:
00:52:38 rrs@champaran:/usr/share/doc/systemtap-doc/examples/process $
stap -v -e 'probe vfs.read {printf("read performed
"); exit()}'
Pass 1: parsed user script and 68 library script(s) using
49924virt/20852res/1740shr kb, in 130usr/10sys/135real ms.
semantic error: missing x86_64 kernel/module debuginfo under
'/lib/modules/2.6.34-1-amd64/build' while resolving probe point
kernel.function("vfs_read")
semantic error: no match while resolving probe point vfs.read
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0
global(s) using 50532virt/21772res/2008shr kb, in 10usr/370sys/1771real
ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
Kernel: Linux 2.6.34-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
"Necessity is the mother of invention."
05-23-2010, 08:43 PM
Ben Hutchings
Bug#582810: add symlink for vmlinux to /boot
On Mon, 2010-05-24 at 01:45 +0530, Ritesh Raj Sarraf wrote:
> Package: linux-2.6
> Severity: normal
>
> Hi,
>
> The systemtap tool, when executed, searches for the vmlinux image in /boot/.
> The currently shipped vmlinux image in Debian is with the -dbg package that
> installs it into /usr/lib/debug.
>
> Could you please handle a symlink to /boot for vmlinux ?
[...]
No, this is a bug in systemtap. I will reassign this bug.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.