aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/builtin-top.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index f88a2630e1fc..0b07cc30b669 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -740,8 +740,9 @@ static void perf_event__process_sample(const union perf_event *event,
740 */ 740 */
741 if (al.map == machine->vmlinux_maps[MAP__FUNCTION] && 741 if (al.map == machine->vmlinux_maps[MAP__FUNCTION] &&
742 RB_EMPTY_ROOT(&al.map->dso->symbols[MAP__FUNCTION])) { 742 RB_EMPTY_ROOT(&al.map->dso->symbols[MAP__FUNCTION])) {
743 pr_err("The %s file can't be used\n", 743 ui__warning("The %s file can't be used\n",
744 symbol_conf.vmlinux_name); 744 symbol_conf.vmlinux_name);
745 exit_browser(0);
745 exit(1); 746 exit(1);
746 } 747 }
747 748