Bug 17182 - sdt_misc V3_uprobe --types failure
Summary: sdt_misc V3_uprobe --types failure
Status: RESOLVED FIXED
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Stan Cox
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-18 22:18 UTC by Josh Stone
Modified: 2014-07-30 20:31 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Stone 2014-07-18 22:18:34 UTC
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.
Comment 1 Stan Cox 2014-07-30 20:31:05 UTC
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