blob: 1d3aefc0ed82b831d5afdf666b56f3c2be028e4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#! /bin/env stap
probe process("./bz5274").function("funcb").call,
process("./bz5274").function("funcc").call,
process("./bz5274").function("funcd").call
{
printf("%s Entering %s\n", pp(), thread_indent(1))
}
probe process("./bz5274").function("funcb").return,
process("./bz5274").function("funcc").return,
process("./bz5274").function("funcd").return
{
printf("%s %s returns %s\n", pp(), thread_indent(-1), returnstr(2))
}
|