Re: [PATCH] perf/script: remove extraneous newline in perf_sample__fprintf_regs()

From: Andi Kleen
Date: Wed Apr 29 2020 - 22:09:04 EST


> I was under the impression that perf script was generating one line
> per sample. Otherwise, seems hard to parse.

That's only true for simple cases. A lot of the extended output options
have long generated multiple lines. And of course call stacks always did.

> Could you give me the cmdline options of perf script that justify the newline.

e.g. perf script -F iregs,uregs

-Andi