On Fri, Jan 07, 2022 at 10:20:23AM +0100, Wolfgang Bumiller wrote: > 253:10 253:5 rbytes=0 wbytes=0 rios=0 wios=1 dbytes=0 dios=0 > ^~~~~~ ^~~~~ > > I'm not sure if a separate temporary buffer would make more sense or > switching back to seq_get_buf? > Figuring out `has_stats` first doesn't seem to be trivial due to the > `pd_stat_fn` calls. > > Or of course, just include the newlines unconditionally? > > Unless seq_file has/gets another way to roll back the buffer? No, there is no good way to roll back the buffer.