Basic Software Tracing

This section includes the following topics:

What is the performance cost of tracing when no one is listening?

Can I optimize the conditional checks that the WPP macros produce before the tracing?

Can I tell if my trace provider is enabled for tracing?

How are flag values assigned?

Where do I put the #include statement for the trace message header file?

What is the text that precedes each trace message?

How do I include the source line number in the trace message prefix?

Send comments about this topic to Microsoft