Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/global_var_kernel.stp

raw
1 # Test the correct kernel/time.c CU is selected.
2
3 function f()
4 {
5 printf("f: %s\n", @var("[email protected]")$$);
6 }
7
8 probe syscall.open, syscall.openat
9 {
10 log("systemtap starting probe");
11 log("systemtap ending probe");
12 printf("sys_tz = %s\n", @var("[email protected]")$$);
13 f()
14 exit();
15 }