]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf test: Add missing newlines in debug messages
authorJames Clark <james.clark@linaro.org>
Thu, 4 Dec 2025 09:10:54 +0000 (09:10 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 20 Jan 2026 20:34:51 +0000 (17:34 -0300)
These debug messages bleed into the next log line. Fix it by adding the
missing newlines.

Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: James Clark <james.clark@linaro.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Leo Yan <leo.yan@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/parse-events.c

index 2bd6229721145e429096b3fc892228a8ff856b1c..1d3cc224fbc273743953c55f0a827327e8534802 100644 (file)
@@ -2627,7 +2627,7 @@ static int test_events(const struct evlist_test *events, int cnt)
                pr_debug("running test %d '%s'\n", i, e.name);
                test_ret = test_event(&e);
                if (test_ret != TEST_OK) {
-                       pr_debug("Event test failure: test %d '%s'", i, e.name);
+                       pr_debug("Event test failure: test %d '%s'\n", i, e.name);
                        ret = combine_test_results(ret, test_ret);
                }
        }
@@ -2764,7 +2764,7 @@ static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest
 
                        test_ret = test_event(&e);
                        if (test_ret != TEST_OK) {
-                               pr_debug("Test PMU event failed for '%s'", name);
+                               pr_debug("Test PMU event failed for '%s'\n", name);
                                ret = combine_test_results(ret, test_ret);
                        }
 
@@ -2790,7 +2790,7 @@ static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest
                        e.check = test__checkevent_pmu_events_mix;
                        test_ret = test_event(&e);
                        if (test_ret != TEST_OK) {
-                               pr_debug("Test PMU event failed for '%s'", name);
+                               pr_debug("Test PMU event failed for '%s'\n", name);
                                ret = combine_test_results(ret, test_ret);
                        }
                }