Re: [PATCH] perf: Add missing newline at end of file

From: Xing Zhengjun
Date: Fri Apr 08 2022 - 10:45:40 EST




On 4/5/2022 9:59 PM, Liang, Kan wrote:

On Mon, Jun 17, 2019 at 6:00 PM Arnaldo Carvalho de Melo
<arnaldo.melo@xxxxxxxxx> wrote:
Em Mon, Jun 17, 2019 at 04:47:25PM +0200, Geert Uytterhoeven escreveu:
"git diff" says:

\ No newline at end of file

after modifying the files.
Auto generated files, IIRC, Andi, Kan, Sukadev?
The auto-generated files have been updated, the issue still exists.

It seems like a converter tool issue.

+ Zhengjun

Zhengjun, could you please take a look?

Thanks,
Kan
It only happened for perf core event files. Add "\n" at the end of the perf core event file, then the issue is fixed.
I have updated the event convert tool https://github.com/intel/event-converter-for-linux-perf , then the next time uses the convert tool to generate perf events, the issue will be disappeared.

--
Zhengjun Xing