testsuite/buildok/networking-change_rx_flag.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 netdev.change_rx_flag ? |
| 7 | { |
| 8 | printf("%s, %d\n", dev_name, flags) |
| 9 | } |
| 10 | |
| 11 | # Make sure this file compiles on kernels where netdev.change_rx_flag |
| 12 | # doesn't exist. |
| 13 | probe begin |
| 14 | { |
| 15 | printf("begin\n") |
| 16 | } |