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]

Re: Issue related to stap scripts used for system call tracing


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]