JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris 11.1 Dynamic Tracing Guide     Oracle Solaris 11.1 Information Library
search filter icon
search icon

Document Information

Preface

1.  About DTrace

2.  D Programming Language

3.  Aggregations

4.  Actions and Subroutines

5.  Buffers and Buffering

6.  Output Formatting

printf

Conversion Specifications

Flag Specifiers

Width and Precision Specifiers

Size Prefixes

Conversion Formats

printa

trace Default Format

7.  Speculative Tracing

8.  dtrace(1M) Utility

9.  Scripting

10.  Options and Tunables

11.  Providers

12.  User Process Tracing

13.  Statically Defined Tracing for User Applications

14.  Security

15.  Anonymous Tracing

16.  Postmortem Tracing

17.  Performance Considerations

18.  Stability

19.  Translators

20.  Versioning

Index

Chapter 6

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.