Perf enhancements: don't build trace information if trace is not required.
Perf enhancements: don't build trace information if trace is not required.

ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop,ucbpi/itop