perf bpf: Add missing newline in debug messages
authorHe Kuang <hekuang@huawei.com>
Tue, 7 Feb 2017 07:34:12 +0000 (07:34 +0000)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Feb 2017 11:55:02 +0000 (08:55 -0300)
These two debug messages are missing the trailing newline.

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

index 36c861103291982516b7463422544ed279fe18ed..bc6bc7062eb4ffed74457bff52a5ab5c2d885300 100644 (file)
@@ -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;
                }