]> git.ipfire.org Git - thirdparty/linux.git/commit
perf expr: Add '\n' in literal parse errors
authorLeo Yan <leo.yan@arm.com>
Thu, 2 Apr 2026 16:04:48 +0000 (17:04 +0100)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 3 Apr 2026 01:10:59 +0000 (18:10 -0700)
commitd148934beeacaf074e1e6f00fae3be737bbc4089
treeeb04b5dd2abcc5b00fc1211ecf849cbb504f08e0
parent3a61fd866ef9aaa1d3158b460f852b74a2df07f4
perf expr: Add '\n' in literal parse errors

Add a trailing newline for logs.

Before:

  perf stat -C 5
  Failure to read '#slots'Cannot find metric or group `Default'

After:

  perf stat -C 5
  Failure to read '#slots'
  Cannot find metric or group `Default'

Signed-off-by: Leo Yan <leo.yan@arm.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/expr.c