diff options
author | Jiri Olsa <jolsa@kernel.org> | 2019-02-20 07:27:58 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-02-20 14:23:07 -0500 |
commit | b20fe10642f90d17c07b5e621bf4c00093c5654b (patch) | |
tree | ab954f34648407a22f8782b5908528d30fbd62ff | |
parent | 6ef362fd3cf3af5d8143a07b4ea20499bf2a9eec (diff) |
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>
-rw-r--r-- | tools/perf/util/bpf-event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/bpf-event.c b/tools/perf/util/bpf-event.c index 62dda96b0096..028c8ec1f62a 100644 --- a/tools/perf/util/bpf-event.c +++ b/tools/perf/util/bpf-event.c | |||
@@ -233,7 +233,7 @@ int perf_event__synthesize_bpf_events(struct perf_tool *tool, | |||
233 | err = 0; | 233 | err = 0; |
234 | break; | 234 | break; |
235 | } | 235 | } |
236 | pr_debug("%s: can't get next program: %s%s", | 236 | pr_debug("%s: can't get next program: %s%s\n", |
237 | __func__, strerror(errno), | 237 | __func__, strerror(errno), |
238 | errno == EINVAL ? " -- kernel too old?" : ""); | 238 | errno == EINVAL ? " -- kernel too old?" : ""); |
239 | /* don't report error on old kernel or EPERM */ | 239 | /* don't report error on old kernel or EPERM */ |