Add tracing framework.

Signed-off-by: John McCutchan <john@johnmccutchan.com>