public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/28378] New: [Systemtap] runtime error: Kernel function symbol table missing [man warning::symbols]
@ 2021-09-23  9:29 nylon7717 at gmail dot com
  2021-09-23 12:31 ` [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes] mark at klomp dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: nylon7717 at gmail dot com @ 2021-09-23  9:29 UTC (permalink / raw)
  To: systemtap

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

            Bug ID: 28378
           Summary: [Systemtap] runtime error: Kernel function symbol
                    table missing [man warning::symbols]
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: nylon7717 at gmail dot com
  Target Milestone: ---

I use systemtap in Ubuntu-18.04


# git clone git://sourceware.org/git/systemtap.git 
# cd systemtap
# ./configure && make
# sudo make install
# sudo apt install linux-headers-$(uname -r)
# sudo apt install kernel-package
# sudo apt-get install linux-image-$(uname -r)-generic-dbgsym

## test
# sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'
Hello, World!
# stap -L 'process("/lib/x86_64-linux-gnu/libc.so.6").function("malloc")'
process("/lib/x86_64-linux-gnu/libc-2.27.so").function("__libc_malloc@/build/glibc-S9d2JN/glibc-2.27/malloc/malloc.c:3037")
$bytes:size_t

## run my stap script
# stap -p4 -r $(uname -r) tracer.stp -m tracer -v -g --suppress-time-limits
WARNING: Kernel function symbol table missing [man warning::symbols]
Pass 1: parsed user script and 481 library scripts using
129828virt/93224res/5884shr/87548data kb, in 190usr/20sys/212real ms.
semantic error: while resolving probe point: identifier 'process' at
tracer.stp:1194:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("getenv").return {
                      ^

semantic error: process return probes not available [man error::inode-uprobes]

semantic error: while resolving probe point: identifier 'process' at :1203:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("unsetenv").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1212:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("setenv").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1222:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("putenv").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1231:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("getaddrinfo").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1238:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("getnameinfo").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1245:7
        source: probe
process("/lib/x86_64-linux-gnu/libc.so.6").function("gethostbyname").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1251:7
        source: probe
process("/lib64/libc.so.6").function("__strstr_sse42").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1257:7
        source: probe
process("/lib64/libc.so.6").function("__strcasestr_sse42").return {
                      ^

semantic error: while resolving probe point: identifier 'process' at :1263:7
        source: probe
process("/usr/lib/x86_64-linux-gnu/libcurl.so").function("curl_easy_perform").return
{
                      ^

semantic error: while resolving probe point: identifier 'process' at :1293:7
        source: probe process("/bin/bash").function("*_builtin").return {
                      ^

Pass 2: analyzed script: 988 probes, 921 functions, 107 embeds, 45 globals
using 443952virt/408624res/7420shr/401672data kb, in 2750usr/360sys/3490real
ms.
Pass 2: analysis failed.  [man error::pass2]


I can't find out any useful information in internet

I also try the other systemtap example, but didn't encounter the same
situation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-24  8:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-23  9:29 [Bug runtime/28378] New: [Systemtap] runtime error: Kernel function symbol table missing [man warning::symbols] nylon7717 at gmail dot com
2021-09-23 12:31 ` [Bug runtime/28378] semantic error: process return probes not available [man error::inode-uprobes] mark at klomp dot org
2021-09-24  2:51 ` nylon7717 at gmail dot com
2021-09-24  5:50 ` nylon7717 at gmail dot com
2021-09-24  8:06 ` mark at klomp dot org
2021-09-24  8:25 ` nylon7717 at gmail dot com
2021-09-24  8:46 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).