perf tools: Remove extra '/' character in events file path
authorXia Kaixu <xiakaixu@huawei.com>
Sat, 26 Apr 2014 07:55:12 +0000 (15:55 +0800)
committerJiri Olsa <jolsa@kernel.org>
Wed, 30 Apr 2014 15:02:24 +0000 (17:02 +0200)
commit603940b6b8b1347ec13a628165c00194ebc17ed2
tree8bb9f4bcd318ea3f77e618d0758dee38cb48da79
parent61d4290cc1f10588147b76b385875f06827d47ff
perf tools: Remove extra '/' character in events file path

The array debugfs_known_mountpoints[] will cause extra '/'
character output.
Remove it.

pre:
$ perf probe -l
/sys/kernel/debug//tracing/uprobe_events file does not exist -
please rebuild kernel with CONFIG_UPROBE_EVENTS.

post:
$ perf probe -l
/sys/kernel/debug/tracing/uprobe_events file does not exist -
please rebuild kernel with CONFIG_UPROBE_EVENTS.

Signed-off-by: Xia Kaixu <xiakaixu@huawei.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/535B6660.2060001@huawei.com
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/lib/api/fs/debugfs.c