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


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

P Fudd <sourceware.org at ch dot pkts.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sourceware.org at ch dot pkts.ca

--- Comment #3 from P Fudd <sourceware.org at ch dot pkts.ca> ---
Hi...

I'm using CentOS 6.5, and I'm finding the same thing:
---------------
# stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
Pass 1: parsed user script and 96 library script(s) using
198468virt/26680res/3108shr/24072data kb, in 170usr/10sys/178real ms.
semantic error: while resolving probe point: identifier 'kernel' at
/usr/share/systemtap/tapset/linux/vfs.stp:768:18
        source: probe vfs.read = kernel.function("vfs_read")
                                 ^

semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo]
under '/lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build'
semantic error: while resolving probe point: identifier 'vfs' at <input>:1:7
        source: probe vfs.read {printf("read performed\n"); exit()}
                      ^

semantic error: no match
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 204316virt/32416res/5036shr/27816data kb, in 50usr/80sys/131real ms.
Pass 2: analysis failed.  [man error::pass2]
---------------

If I add '--download-debuginfo -vv' to that command line, it does the
following:
---------------
# stap --download-debuginfo -vv -e 'probe vfs.read {printf("read performed\n");
exit()}'
Systemtap translator/driver (version 2.3/0.152, rpm 2.3-4.el6_5)
Copyright (C) 2005-2013 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS TR1_UNORDERED_MAP NLS
Created temporary directory "/tmp/stap0KjZio"
Session arch: x86_64 release: 2.6.32-431.1.2.0.1.el6.x86_64
Searched for library macro files: "/usr/share/systemtap/tapset/linux/*.stpm",
found: 2, processed: 2
Searched for library macro files: "/usr/share/systemtap/tapset/*.stpm", found:
1, processed: 1
Searched: "/usr/share/systemtap/tapset/linux/x86_64/*.stp", found: 3,
processed: 3
Searched: "/usr/share/systemtap/tapset/linux/*.stp", found: 67, processed: 67
Searched: "/usr/share/systemtap/tapset/x86_64/*.stp", found: 1, processed: 1
Searched: "/usr/share/systemtap/tapset/*.stp", found: 22, processed: 22
Pass 1: parsed user script and 96 library script(s) using
198476virt/26728res/3152shr/24080data kb, in 160usr/10sys/175real ms.
Attempting to extract kernel debuginfo build ID from
/lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build/vmlinux.id
Attempting to extract kernel debuginfo build ID from /sys/kernel/notes
Success! Extracted kernel debuginfo build ID:
f802fda8d8a3aafaf3fc235cda81a62a46c20617
Running /bin/sh -c echo f802fda8d8a3aafaf3fc235cda81a62a46c20617 |
/usr/libexec/abrt-action-install-debuginfo-to-abrt-cache -y --ids=-
Coredump references 1 debuginfo files, 1 of them are not installed
Setting up yum repositories
Looking for needed packages in repositories
Can't find packages for 1 debuginfo files
Missing debuginfo file:
/usr/lib/debug/.build-id/f8/02fda8d8a3aafaf3fc235cda81a62a46c20617.debug
ABRT finished attempting to download debuginfo.
Attempting to extract kernel debuginfo build ID from
/lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build/vmlinux.id
Attempting to extract kernel debuginfo build ID from /sys/kernel/notes
semantic error: while resolving probe point: identifier 'kernel' at
/usr/share/systemtap/tapset/linux/vfs.stp:768:18
        source: probe vfs.read = kernel.function("vfs_read")
                                 ^

semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo]
under '/lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build'
semantic error: while resolving probe point: identifier 'vfs' at <input>:1:7
        source: probe vfs.read {printf("read performed\n"); exit()}
                      ^

semantic error: no match
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s)
using 204312virt/32444res/5056shr/27812data kb, in 240usr/190sys/1200real ms.
Pass 2: analysis failed.  [man error::pass2]
Running rm -rf /tmp/stap0KjZio
Spawn waitpid result (0x0): 0
Removed temporary directory "/tmp/stap0KjZio"
-------------------

I take it that CentOS has its own debug repository that I should be looking at?

-- 
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]