Re: [PATCH] perf tools: Remove a trailing newline in the event terms

From: Namhyung Kim

Date: Wed Dec 03 2025 - 12:58:32 EST


On Tue, 02 Dec 2025 15:01:31 -0800, Namhyung Kim wrote:
> So that it can show the correct encoding info in the JSON output.
>
> $ perf list -j hw
> [
> {
> "Unit": "cpu",
> "Topic": "legacy hardware",
> "EventName": "branch-instructions",
> "EventType": "Kernel PMU event",
> "BriefDescription": "Retired branch instructions [This event is an alias of branches]",
> "Encoding": "cpu/event=0xc4/"
> },
> ...
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung