This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Issue related to stap scripts used for system call tracing
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: "ramya rao" <ba dot ramya at gmail dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Tue, 09 Oct 2007 15:40:57 -0400
- Subject: Re: Issue related to stap scripts used for system call tracing
- References: <45c99a680710090249k69d5c7a4w855d879e9b06456d@mail.gmail.com>
"ramya rao" <ba.ramya@gmail.com> writes:
> [...] we observed that system is crashing when we are executing
> scripts related to system calls.
That's not good.
> Given below is a script that traces "sys_open" system call.
> [...]
This looks fine.
> Also when we tried to trace do_fork system call, we observed that the
> system crashed.
My guess is that your debugging information had a mismatch with the
actual running kernel, and we failed to detect this. Please check
the pc= numbers in
% stap -vv -p2 'probe syscall.read {}' 2>&1 | grep probe
against those in /proc/kallsyms.
- FChE