def read_tracerinfo(filename, **kwargs): """ Read a 'tracerinfo.dat' file and Returns a dictionary. """ return read_fmt_file(filename, TRACERINFO_FMT, **kwargs)
def read_diaginfo(filename, **kwargs): """ Read a 'diaginfo.dat' file and Returns a dictionary. """ return read_fmt_file(filename, DIAGINFO_FMT, **kwargs)