testsuite/buildok/indent.stp
raw| 1 | #! stap -p4 |
| 2 | |
| 3 | probe begin { |
| 4 | print (thread_indent (1)) print ("yo\n") |
| 5 | print (thread_indent (-1)) print ("ta\n") |
| 6 | print (indent (1)) print ("yo\n") |
| 7 | print (indent (-1)) print ("ta\n") |
| 8 | print (thread_indent_depth (1)) print ("yo\n") |
| 9 | print (thread_indent_depth (-1)) print ("ta\n") |
| 10 | print (indent_depth (1)) print ("yo\n") |
| 11 | print (indent_depth (-1)) print ("ta\n") |
| 12 | exit () |
| 13 | } |
| 14 |