uprobe test scripts
Wenji Huang
wenji.huang@oracle.com
Thu Jul 19 12:57:00 GMT 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uprobetest_cont.tar
Type: application/x-tar
Size: 133120 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070719/eaee59a8/attachment.tar>
More information about the Systemtap
mailing list