When trying to access "$arg1->a", sdt_misc errors: semantic error: type definition 'test_probe_4_arg1' not found in '[...]/testsuite/sdt_misc_V3_uprobe_types.x': identifier '$arg1' at <input>:1:161 The test executable debuginfo indeed doesn't have any such type. It seems that "dtrace --types" was supposed to add a typedef, but since commit d3adcb4a23c3d that option is noted obsolete and ignored.
The original dtrace allowed types in a .d file and it would, I presume, create CTF debugging info for these. The original stap dtrace weakly tried to carry these through to the .h file when a special not in original dtrace --types option was given. However, stap ignores it, sdt.h doesn't use that info, and it would have complicated pyparsing, so it seemed a safe bet to not carry it forward. commit: 8e3d1be6cf5