Trace Event Call Location
Trace events, each with a unique minor code, should be placed at the following
locations within a component or subsystem performing a service as a result
of an external API call:
- Pre-Invocation: At the beginning of any external
interface before performing any actions or changing any data. This is considered
pre-invocation of a service.
- Post-Invocation: Before returning from performing
any service through an external interface. This is considered post-invocation
of a service, and is significant since:
a.
Information may be returned to the caller which
is of interest for problem determination
b.
It causes a "service completion" event to
be added to the trace buffer which may be paired with the pre-invocation
trace event
3.