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]

[Bug runtime/6772] probing all functions of kernel/sched.c causes system crash on 2.6.27-rc1


------- 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.


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