perf annotate: Show better message when no vmlinux is found
[deliverable/linux.git] / tools / perf / util / ui / browsers / hists.c
index 294b49538522b7dedb7bd037ad9a95ae9cf6555d..497b3c4076a344e2c60cedd37199dcd56c9b5c4e 100644 (file)
@@ -924,14 +924,6 @@ int hists__browse(struct hists *self, const char *helpline,
                if (choice == annotate) {
                        struct hist_entry *he;
 do_annotate:
-                       if (browser->selection->map->dso->origin == DSO__ORIG_KERNEL) {
-                               browser->selection->map->dso->annotate_warned = 1;
-                               ui_helpline__puts("No vmlinux file found, can't "
-                                                "annotate with just a "
-                                                "kallsyms file");
-                               continue;
-                       }
-
                        he = hist_browser__selected_entry(browser);
                        if (he == NULL)
                                continue;
This page took 0.050552 seconds and 5 git commands to generate.