testsuite/buildok/scheduler-cpu_on.stp
raw| 1 | #! stap -p4 |
| 2 | |
| 3 | # This test fails on some kernels because we can't find the arguments to |
| 4 | # this inline function (PR 1155). |
| 5 | |
| 6 | probe scheduler.cpu_on ? |
| 7 | { |
| 8 | printf("%s: %p %d\n", name, task_prev, idle) |
| 9 | } |
| 10 | |
| 11 | # Make sure this file compiles on kernels where scheduler.cpu_on |
| 12 | # doesn't exist. |
| 13 | probe begin |
| 14 | { |
| 15 | printf("begin\n") |
| 16 | } |