Serviceability APIs list: Writing trace data

Use these APIs to write trace data to a detail trace file