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

Document Information

Preface

1.  Introduction

2.  Types, Operators, and Expressions

3.  Variables

4.  D Program Structure

5.  Pointers and Arrays

6.  Strings

7.  Structs and Unions

8.  Type and Constant Definitions

9.  Aggregations

10.  Actions and Subroutines

11.  Buffers and Buffering

12.  Output Formatting

13.  Speculative Tracing

14.  dtrace(1M) Utility

15.  Scripting

16.  Options and Tunables

17.  dtrace Provider

18.  lockstat Provider

19.  profile Provider

20.  fbt Provider

21.  syscall Provider

22.  sdt Provider

23.  sysinfo Provider

24.  vminfo Provider

25.  proc Provider

26.  sched Provider

27.  io Provider

28.  mib Provider

29.  fpuinfo Provider

30.  pid Provider

31.  plockstat Provider

32.  fasttrap Provider

33.  User Process Tracing

34.  Statically Defined Tracing for User Applications

35.  Security

36.  Anonymous Tracing

37.  Postmortem Tracing

38.  Performance Considerations

39.  Stability

40.  Translators

41.  Versioning

Glossary

Index

Numbers and Symbols

A

B

C

D

E

F

H

I

K

L

M

O

P

Q

R

S

T

U

V

W

P

performance, Limit Enabled Probes
cacheable predicates, Use Cacheable Predicates
pid, Built-in Variables
pid probes
and function boundaries, Function Boundary Probes
example of use, Naming pid Probes
pid provider
pid Provider
Tracing Arbitrary Instructions
pidprobes, Naming pid Probes
plockstat, Overview
pointers, Pointers and Addresses
and arrays, Pointer and Array Relationship
and explicit casts, Generic Pointers
and struct, Pointers to Structs
and type conversion, Generic Pointers
arithmetic operations on, Pointer Arithmetic
declaring, Pointers and Addresses
safe use of, Pointer Safety
to DTrace objects, Pointers to DTrace Objects
pragmas, Probe Clauses and Declarations
predicates, Predicates
principal buffer
policies, Principal Buffer Policies
fill, fill Policy
ring, ring Policy
switch, switch Policy
printa, printa()
printf, printf()
conversion flags, Flag Specifiers
conversion formats, Conversion Formats
conversion specifications, Conversion Specifications
size prefixes, Size Prefixes
width and precision specifiers, Width and Precision Specifiers
private stability value, Stability Levels
privileges, Privileges
and DTrace, Privileged Use of DTrace
dtrace_kernel, dtrace_kernel Privilege
dtrace_proc, dtrace_proc Privilege
dtrace_user, dtrace_user Privilege
superuser, Super User Privileges
probe actions, Actions
probe clause, lifetime and clause-local variables, Clause-Local Variables
probe clauses, Probe Clauses and Declarations
probe descriptions, Probe Descriptions
recommended syntax, Probe Descriptions
special characters in, Probe Descriptions
probe points, Choosing the Probe Points
probefunc, Built-in Variables
probemod, Built-in Variables
probename, Built-in Variables
probeprov, Built-in Variables
probes
adaptive lock, Adaptive Lock Probes
BEGIN, BEGIN Probe
contention-event
Overview
Overview
done, Probes
END, The END Probe
entry
Probes
entry Probes
ERROR, ERROR Probe
error-event, Overview
exec, exec
exit, start and exit
fasttrap, Probes
FBT, Probes
and tail-call optimization, Tail-call Optimization
breakpoints, Breakpoint Interaction
example of use, Examples
module loading, Module Loading
stability, Stability
uninstrumentable functions, Instruction Set Limitations
unsporting functions, Assembly Functions
for lockstat, Overview
fpuinfo, Probes
function boundary, Function Boundary Probes
function offset, Function Offset Probes
hold-event
Overview
Overview
io, Probes
arguments, Arguments
bufinfo_t structure, bufinfo_t structure
devinfo_t structure, devinfo_t
example of use, Examples
fileinfo_t structure, fileinfo_t
stability, Stability
limiting, Limit Enabled Probes
lwp-exit, lwp-start and lwp-exit
lwp-start, lwp-start and lwp-exit
mib, Probes
mutex, Mutex Probes
pid
Naming pid Probes
Stability
plockstat
stability, Stability
proc, Probes
profile, profile-n probes
reader/writer, Readers/Writer Lock Probes
reader/writer locks, Reader/Writer Lock Probes
return
Probes
return Probes
sched, Probes
sdt, Probes
arguments, Probe Arguments
creating, Creating SDT Probes
example of use, Examples
stability, Stability
signal-send, signal-send
spin lock, Spin Lock Probes
start
start and exit
Probes
syscall(), syscall Provider
syscall, Probes
thread lock, Thread Locks
tick, tick-n probes
vminfo, Probes
arguments, Arguments
example of use, Example
wait-done, Probes
wait-start, Probes
proc probe, Probes
arguments, Arguments
stability, Stability
profile probes, profile-n probes
arguments, Arguments
creation, Probe Creation
stability, Stability
timer resolution, Timer Resolution
provider versioning, Provider Versioning
psinfo_t, psinfo_t