code: def read_structs(fstream):
      
      struct = read_struct(fstream)
      while struct is not None:
          yield struct
          struct = read_struct(fstream)
docs: Read all structs from likwid's file stream.
  
      Args:
          fstream: Likwid's output file stream.
  
      Returns:
          A generator that can be used to iterate over all structs in the
          fstream.