☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.base
/
utf_user_trunc.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/utf_user_trunc.stp
code
plain
raw
1
probe process.function("main")
2
{
3
for (i = 0; s = $utf16_strings[i]; ++i)
4
println("utf-16:", user_string_utf16(s))
5
6
for (i = 0; s = $utf32_strings[i]; ++i)
7
println("utf-32:", user_string_utf32(s))
8
9
exit()
10
}
11