Chapter 12 User Process Tracing

Table of Contents

12.1 copyin and copyinstr
12.1.1 Avoiding Errors
12.2 Eliminating dtrace Interference
12.3 syscall Provider
12.4 ustack Action
12.5 uregs[] Array

DTrace is a powerful tool for understanding the behavior of user processes. DTrace can be invaluable when debugging, analyzing performance problems, or simply understanding the behavior of a complex application. This chapter focuses on the DTrace facilities relevant for tracing user process activity and provides examples to illustrate their use.