This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/6772] probing all functions of kernel/sched.c causes system crash on 2.6.27-rc1
- From: "srinivasa at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 4 Aug 2008 08:27:16 -0000
- Subject: [Bug runtime/6772] probing all functions of kernel/sched.c causes system crash on 2.6.27-rc1
- References: <20080729131853.6772.srinivasa@in.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From srinivasa at in dot ibm dot com 2008-08-04 08:27 -------
Thanks Srikar and Jim,
I think problem is in "printf", Because
./stap -vvvv -e 'probe kernel.function("*@kernel/sched.c").call {
printf("hello\n")}' fails to work but same script without printf works well.
Below script works well.
=========
global i;
probe kernel.function("*@kernel/sched.c").call
{
i++
}
probe end {
printf("hi == i=%d\n",i);
}
============
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6772
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.