Allow tracing of memory calls

This option permits memory calls such as malloc and free to be traced. To trace data for these calls, a trace mask which allows tracing of the pattern "HEAP" for the desired types must also be specified.