testsuite/systemtap.context/symbols.stp
raw| 1 | #! stap |
| 2 | |
| 3 | probe begin { |
| 4 | # a spectrum of figures for 32-bit x86 |
| 5 | print_syms ("0x0 0x80000000 0xc0000000 0xe0000000 0xf0000000 0xffffffff") |
| 6 | # for x86_64 |
| 7 | print_syms ("0xffffffff00000000 0xffffffff80000000 0xffffffff80120000") |
| 8 | print_syms ("0xffffffff88000000 0xffffffffffffffff") |
| 9 | # ... for a total of 11 lines, which symbols.exp counts |
| 10 | exit () |
| 11 | } |