Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575432

[PATCH v4 2/2] perf tools: Add missing newline in debug messages

From He Kuang <hekuang@huawei.com>
Newsgroups linux.kernel
Subject [PATCH v4 2/2] perf tools: Add missing newline in debug messages
Date 2017-02-07 08:40 +0100
Message-ID <t88xA-8hL-7@gated-at.bofh.it> (permalink)
References <t88xA-8hL-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


These two debug messages are missing the trailing newline.

Signed-off-by: He Kuang <hekuang@huawei.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 36c8611..bc6bc70 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;
 		}
 
-- 
1.8.5.2

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 1/2] perf tools arm64: Add support for generating bpf prologue He Kuang <hekuang@huawei.com> - 2017-02-07 08:40 +0100
  [PATCH v4 2/2] perf tools: Add missing newline in debug messages He Kuang <hekuang@huawei.com> - 2017-02-07 08:40 +0100
  Re: [PATCH v4 1/2] perf tools arm64: Add support for generating bpf  prologue Will Deacon <will.deacon@arm.com> - 2017-02-07 13:20 +0100
    Re: [PATCH v4 1/2] perf tools arm64: Add support for generating bpf  prologue Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-02-07 16:10 +0100
  Re: [PATCH v4 1/2] perf tools arm64: Add support for generating bpf  prologue Masami Hiramatsu <mhiramat@kernel.org> - 2017-02-07 14:50 +0100
  [tip:perf/core] perf tools arm64: Add support for generating bpf  prologue tip-bot for He Kuang <tipbot@zytor.com> - 2017-02-10 08:50 +0100

csiph-web