aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2011-05-27 10:00:41 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-05-27 15:02:09 -0400
commit646aaea615704010b5fd2c8c8891ff1a3a4b4f1a (patch)
treee7efc5b2a67f18f1ce3fb53ce70c299f1c74c6c8 /tools/perf/builtin-report.c
parentd6a72fe465f4c54654a1d5488daeb820b4ecf275 (diff)
perf tools: Make sure kptr_restrict warnings fit 80 col terms
Suggested-by: Ingo Molnar <mingo@elte.hu> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Tom Zanussi <tzanussi@gmail.com> Link: http://lkml.kernel.org/n/tip-i1p8vrhq7xveyui6t1sc914e@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index 99156c35bc62..287a173523a7 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -281,17 +281,14 @@ static int __cmd_report(void)
281 kernel_kmap->ref_reloc_sym->addr == 0))) { 281 kernel_kmap->ref_reloc_sym->addr == 0))) {
282 const struct dso *kdso = kernel_map->dso; 282 const struct dso *kdso = kernel_map->dso;
283 283
284 ui__warning("Kernel address maps " 284 ui__warning(
285 "(/proc/{kallsyms,modules}) were restricted, " 285"Kernel address maps (/proc/{kallsyms,modules}) were restricted.\n\n"
286 "check /proc/sys/kernel/kptr_restrict before " 286"Check /proc/sys/kernel/kptr_restrict before running 'perf record'.\n\n%s\n\n"
287 "running 'perf record'.\n\n%s\n\n" 287"Samples in kernel modules can't be resolved as well.\n\n",
288 "Samples in kernel modules can't be resolved "
289 "as well.\n\n",
290 RB_EMPTY_ROOT(&kdso->symbols[MAP__FUNCTION]) ? 288 RB_EMPTY_ROOT(&kdso->symbols[MAP__FUNCTION]) ?
291 "As no suitable kallsyms nor vmlinux was found, " 289"As no suitable kallsyms nor vmlinux was found, kernel samples\n"
292 "kernel samples can't be resolved." : 290"can't be resolved." :
293 "If some relocation was applied (e.g. kexec) " 291"If some relocation was applied (e.g. kexec) symbols may be misresolved.");
294 "symbols may be misresolved.");
295 } 292 }
296 293
297 if (dump_trace) { 294 if (dump_trace) {