Skip to content

Commit b20fe10

Browse files
olsajiriacmel
authored andcommitted
perf bpf-event: Add missing new line into pr_debug call
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>
1 parent 6ef362f commit b20fe10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/util/bpf-event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ int perf_event__synthesize_bpf_events(struct perf_tool *tool,
233233
err = 0;
234234
break;
235235
}
236-
pr_debug("%s: can't get next program: %s%s",
236+
pr_debug("%s: can't get next program: %s%s\n",
237237
__func__, strerror(errno),
238238
errno == EINVAL ? " -- kernel too old?" : "");
239239
/* don't report error on old kernel or EPERM */

0 commit comments

Comments
 (0)