October 2013
Intermediate to advanced
784 pages
21h 7m
English
This appendix is a brief guide to converting DTrace one-liners and scripts to SystemTap. Both DTrace and SystemTap were introduced in Chapter 4, Observability Tools, which you should study as background.
Selected differences in functionality, terminology, probes, built-in variables, and functions are listed here. Several one-liners are then converted as examples.
For an additional reference, see “Translating Exiting [sic] DTrace Scripts into SystemTap Scripts” on the SystemTap wiki [1]. This wiki page also shows conversions of one-liners (some of my own) as examples.
SystemTap has very similar functionality to DTrace (by design). Here are some key differences you’ll encounter when porting scripts: ...
Read now
Unlock full access