Defining trace Events
The operating system is shipped with predefined trace hooks (events). You need only activate trace to capture the flow of events from the operating system.
You might want to define trace events in your code during development for tuning purposes. This provides insight into how the program is interacting with the system. The following sections provide the information that is required to do this.