perf symbols: Make sure --symfs usage includes the path separator
authorArnaldo Carvalho de Melo <acme@kernel.org>
Tue, 29 Jul 2014 13:21:58 +0000 (10:21 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 31 Jul 2014 12:58:21 +0000 (09:58 -0300)
Minchan reported that perf failed to load vmlinux if --symfs argument
doesn't end with '/' character.

Fix it by making sure that the '/' path separator is used when composing
pathnames with a --symfs provided directory name.

Reported-by: Minchan Kim <minchan@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/n/tip-8n4s6b6zvsez5ktanw006125@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

No differences found