[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1412297616-14179-1-git-send-email-sukadev@linux.vnet.ibm.com>
Date: Thu, 2 Oct 2014 17:53:34 -0700
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>, ak@...ux.intel.com,
Jiri Olsa <jolsa@...hat.com>, peterz@...radead.org
Cc: Anton Blanchard <anton@....ibm.com>,
<linux-kernel@...r.kernel.org>, linuxppc-dev@...ts.ozlabs.org
Subject: [PATCH 1/3] tools/perf: Fix error message
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@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists