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/14226] New: semantic error: missing x86_64 kernel/module debuginfo under '...' while resolving probe point kernel.function("vfs_read").return


http://sourceware.org/bugzilla/show_bug.cgi?id=14226

             Bug #: 14226
           Summary: semantic error: missing x86_64 kernel/module debuginfo
                    under '...'  while resolving probe point
                    kernel.function("vfs_read").return
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: henrypepr@gmail.com
    Classification: Unclassified


sudo io/iotop.stp
semantic error: missing x86_64 kernel/module debuginfo under
'/lib/modules/3.3.4-5.fc17.x86_64/build' while resolving probe point
kernel.function("vfs_read").return
semantic error: no match while resolving probe point vfs.read.return
semantic error: missing x86_64 kernel/module debuginfo under
'/lib/modules/3.3.4-5.fc17.x86_64/build' while resolving probe point
kernel.function("vfs_write").return
semantic error: no match while resolving probe point vfs.write.return
Pass 2: analysis failed.  Try again with another '--vp 01' option.
Missing separate debuginfos, use: debuginfo-install kernel-3.3.4-5.fc17.x86_64 

$ uname -r
3.3.4-5.fc17.x86_64

$ sudo debuginfo-install kernel-3.3.4-5.fc17.x86_64
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
enabling fedora-debuginfo
enabling updates-debuginfo
updates/metalink                                                               
                              |  11 kB     00:00     
updates                                                                        
                              | 4.5 kB     00:00     
updates-debuginfo/metalink                                                     
                              | 9.0 kB     00:00     
updates-debuginfo                                                              
                              | 3.1 kB     00:00     
updates-debuginfo/primary_db                                                   
                              | 161 kB     00:01     
Package matching kernel-debuginfo-3.3.4-5.fc17.x86_64 already installed.
Checking for update.
No debuginfo packages available to install


 stap-report
== stap -V ==
Systemtap translator/driver (version 1.7/0.153 non-git sources)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS
== which stap ==
/bin/stap
== locate --regex '/stap(run)?$' | xargs ls -ald ==
-rwxr-xr-x. 1 root root    1983528 May  1 01:30 /usr/bin/stap
---s--x---. 1 root stapusr  154408 May  1 01:30 /usr/bin/staprun
== printenv | egrep '^PATH=|^LD_LIBRARY_PATH=|^SYSTEMTAP_.*=|^XDG_DATA.*=' ==
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/cadm/.local/bin:/home/cadm/bin
== stap -vv -p4 -e 'probe begin {exit()}' ==
Systemtap translator/driver (version 1.7/0.153 non-git sources)
Copyright (C) 2005-2012 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS
Created temporary directory "/tmp/stapbVUI7B"
Session arch: x86_64 release: 3.3.4-5.fc17.x86_64
Searched: " /usr/share/systemtap/tapset/x86_64/*.stp ", found: 4, processed: 4
Searched: " /usr/share/systemtap/tapset/*.stp ", found: 78, processed: 78
Pass 1: parsed user script and 82 library script(s) using
200920virt/23084res/2968shr kb, in 130usr/30sys/178real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
using 201448virt/23612res/3000shr kb, in 10usr/0sys/6real ms.
function recursion-analysis: max-nesting 0  non-recursive
Pass 3: translated to C into
"/tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728_src.c" using
201448virt/23952res/3260shr kb, in 0usr/0sys/1real ms.
Running make -C /lib/modules/3.3.4-5.fc17.x86_64/build M=/tmp/stapbVUI7B
modules ARCH=x86_64 --no-print-directory -j2
  CC [M]  /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728_src.o
  LD [M]  /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.mod.o
  LD [M]  /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.ko
Spawn waitpid result (0x0): 0
/home/cadm/.systemtap/cache/62/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.ko
Pass 4: compiled C into "stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.ko" in
7890usr/3200sys/13062real ms.
Cache limit file /home/cadm/.systemtap/cache/cache_mb_limit missing, creating
default.
Cache clean interval file /home/cadm/.systemtap/cache/cache_clean_interval_s
missing, creating default.
Cache cleaning skipped, interval not reached 0 s / 30 s.
Copying /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.ko to
/home/cadm/.systemtap/cache/62/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.ko
Copying /tmp/stapbVUI7B/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728_src.c to
/home/cadm/.systemtap/cache/62/stap_62a235d7eb4cecb8f7a51fe6e54631ce_728.c
Copying /tmp/stapbVUI7B/stapconf_21281bac61c99465ab35ab0fad84ec7d_543.h to
/home/cadm/.systemtap/cache/21/stapconf_21281bac61c99465ab35ab0fad84ec7d_543.h
Running rm -rf /tmp/stapbVUI7B
Spawn waitpid result (0x0): 0
== gcc -v ==
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.7.0/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --disable-build-with-cxx
--disable-build-poststage1-with-cxx --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id --with-linker-hash-style=gnu
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin
--enable-initfini-array --enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch_32=i686
--build=x86_64-redhat-linux
Thread model: posix
gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) 
== uname -a ==
Linux fedora17amd64 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux
== dmesg | egrep 'stap|systemtap' | tail -n 10 ==
[ 6634.525980] stap_568b08c70ec23ee5db1d59112c15131_10852: systemtap:
1.7/0.153, base: ffffffffa0156000, memory: 21data/20text/0ctx/2058net/9alloc
kb, probes: 1
[53809.651468] stap_90b47d8b4b3ac8c745983b4d3a91055b_8501: systemtap:
1.7/0.153, base: ffffffffa01a3000, memory: 27data/40text/5ctx/2058net/2170alloc
kb, probes: 4
[53911.605707] stap_90b47d8b4b3ac8c745983b4d3a91055b_8577: systemtap:
1.7/0.153, base: ffffffffa01df000, memory: 27data/40text/5ctx/2058net/2170alloc
kb, probes: 4
== cat /proc/cpuinfo | egrep 'processor|vendor_id|model name' ==
processor    : 0
vendor_id    : GenuineIntel
model name    : QEMU Virtual CPU version 1.0
== rpm -qa --qf '%{name}-%{version} %{release}.%{arch}\n' | egrep
'systemtap|elfutils|kernel|gcc' | sort ==
abrt-addon-kerneloops-2.0.10 4.fc17.x86_64
elfutils-0.153 2.fc17.x86_64
elfutils-libelf-0.153 2.fc17.x86_64
elfutils-libs-0.153 2.fc17.x86_64
gcc-4.7.0 5.fc17.x86_64
gcc-c++-4.7.0 5.fc17.x86_64
kernel-3.3.4 5.fc17.x86_64
kernel-3.4.0 1.fc17.x86_64
kernel-debuginfo-3.4.0 1.fc17.x86_64
kernel-debuginfo-common-x86_64-3.4.0 1.fc17.x86_64
kernel-devel-3.3.4 5.fc17.x86_64
kernel-devel-3.4.0 1.fc17.x86_64
kernel-headers-3.4.0 1.fc17.x86_64
libgcc-4.7.0 5.fc17.x86_64
libreport-plugin-kerneloops-2.0.10 3.fc17.x86_64
systemtap-1.7 7.fc17.x86_64
systemtap-client-1.7 7.fc17.x86_64
systemtap-devel-1.7 7.fc17.x86_64
systemtap-runtime-1.7 7.fc17.x86_64
== egrep 'PROBE|TRACE|MARKER|_DEBUG_|MODULE'
/lib/modules/3.3.4-5.fc17.x86_64/build/.config | grep -v not.set | sort | fmt
-w 80 ==
CONFIG_AIC79XX_DEBUG_MASK=0 CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_ARCH_CPU_PROBE_RELEASE=y CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_BLK_DEV_IO_TRACE=y CONFIG_CAN_PM_TRACE=y
CONFIG_CB710_DEBUG_ASSUMPTIONS=y CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_DEBUG_BOOT_PARAMS=y CONFIG_DEBUG_BUGVERBOSE=y CONFIG_DEBUG_DEVRES=y
CONFIG_DEBUG_FS=y CONFIG_DEBUG_INFO=y CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_LIST=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_DEBUG_NX_TEST=m
CONFIG_DEBUG_RODATA_TEST=y CONFIG_DEBUG_RODATA=y CONFIG_DEBUG_SET_MODULE_RONX=y
CONFIG_DEBUG_SHIRQ=y CONFIG_DEBUG_STACKOVERFLOW=y CONFIG_DEBUG_VM=y
CONFIG_DYNAMIC_FTRACE=y CONFIG_FTRACE_MCOUNT_RECORD=y CONFIG_FTRACE_NMI_ENTER=y
CONFIG_FTRACE_SYSCALLS=y CONFIG_FTRACE=y CONFIG_FUNCTION_GRAPH_TRACER=y
CONFIG_FUNCTION_TRACER=y CONFIG_GENERIC_IRQ_PROBE=y CONFIG_GENERIC_TRACER=y
CONFIG_HAVE_ARCH_TRACEHOOK=y CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y CONFIG_HAVE_FTRACE_NMI_ENTER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y CONFIG_HAVE_FUNCTION_TRACE_MCOUNT_TEST=y
CONFIG_HAVE_FUNCTION_TRACER=y CONFIG_HAVE_KPROBES=y CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_MMIOTRACE_SUPPORT=y CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_INFINIBAND_IPOIB_DEBUG_DATA=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y CONFIG_KPROBE_EVENT=y CONFIG_KPROBES=y
CONFIG_KRETPROBES=y CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y
CONFIG_NETFILTER_XT_TARGET_TRACE=m CONFIG_NET_SCTPPROBE=m CONFIG_NOP_TRACER=y
CONFIG_OPTPROBES=y CONFIG_PM_TRACE_RTC=y CONFIG_PM_TRACE=y
CONFIG_SCHED_TRACER=y CONFIG_STACK_TRACER=y CONFIG_STACKTRACE_SUPPORT=y
CONFIG_STACKTRACE=y CONFIG_TRACE_IRQFLAGS_SUPPORT=y CONFIG_TRACEPOINTS=y
CONFIG_TRACER_MAX_TRACE=y CONFIG_USER_STACKTRACE_SUPPORT=y CONFIG_UTRACE=y
CONFIG_WIMAX_DEBUG_LEVEL=8 CONFIG_WIMAX_I2400M_DEBUG_LEVEL=8
CONFIG_XEN_DEBUG_FS=y
== find /debugfs /proc /sys /dev -name '*kprobes*' 2>/dev/null | xargs grep .
==
/proc/sys/debug/kprobes-optimization:0
grep: /sys/kernel/debug/kprobes: Is a directory
== lsmod ==
Module                  Size  Used by
fuse                   77772  2 
binfmt_misc            17463  1 
lockd                  84836  0 
sunrpc                235511  1 lockd
bnep                   19584  2 
bluetooth             273667  7 bnep
rfkill                 21384  3 bluetooth
ip6t_REJECT            12939  2 
nf_conntrack_ipv4      14622  2 
nf_conntrack_ipv6      14297  3 
nf_defrag_ipv4         12673  1 nf_conntrack_ipv4
nf_defrag_ipv6         18095  1 nf_conntrack_ipv6
xt_state               12578  5 
nf_conntrack           82339  3 xt_state,nf_conntrack_ipv6,nf_conntrack_ipv4
ip6table_filter        12815  1 
ip6_tables             27073  1 ip6table_filter
snd_hda_intel          33277  2 
microcode              19252  0 
snd_hda_codec         116112  1 snd_hda_intel
snd_hwdep              17650  1 snd_hda_codec
snd_pcm                97129  2 snd_hda_codec,snd_hda_intel
snd_page_alloc         18101  2 snd_pcm,snd_hda_intel
snd_timer              28690  1 snd_pcm
snd                    78862  9
snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel
soundcore              14491  1 snd
virtio_balloon         13394  0 
virtio_net             23267  0 
i2c_piix4              13694  0 
i2c_core               38028  1 i2c_piix4
uinput                 17673  0 
virtio_blk             17549  3 

Running on Fedora 17, as a KVM guest.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]