Slide 27
Slide 27 text
όΠφϦΛ֬ೝͯ͠ΈΔ
$ readelf -n /usr/bin/php
...
Displaying notes found in: .note.stapsdt
Owner Data size Description
stapsdt 0x00000042 NT_STAPSDT (SystemTap probe descriptors)
Provider: php
Name: request__startup
Location: 0x000000000027b1bf, Base: 0x0000000000440aa0, Semaphore: 0x00000000005487a8
Arguments: 8@%rax 8@%rdx 8@%rcx
stapsdt 0x00000043 NT_STAPSDT (SystemTap probe descriptors)
Provider: php
Name: request__shutdown
Location: 0x000000000027b7b1, Base: 0x0000000000440aa0, Semaphore: 0x00000000005487a6
Arguments: 8@%rax 8@%rdx 8@%rcx
stapsdt 0x0000003f NT_STAPSDT (SystemTap probe descriptors)
Provider: php
Name: compile__file__entry
Location: 0x00000000002d01bf, Base: 0x0000000000440aa0, Semaphore: 0x00000000005487a4
Arguments: 8@%rax 8@%rdx
stapsdt 0x00000040 NT_STAPSDT (SystemTap probe descriptors)
Provider: php
Name: compile__file__return
Location: 0x00000000002d01dc, Base: 0x0000000000440aa0, Semaphore: 0x00000000005487a2
Arguments: 8@%rdx 8@%rcx
...
$ readelf -n /usr/bin/python3
...
Displaying notes found in: .note.stapsdt
Owner Data size Description
stapsdt 0x00000033 NT_STAPSDT (SystemTap probe descriptors)
Provider: python
Name: audit
Location: 0x0000000000074b61, Base: 0x00000000004eb5f0, Semaphore: 0x00000000005a9d96
Arguments: 8@%rbp 8@%r13
stapsdt 0x00000035 NT_STAPSDT (SystemTap probe descriptors)
Provider: python
Name: gc__start
Location: 0x000000000007815a, Base: 0x00000000004eb5f0, Semaphore: 0x00000000005a9d8e
Arguments: -4@36(%rsp)
stapsdt 0x00000030 NT_STAPSDT (SystemTap probe descriptors)
Provider: python
Name: gc__done
Location: 0x00000000000781fc, Base: 0x00000000004eb5f0, Semaphore: 0x00000000005a9d90
Arguments: -8@%r12
stapsdt 0x00000045 NT_STAPSDT (SystemTap probe descriptors)
Provider: python
Name: function__entry
Location: 0x000000000007ea33, Base: 0x00000000004eb5f0, Semaphore: 0x00000000005a9d80
Arguments: 8@%r14 8@%r15 -4@%eax
...