Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions

  




 

 

Table of Contents

  1. Document Information

  2. Preface

  3. Who Should Use This Book

  4. How This Book Is Organized

  5. Related Information

  6. Documentation, Support, and Training

  7. Sun Welcomes Your Comments

  8. Typographic Conventions

  9. Shell Prompts in Command Examples

  10. Introduction

  11. Getting Started

  12. Providers and Probes

  13. Compilation and Instrumentation

  14. Variables and Arithmetic Expressions

  15. Predicates

  16. Output Formatting

  17. Arrays

  18. External Symbols and Types

  19. Types, Operators, and Expressions

  20. Identifier Names and Keywords

  21. Data Types and Sizes

  22. Constants

  23. Arithmetic Operators

  24. Relational Operators

  25. Logical Operators

  26. Bitwise Operators

  27. Assignment Operators

  28. Increment and Decrement Operators

  29. Conditional Expressions

  30. Type Conversions

  31. Precedence

  32. Variables

  33. Scalar Variables

  34. Associative Arrays

  35. Thread-Local Variables

  36. Clause-Local Variables

  37. Built-in Variables

  38. External Variables

  39. D Program Structure

  40. Probe Clauses and Declarations

  41. Probe Descriptions

  42. Predicates

  43. Actions

  44. Use of the C Preprocessor

  45. Pointers and Arrays

  46. Pointers and Addresses

  47. Pointer Safety

  48. Array Declarations and Storage

  49. Pointer and Array Relationship

  50. Pointer Arithmetic

  51. Generic Pointers

  52. Multi-Dimensional Arrays

  53. Pointers to DTrace Objects

  54. Pointers and Address Spaces

  55. Strings

  56. String Representation

  57. String Constants

  58. String Assignment

  59. String Conversion

  60. String Comparison

  61. Structs and Unions

  62. Structs

  63. Pointers to Structs

  64. Unions

  65. Member Sizes and Offsets

  66. Bit-Fields

  67. Type and Constant Definitions

  68. Typedef

  69. Enumerations

  70. Inlines

  71. Type Namespaces

  72. Aggregations

  73. Aggregating Functions

  74. Aggregations

  75. Printing Aggregations

  76. Data Normalization

  77. Clearing Aggregations

  78. Truncating aggregations

  79. Minimizing Drops

  80. Actions and Subroutines

  81. Actions

  82. Default Action

  83. Data Recording Actions

  84. Destructive Actions

  85. Special Actions

  86. Subroutines

  87. Buffers and Buffering

  88. Principal Buffers

  89. Principal Buffer Policies

  90. Other Buffers

  91. Buffer Sizes

  92. Buffer Resizing Policy

  93. Output Formatting

  94. printf()

  95. printa()

  96. trace() Default Format

  97. Speculative Tracing

  98. Speculation Interfaces

  99. Creating a Speculation

  100. Using a Speculation

  101. Committing a Speculation

  102. Discarding a Speculation

  103. Speculation Example

  104. Speculation Options and Tuning

  105. dtrace(1M) Utility

  106. Description

  107. Options

  108. Operands

  109. Exit Status

  110. Scripting

  111. Interpreter Files

  112. Macro Variables

  113. Macro Arguments

  114. Target Process ID

  115. Options and Tunables

  116. Consumer Options

  117. Modifying Options

  118. dtrace Provider

  119. BEGIN Probe

  120. The END Probe

  121. ERROR Probe

  122. Stability

  123. lockstat Provider

  124. Overview

  125. Adaptive Lock Probes

  126. Spin Lock Probes

  127. Thread Locks

  128. Readers/Writer Lock Probes

  129. Stability

  130. profile Provider

  131. profile-n probes

  132. tick-n probes

  133. Arguments

  134. Timer Resolution

  135. Probe Creation

  136. Stability

  137. fbt Provider

  138. Probes

  139. Probe arguments

  140. Examples

  141. Tail-call Optimization

  142. Assembly Functions

  143. Instruction Set Limitations

  144. Breakpoint Interaction

  145. Module Loading

  146. Stability

  147. syscall Provider

  148. Probes

  149. Arguments

  150. Stability

  151. sdt Provider

  152. Probes

  153. Examples

  154. Creating SDT Probes

  155. Stability

  156. sysinfo Provider

  157. Probes

  158. Arguments

  159. Example

  160. Stability

  161. vminfo Provider

  162. Probes

  163. Arguments

  164. Example

  165. Stability

  166. proc Provider

  167. Probes

  168. Arguments

  169. Examples

  170. Stability

  171. sched Provider

  172. Probes

  173. Arguments

  174. Examples

  175. Stability

  176. io Provider

  177. Probes

  178. Arguments

  179. Examples

  180. Stability

  181. mib Provider

  182. Probes

  183. Arguments

  184. Stability

  185. fpuinfo Provider

  186. Probes

  187. Arguments

  188. Stability

  189. pid Provider

  190. Naming pid Probes

  191. Function Boundary Probes

  192. Function Offset Probes

  193. Stability

  194. plockstat Provider

  195. Overview

  196. Mutex Probes

  197. Reader/Writer Lock Probes

  198. Stability

  199. fasttrap Provider

  200. Probes

  201. Stability

  202. User Process Tracing

  203. copyin() and copyinstr() Subroutines

  204. Eliminating dtrace(1M) Interference

  205. syscall Provider

  206. ustack() Action

  207. uregs[] Array

  208. pid Provider

  209. Statically Defined Tracing for User Applications

  210. Choosing the Probe Points

  211. Adding Probes to an Application

  212. Security

  213. Privileges

  214. Privileged Use of DTrace

  215. dtrace_proc Privilege

  216. dtrace_user Privilege

  217. dtrace_kernel Privilege

  218. Super User Privileges

  219. Anonymous Tracing

  220. Anonymous Enablings

  221. Claiming Anonymous State

  222. Anonymous Tracing Examples

  223. Postmortem Tracing

  224. Displaying DTrace Consumers

  225. Displaying Trace Data

  226. Performance Considerations

  227. Limit Enabled Probes

  228. Use Aggregations

  229. Use Cacheable Predicates

  230. Stability

  231. Stability Levels

  232. Dependency Classes

  233. Interface Attributes

  234. Stability Computations and Reports

  235. Stability Enforcement

  236. Translators

  237. Translator Declarations

  238. Translate Operator

  239. Process Model Translators

  240. Stable Translations

  241. Versioning

  242. Versions and Releases

  243. Versioning Options

  244. Provider Versioning

  245. Glossary

  246. Index

  247. Index

  248. Index

  249. Index

  250. Index


 
 
  Published under the terms fo the Public Documentation License Version 1.01. Design by Interspire