def SaveTraceFile(filename, description):
    return idaapi.save_trace_file(filename, description)
Save current trace to a binary trace file
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/SaveTraceFile