Re: [PATCH v3] perf stat: Add missing newline in pr_err messages

From: Namhyung Kim
Date: Wed Jun 21 2023 - 13:23:02 EST


On Tue, Jun 13, 2023 at 7:16 PM Yang Jihong <yangjihong1@xxxxxxxxxx> wrote:
>
> The newline is missing for error messages in add_default_attributes()
>
> Before:
>
> # perf stat --topdown
> Topdown requested but the topdown metric groups aren't present.
> (See perf list the metric groups have names like TopdownL1)#
>
> After:
>
> # perf stat --topdown
> Topdown requested but the topdown metric groups aren't present.
> (See perf list the metric groups have names like TopdownL1)
> #
>
> In addition, perf_stat_init_aggr_mode() and perf_stat_init_aggr_mode_file()
> have the same problem, fixed by the way.
>
> Signed-off-by: Yang Jihong <yangjihong1@xxxxxxxxxx>
> Acked-by: Ian Rogers <irogers@xxxxxxxxxx>
> Reviewed-by: James Clark <james.clark@xxxxxxx>

Applied to perf-tools-next, thanks!