perf tools: Add prelink suggestion to dso update message
[firefly-linux-kernel-4.4.55.git] / tools / perf / util / map.c
index 9cf0d4393c8d492401e5525ddc22c40befff2a95..78284b13e8086aabe4ad84da7e683f6d3613663e 100644 (file)
@@ -139,8 +139,8 @@ int map__load(struct map *self, symbol_filter_t filter)
 
                if (len > sizeof(DSO__DELETED) &&
                    strcmp(name + real_len + 1, DSO__DELETED) == 0) {
-                       pr_warning("%.*s was updated, restart the long "
-                                  "running apps that use it!\n",
+                       pr_warning("%.*s was updated (is prelink enabled?). "
+                               "Restart the long running apps that use it!\n",
                                   (int)real_len, name);
                } else {
                        pr_warning("no symbols found in %s, maybe install "