diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-01-30 03:33:29 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-02-06 11:46:36 +0100 |
commit | a3c0cc2ac03bd9db032f590d59cdbf0b447503b8 (patch) | |
tree | 5a0d88ca390f474bd23557d7cf49420a46dc4232 | |
parent | perf tests: Do not rely on dso__data_read_offset() to open dso (diff) | |
download | linux-a3c0cc2ac03bd9db032f590d59cdbf0b447503b8.tar.xz linux-a3c0cc2ac03bd9db032f590d59cdbf0b447503b8.zip |
perf tools: Fix a dso open fail message
It's not related to mmap, remove it from the message.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1422585209-32742-3-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/util/dso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/dso.c b/tools/perf/util/dso.c index c2f7d3b90966..a8b3f18db1a5 100644 --- a/tools/perf/util/dso.c +++ b/tools/perf/util/dso.c @@ -240,7 +240,7 @@ static int do_open(char *name) if (fd >= 0) return fd; - pr_debug("dso open failed, mmap: %s\n", + pr_debug("dso open failed: %s\n", strerror_r(errno, sbuf, sizeof(sbuf))); if (!dso__data_open_cnt || errno != EMFILE) break; |