Debian Codegraph @

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

raw
1 global res
2 probe begin {
3 printf("BEGIN\n")
4 x = 1
5 res = !(x > x) && (x >= x) && !(x < x) && (x <= x)
6 && !(1 > 1) && (1 >= 1) && !(1 < 1) && (1 <= 1)
7 }
8
9 probe kernel.function("vfs_read") {
10 x = 1
11 res = !(x > x) && (x >= x) && !(x < x) && (x <= x)
12 && !(1 > 1) && (1 >= 1) && !(1 < 1) && (1 <= 1)
13 exit()
14 }
15
16 probe end {
17 x = 1
18 if (res && !(x > x) && (x >= x) && !(x < x) && (x <= x)
19 && !(1 > 1) && (1 >= 1) && !(1 < 1) && (1 <= 1))
20 printf("END PASS\n")
21 else
22 printf("END FAIL\n")
23 }