summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/return02.stp
blob: 3d64f5dcd953a8b1046ee4a21e2e5cc6b902b634 (plain)
1
2
3
4
5
6
7
#! stap -p2

probe kernel.function("vfs_read")
{
    # this should fail - using $return not in a '.return' probe
    printf("in sys_read - return = %d\n", $return)
}