Debian Codegraph @

testsuite/semok/autocast07.stp

raw
1 #! stap -p2
2
3 probe begin
4 {
5 // Test that autocast can pretty-print. (note especially that this will
6 // add a kernel_string function reference that must be resolved.)
7 sun = & @cast(0, "sockaddr_un", "<sys/un.h>");
8 println(sun->sun_path$)
9 }