☰
Debian Codegraph
@
5.5-1
5.4-1
/
/
doc
/
SystemTap_Beginners_Guide
/
testsuite
/
systemtap.base
/
process-begin-user_1.stp
☽
☼
doc/SystemTap_Beginners_Guide/testsuite/systemtap.base/process-begin-user_1.stp
code
plain
raw
1
probe process("$^PWD/a.out").begin {
2
printf("rip: 0x%x\n", register("rip"));
3
if (register("rip") != uaddr()) {
4
printf("different uaddr: 0x%x\n", uaddr())
5
} else {
6
printf("same uaddr\n");
7
}
8
}