Faculty of Information Technology
Software Engineering Group

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 Jan Vrany)

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)

librun-dtrace.patch (12.0 KB) - added by Jan Vrany 6 years ago.

Download all attachments as: .zip

Change History (2)

Changed 6 years ago by Jan Vrany

Attachment: librun-dtrace.patch added

comment:1 Changed 6 years ago by Jan Vrany

Component: defaultbuild scripts
Description: modified (diff)
Milestone: 8.1.0
Note: See TracTickets for help on using tickets.