public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* kernel panic when kretprobe all system calls
@ 2005-09-24 18:05 lglyahoo-news
  2005-09-24 19:42 ` Frank Ch. Eigler
  0 siblings, 1 reply; 7+ messages in thread
From: lglyahoo-news @ 2005-09-24 18:05 UTC (permalink / raw)
  To: systemtap

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312, Size: 1083 bytes --]

Hi,
  I wrote a very simple stp file:

#! stap -p4

probe begin
{
      log("systemtap starting probe")
}

probe kernel.function("sys_*")
{
	log("enter")
}

probe kernel.function("sys_*").return
{
	log("leave")
}

probe end
{
	log("Now end log")
}

  After I ran this script, it will print out lots of
"enter" and "leave" as expected. But when I switched
to another console and tried to run any command(such
as ls), the kernel will panic.
  
  I am using RHEL 4 Update 2. kernel is 2.6.9-17.EL

  I tried to comment out the probe:
kernel.function("sys_*").return, it worked well, no
kernel panic again in spite of I was running some
commands in another console at the same time.

  But if I commented out the probe:
kernel.function("sys_*"), still kernel panic.

  So it seems that there is something wrong with
kretprobe.

  I will try the latest kernel(2.6.13-2) tomorrow to
see if kretprobe still has this error.



		
___________________________________________________________ 
ÑÅ»¢Ãâ·ÑGÓÊÏ䣭No.1µÄ·À¶¾·ÀÀ¬»ø³¬´óÓÊÏä 
http://cn.mail.yahoo.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-10  0:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-24 18:05 kernel panic when kretprobe all system calls lglyahoo-news
2005-09-24 19:42 ` Frank Ch. Eigler
2005-09-26 15:55   ` Hien Nguyen
2005-09-26 16:03     ` Frank Ch. Eigler
2005-09-26 16:28       ` Hien Nguyen
2005-11-08  2:31     ` Guang Lei Li
2005-11-10  0:37       ` Jim Keniston

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