BSDCan2017 - 0722d
BSDCan 2017
The Technical BSD Conference
Speakers | |
---|---|
George Neville-Neil |
Schedule | |
---|---|
Day | Tutorials #2 - 8 June - 2017-06-08 |
Room | DMS 1110 |
Start time | 13:00 |
Duration | 03:00 |
Info | |
ID | 910 |
Event type | Workshop |
Track | Tutorial |
Language used for presentation | English |
DTrace for Developers: no more printfs
part 2 of 2 (all day)
One of the largest challenges to building complex software is a lack of run time visibility into what the system is doing at any particular time. Typical approaches to adding tracing and logging emphasize sprinkling calls to printf() or similar statements throughout the source code, and enabling these in debug builds. DTrace is a modern system that gives software developers the ability to add, low overhead tracing that is always available, coupled with an advanced scripting language, to programs that they are creating, modifying and debugging.
In this tutorial we will cover the basics of DTrace, including basic and advanced uses, and then, using a set of worked examples, add tracing to user space and kernel space systems. The tutorial includes a set of short labs, carried out on virtual machines, that give the students hands on experience working with DTrace.
Students are expected to have a laptop computer which can run Virtual Machine software such as VMWare (preferred), Virtual Box or QEMU.
One of the largest challenges to building complex software is a lack of run time visibility into what the system is doing at any particular time. Typical approaches to adding tracing and logging emphasize sprinkling calls to printf() or similar statements throughout the source code, and enabling these in debug builds. DTrace is a modern system that gives software developers the ability to add, low overhead tracing that is always available, coupled with an advanced scripting language, to programs that they are creating, modifying and debugging.
In this tutorial we will cover the basics of DTrace, including basic and advanced uses, and then, using a set of worked examples, add tracing to user space and kernel space systems. The tutorial includes a set of short labs, carried out on virtual machines, that give the students hands on experience working with DTrace.
Students are expected to have a laptop computer which can run Virtual Machine software such as VMWare (preferred), Virtual Box or QEMU.