Allow customizations and options for traces
authorFred Hebert <mononcqc@ferd.ca>
Fri, 28 Feb 2014 05:23:34 +0000 (05:23 +0000)
committerFred Hebert <mononcqc@ferd.ca>
Fri, 28 Feb 2014 05:23:34 +0000 (05:23 +0000)
commit86907a79ae6d412438366b8b4ade2085acea9a78
treef1d7a288913539bfaf2da863d24acd4de9446c81
parentf0c77ae0347e943165d7210567465e91d02ce70f
Allow customizations and options for traces

Options are restricted to calls, and reworded to fit recon's pattern
from basic traces.

The options include:
- pid choice (all, existing, new, Pid)
- timestamp source (in the traces, or added by the formatter)
- args representation (arity or literal args)
- tracing pattern scope (fully qualified calls or local ones also)

Default values will have to be decided.

This patch also includes:
- basic type specs
- fixes to enable arity tracing
src/recon_trace.erl