Solaris Dynamic Tracing Guide
Previous Next
Chapter 12

Output Formatting

DTrace provides built-in formatting functions printf() and printa() that you can use from your D programs to format output. The D compiler provides features not found in the printf(3C) library routine, so you should read this chapter even if you are already familiar with printf(). This chapter also discusses the formatting behavior of the trace() function and the default output format used by dtrace(1M) to display aggregations.

Previous Next