summaryrefslogtreecommitdiffstats
path: root/testsuite/semok/twentyfour.stp
blob: 91dee48f9934ce5f13209102196a73b7a1fec31a (plain)
1
2
3
4
5
6
7
8
#! stap -p2

# read access to target variables should work in .return probes

probe kernel.function("sys_read").return
{
    printf("fd is %d\n", $fd)
}