diff options
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index bc8f4773d4d8..119e996035c8 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c | |||
| @@ -310,9 +310,12 @@ fallback: | |||
| 310 | } | 310 | } |
| 311 | err = -ENOENT; | 311 | err = -ENOENT; |
| 312 | dso->annotate_warned = 1; | 312 | dso->annotate_warned = 1; |
| 313 | pr_err("Can't annotate %s: No vmlinux file%s was found in the " | 313 | pr_err("Can't annotate %s:\n\n" |
| 314 | "path.\nPlease use 'perf buildid-cache -av vmlinux' or " | 314 | "No vmlinux file%s\nwas found in the path.\n\n" |
| 315 | "--vmlinux vmlinux.\n", | 315 | "Please use:\n\n" |
| 316 | " perf buildid-cache -av vmlinux\n\n" | ||
| 317 | "or:\n\n" | ||
| 318 | " --vmlinux vmlinux", | ||
| 316 | sym->name, build_id_msg ?: ""); | 319 | sym->name, build_id_msg ?: ""); |
| 317 | goto out_free_filename; | 320 | goto out_free_filename; |
| 318 | } | 321 | } |
