This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
about systemtap test!
- From: "Kevin Jia" <jiaminghao at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Sat, 25 Mar 2006 10:29:08 +0900
- Subject: about systemtap test!
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FjQU9xkHFBEPck7o6XJqAZSB0VsWyWncguI138MOm49zACfVM7XyH7NWUwA7WKOUtWHlPexk0A2McQX+hYSYPfEPw7sSc9da5ySCKyUBDXxZCGQAxwsu4MetOysK1vxBZBoFqFMAVr4HSOl3/SloqN7CKRRhFVdxiX8F+eX3Ftw=
Two problems:
1. I use the follow program for testing:
probe kernel.function("sys_open")
{
printf("%s(%d)open(%s)\n", execname(), pid(), argstr)
}
probe timer.ms(4000)
{
exit()
}
the result looks like this:
udev(10266) open()
udev(10266) open()
udev(10266) open()
nifd(1383) open()
...
So why have not anything include the open's parenttheses? And what
meaning of the "argstr"?
2. how use systemtap probes the watchpoint? Can you give me some examples?
thanks.