docs: def read_lsm_eventlist(fh):
      """Read LSM events from file and return as list of (time, type, text)."""
      count = struct.unpack('<II', fh.read(8))[1]
      events = []
      while count > 0:
          esize, etime, etype = struct.unpack('<IdI', fh.read(16))
          etext = bytes2str(stripnull(fh.read(esize - 16)))
          events.append((etime, etype, etext))
          count -= 1
      return events