This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
uprobe test scripts
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: systemtap at sourceware dot org
- Date: Thu, 19 Jul 2007 17:09:40 +0800
- Subject: uprobe test scripts
Hi,
Based on srikar's framework, I made some tests on uprobes.
Detailed contents(according to
http://sourceware.org/systemtap/wiki/UprobesTestScenarios):
***"Register/unregister the same probepoint multiple times with each
probe using a different handler."
---probemul+probeme4
***"Register/unregister a/multiple probe(s) on a function(s) to be
called by several threads of a multithreaded process but after the
threads are created. "
---probemul+probe7-thread
***"Register/unregister one or more probe points on functions
defined in shared libraries called by several threads of a multithreaded
process."
---probemul+probe8-thread
***"Test module probes multiple processes. Probes are [un]registered
by the module init function and/or handlers."
---probemulproc+probemp
***"Register once and trying to unregister multiple times."
---probeunregister+probeme4
***"Registering / unregistering a invalid probe point."
---probeinvalid+probeme4
***"Registering an already existing probe should return an error."
(Updated uprobe with jim's patch)
---probesame+probeme4
The above 7 scenarios passed in the machine(2.6.21, i686). Please
kindly review it.
Any questions or comments are welcome!
Fresh in uprobe/utrace ^-^
Best regards,
Wenji
Attachment:
uprobetest_cont.tar
Description: Unix tar archive