systemtap/tests/Sanity/byteman-java-methods-probing/ThreadedExample.stp

19 lines
370 B
Plaintext
Raw Normal View History

probe java("foo.bar.ThreadedExample").class("ThreadedExample").method("printMessage(int)")
{
printf("Hit printMessage(int): %s\n", arg1)
}
probe java("foo.bar.ThreadedExample").class("ThreadedExample").method("printMessage(long)")
{
printf("Hit printMessage(long): %s\n", arg1)
exit()
}
probe timer.ms(100000)
{
error("Exit on timeout")
exit()
}