107122a4e8
- Separate the "stap-prep" phase out to a separate phase - Add tests/Sanity/byteman-java-methods-probing - Add tests/Sanity/kernel-modules - Add tests/Sanity/userspace-probes - Add tests/Sanity/stap-server-basic-sanity - Add tests/Regression/small-tests
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()
|
|
}
|
|
|
|
|