Debian Codegraph @

testsuite/buildok/ucontext-symbols-embedded.stp

raw
1 #! stap -p4
2
3 probe begin {
4 log(usymname(0))
5 log(usymdata(0))
6 log(usymfileline(0))
7 log(usymfile(0))
8 log(usymline(0))
9
10 # This is really nonsense. In real use you'd do something
11 # like:
12 # print_usyms(ubacktrace())
13 #
14 # On platforms without uprobes, this will fail. But,
15 # buildok.exp will kfail this test.
16 print_usyms("")
17 log(sprint_usyms(""))
18 }