linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] tools/perf: Fix error message
@ 2014-10-03  0:53 Sukadev Bhattiprolu
  2014-10-03  0:53 ` [PATCH 2/3] tools/perf: Rename variables for clarity Sukadev Bhattiprolu
  2014-10-03  0:53 ` [PATCH 3/3] tools/perf: Fix error reporting Sukadev Bhattiprolu
  0 siblings, 2 replies; 3+ messages in thread
From: Sukadev Bhattiprolu @ 2014-10-03  0:53 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, ak, Jiri Olsa, peterz
  Cc: Anton Blanchard, linuxppc-dev, linux-kernel

Sometimes, eg: with a stripped vmlinux, we can open the file but
cannot load any symbols from it. Update error message accordingly
so the users can better understand the error.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
---
 tools/perf/util/map.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c
index b709059..c478092 100644
--- a/tools/perf/util/map.c
+++ b/tools/perf/util/map.c
@@ -267,7 +267,7 @@ int map__load(struct map *map, symbol_filter_t filter)
 			pr_warning("%s with build id %s not found",
 				   name, sbuild_id);
 		} else
-			pr_warning("Failed to open %s", name);
+			pr_warning("Failed to load symbols for DSO %s", name);
 
 		pr_warning(", continuing without symbols\n");
 		return -1;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-10-03  0:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-03  0:53 [PATCH 1/3] tools/perf: Fix error message Sukadev Bhattiprolu
2014-10-03  0:53 ` [PATCH 2/3] tools/perf: Rename variables for clarity Sukadev Bhattiprolu
2014-10-03  0:53 ` [PATCH 3/3] tools/perf: Fix error reporting Sukadev Bhattiprolu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).