Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.bpf/bpf_tests/reg_alloc1.stp

raw
1 // tests whether the tanslator can handle a large number of temporary registers
2 probe begin {
3 printf("BEGIN\n")
4 x = 0
5 x = (x = (x = (x = (x = (x = (x = ++x + ++x) + ++x ) + ++x) + ++x) + ++x) + ++x) + ++x
6 }
7
8 probe kernel.function("vfs_read") {
9 x = 0
10 x = (x = (x = (x = (x = (x = (x = ++x + ++x) + ++x ) + ++x) + ++x) + ++x) + ++x) + ++x
11 exit()
12 }
13
14 probe end {
15 x = 0
16 x = (x = (x = (x = (x = (x = (x = ++x + ++x) + ++x ) + ++x) + ++x) + ++x) + ++x) + ++x
17 printf("END PASS\n")
18 }