[DTrace-devel] Issue with pid provider test

Kris Van Hees kris.van.hees at oracle.com
Fri Aug 2 04:53:02 UTC 2024


So, due to the complexity of dealing with different gcc versions and the
limitations of uprobes, the test/unittest/pid/tst.emptystack.d fails on
Debian unstable because the kernel is unable to place a uprobe on one of
the instructions.

The test fails because the stderr output reports:

dtrace: Failed to enable uprobe:ca21_17c733:main:1062

Disassembly of section .text:

0000000000001050 <main>:
    1050:       66 0f ef d2             pxor   %xmm2,%xmm2
    1054:       48 83 ec 18             sub    $0x18,%rsp
    1058:       f2 0f 2a d7             cvtsi2sd %edi,%xmm2
    105c:       f2 0f 11 54 24 08       movsd  %xmm2,0x8(%rsp)
==> 1062:       66 66 2e 0f 1f 84 00    data16 cs nopw 0x0(%rax,%rax,1)
    1069:       00 00 00 00 
    106d:       0f 1f 00                nopl   (%rax)

I am not sure how to best handle this discrepancy.



More information about the DTrace-devel mailing list