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]

systemtap on fc6, syscall.open failes


Hi all,

I am trying to learn something about systemtap and I am following the tutorial now, but I am stuck at the second example. It seems that my systemtap installation on fedora core 6 is broken.
This is my session:


root@dwarf:~/systemtap
$ rpm -qf /boot/vmlinuz-2.6.19-1.2911.fc6debug
kernel-debug-2.6.19-1.2911.fc6.i686

root@dwarf:~/systemtap
$ rpm -q kernel-debuginfo
kernel-debuginfo-2.6.19-1.2911.fc6.i686

root@dwarf:~/systemtap
$ rpm -q kernel-debuginfo-common
kernel-debuginfo-common-2.6.19-1.2911.fc6.i686

root@dwarf:~/systemtap
$ uname -r
2.6.19-1.2911.fc6debug

root@dwarf:~/systemtap
$ stap -v hello-world.stp
Pass 1: parsed user script and 53 library script(s) in 320usr/10sys/337real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/6real ms.
Pass 3: using cached /root/.systemtap/cache/34/stap_3467c1f46e4e0d1c943ceaaf912ed126_255.c
Pass 4: using cached /root/.systemtap/cache/34/stap_3467c1f46e4e0d1c943ceaaf912ed126_255.ko
Pass 5: starting run.
hello world
Pass 5: run completed in 30usr/190sys/260real ms.



root@dwarf:~/systemtap
$ stap -k -vvv strace-open.stp
SystemTap translator/driver (version 0.5.12 built 2007-01-23)
(Using Red Hat elfutils 0.125 libraries.)
Copyright (C) 2005-2006 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Created temporary directory "/tmp/stap1Hi71u"
Searched '/usr/share/systemtap/tapset/2.6.19-1.2911.fc6debug/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.19-1.2911.fc6debug/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.19/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6.19/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/i686/*.stp', match count 1
Searched '/usr/share/systemtap/tapset/*.stp', match count 33
Searched '/usr/share/systemtap/tapset/LKET/2.6.19-1.2911.fc6debug/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.19-1.2911.fc6debug/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.19/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6.19/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/2.6/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/i686/*.stp', match count 0
Searched '/usr/share/systemtap/tapset/LKET/*.stp', match count 19
Pass 1: parsed user script and 53 library script(s) in 310usr/10sys/328real ms.
semantic error: libdwfl failure (dwfl_linux_kernel_report_offline): No such file or directory while resolving probe point kernel.function("sys_open")?
parsed 'sys32_open' -> func 'sys32_open'
semantic error: cannot find kernel debuginfo while resolving probe point kernel.function("sys32_open")?
semantic error: no match for probe point while resolving probe point syscall.open
Pass 2: analyzed script: 1 probe(s), 5 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/8real ms.
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
Keeping temporary directory "/tmp/stap1Hi71u"



So I think I have installed everything I should, but still have no luck. Thanks for any help.

--
Tomas Kouba


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