Opened 6 years ago
Last modified 6 years ago
#180 new todo
Add support for DTrace
Reported by: | Jan Vrany | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 8.1.0 |
Component: | build scripts | Keywords: | |
Cc: | Also affects CVS HEAD (eXept version): | no |
Description (last modified by )
Smalltalk/X has very basic support for SystemTap for some time but we can do better.
We should use probe definition file (.d
). This would have several advantages:
- it would make it compatible with *BSD & macOS DTrace
- it would allow to use
..._ENABLED()
macros when appropriate. - probe definition file makes a good place to document which probes are available and what's the meaning of the parameters (if any)
The downside of this is that we'd have to provide our own "fake" implementation of dtrace
command to generate empty macros on platforms
with no DTrace support. Ideally this fake implementation should be implemented in Ruby as Ruby is needed to build Smalltalk/X anyway.
Attachments (1)
Change History (2)
Changed 6 years ago by
Attachment: | librun-dtrace.patch added |
---|
comment:1 Changed 6 years ago by
Component: | default → build scripts |
---|---|
Description: | modified (diff) |
Milestone: | → 8.1.0 |
Note: See
TracTickets for help on using
tickets.