From: James Dickens <jamesd.wi@gmail.com>
To: systemtap@sources.redhat.com
Subject: bugs
Date: Wed, 14 Sep 2005 22:19:00 -0000 [thread overview]
Message-ID: <cd09bdd10509140817119d56@mail.gmail.com> (raw)
the following script makes stap segfault, it should exit cleanly on
errors (yesterdays cvs)
probe kernel.function("sys_*") {
if(pid() = $target) log("here");
log(syscall_name() .
"arg0 =" . string(arg0() ) . " " .
"arg1 =" . string(arg1() ) . " " .
"arg2 =" . string(arg2() ) );
}
output:
semantic error: unable to find local 'target' near pc 0xc011cc71:
identifier '$target' at st4.stp:4:14
querying prologue-end of function 'sys_sched_setaffinity'
semantic error: unable to find local 'target' near pc 0xc011ce23:
identifier '$target' at st4.stp:4:14
querying prologue-end of function 'sys_sched_getaffinity'
semantic error: unable to find local 'target' near pc 0xc011ce94:
identifier '$target' at st4.stp:4:14
querying prologue-end of function 'sys_sched_yield'
finding location for local 'target' near address c011cee5, module bias 0
Segmentation fault
todays cvs is broken
[root@localhost src]# make
make all-am
make[1]: Entering directory `/home/jamesd/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.
-DPKGLIBDIR='"/usr/local/libexec/systemtap"'
-DPKGDATADIR='"/usr/local/share/systemtap"' -Werror -Wall -g -O2 -MT
stap-main.o -MD -MP -MF ".deps/stap-main.Tpo" -c -o stap-main.o `test
-f 'main.cxx' || echo './'`main.cxx; \
then mv -f ".deps/stap-main.Tpo" ".deps/stap-main.Po"; else rm -f
".deps/stap-main.Tpo"; exit 1; fi
/usr/include/unistd.h:330: error: expected initializer before __wuv
make[1]: *** [stap-main.o] Error 1
make[1]: Leaving directory `/home/jamesd/src'
make: *** [all] Error 2
[root@localhost src]#
fedora FC4
next reply other threads:[~2005-09-14 22:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-14 22:19 James Dickens [this message]
2005-09-15 0:47 ` bugs Frank Ch. Eigler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cd09bdd10509140817119d56@mail.gmail.com \
--to=jamesd.wi@gmail.com \
--cc=systemtap@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).