]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
perf bpf-event: Add missing new line into pr_debug call
authorJiri Olsa <jolsa@kernel.org>
Wed, 20 Feb 2019 12:27:58 +0000 (13:27 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Feb 2019 19:23:07 +0000 (16:23 -0300)
Add a missing new line into pr_debug call in perf_event__synthesize_bpf_events(),
so that the error message does not screw the verbose output.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Link: http://lkml.kernel.org/r/20190220122800.864-5-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/bpf-event.c

index 62dda96b0096d1aede32dcfc434d66b3bcba9c12..028c8ec1f62a9c347b5c493d3b0caddf74145451 100644 (file)
@@ -233,7 +233,7 @@ int perf_event__synthesize_bpf_events(struct perf_tool *tool,
                                err = 0;
                                break;
                        }
-                       pr_debug("%s: can't get next program: %s%s",
+                       pr_debug("%s: can't get next program: %s%s\n",
                                 __func__, strerror(errno),
                                 errno == EINVAL ? " -- kernel too old?" : "");
                        /* don't report error on old kernel or EPERM  */