Skip to content

Commit 838def2

Browse files
james-c-linaroacmel
authored andcommitted
perf test: Add missing newlines in debug messages
These debug messages bleed into the next log line. Fix it by adding the missing newlines. Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: James Clark <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 9bb9327 commit 838def2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/perf/tests/parse-events.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2627,7 +2627,7 @@ static int test_events(const struct evlist_test *events, int cnt)
26272627
pr_debug("running test %d '%s'\n", i, e.name);
26282628
test_ret = test_event(&e);
26292629
if (test_ret != TEST_OK) {
2630-
pr_debug("Event test failure: test %d '%s'", i, e.name);
2630+
pr_debug("Event test failure: test %d '%s'\n", i, e.name);
26312631
ret = combine_test_results(ret, test_ret);
26322632
}
26332633
}
@@ -2764,7 +2764,7 @@ static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest
27642764

27652765
test_ret = test_event(&e);
27662766
if (test_ret != TEST_OK) {
2767-
pr_debug("Test PMU event failed for '%s'", name);
2767+
pr_debug("Test PMU event failed for '%s'\n", name);
27682768
ret = combine_test_results(ret, test_ret);
27692769
}
27702770

@@ -2790,7 +2790,7 @@ static int test__pmu_events(struct test_suite *test __maybe_unused, int subtest
27902790
e.check = test__checkevent_pmu_events_mix;
27912791
test_ret = test_event(&e);
27922792
if (test_ret != TEST_OK) {
2793-
pr_debug("Test PMU event failed for '%s'", name);
2793+
pr_debug("Test PMU event failed for '%s'\n", name);
27942794
ret = combine_test_results(ret, test_ret);
27952795
}
27962796
}

0 commit comments

Comments
 (0)