19 lines
370 B
Plaintext
19 lines
370 B
Plaintext
|
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()
|
||
|
}
|
||
|
|
||
|
|