[PATCH 02/32] perf bpf: Add missing newline in debug messages

Arnaldo Carvalho de Melo acme at kernel.org
Thu Feb 9 17:39:10 PST 2017


From: He Kuang <hekuang at huawei.com>

These two debug messages are missing the trailing newline.

Signed-off-by: He Kuang <hekuang at huawei.com>
Cc: Alexander Shishkin <alexander.shishkin at linux.intel.com>
Cc: Bintian Wang <bintian.wang at huawei.com>
Cc: Jiri Olsa <jolsa at redhat.com>
Cc: Masami Hiramatsu <mhiramat at kernel.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Wang Nan <wangnan0 at huawei.com>
Cc: Will Deacon <will.deacon at arm.com>
Cc: linux-arm-kernel at lists.infradead.org
Link: http://lkml.kernel.org/r/20170207073412.26983-2-hekuang@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
---
 tools/perf/util/bpf-loader.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/perf/util/bpf-loader.c b/tools/perf/util/bpf-loader.c
index 36c861103291..bc6bc7062eb4 100644
--- a/tools/perf/util/bpf-loader.c
+++ b/tools/perf/util/bpf-loader.c
@@ -670,13 +670,13 @@ int bpf__probe(struct bpf_object *obj)
 
 		err = convert_perf_probe_events(pev, 1);
 		if (err < 0) {
-			pr_debug("bpf_probe: failed to convert perf probe events");
+			pr_debug("bpf_probe: failed to convert perf probe events\n");
 			goto out;
 		}
 
 		err = apply_perf_probe_events(pev, 1);
 		if (err < 0) {
-			pr_debug("bpf_probe: failed to apply perf probe events");
+			pr_debug("bpf_probe: failed to apply perf probe events\n");
 			goto out;
 		}
 
-- 
2.9.3




More information about the linux-arm-kernel mailing list