Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-28 Thread Borislav Petkov
On Mon, Apr 28, 2014 at 10:01:30AM +0800, xiakaixu wrote: > >> diff --git a/tools/lib/api/fs/debugfs.c b/tools/lib/api/fs/debugfs.c > >> index 7c43479..a74fba6 100644 > >> --- a/tools/lib/api/fs/debugfs.c > >> +++ b/tools/lib/api/fs/debugfs.c > >> @@ -12,8 +12,8 @@ > >> char

Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-28 Thread Borislav Petkov
On Mon, Apr 28, 2014 at 10:01:30AM +0800, xiakaixu wrote: diff --git a/tools/lib/api/fs/debugfs.c b/tools/lib/api/fs/debugfs.c index 7c43479..a74fba6 100644 --- a/tools/lib/api/fs/debugfs.c +++ b/tools/lib/api/fs/debugfs.c @@ -12,8 +12,8 @@ char debugfs_mountpoint[PATH_MAX + 1] =

Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-27 Thread xiakaixu
于 2014/4/28 8:14, Namhyung Kim 写道: > Hi xiakaixu, > > (Adding Jiri and Boris to CC) OK. thanks, > >> 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

Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-27 Thread Namhyung Kim
Hi xiakaixu, (Adding Jiri and Boris to CC) > 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: > $

Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-27 Thread Namhyung Kim
Hi xiakaixu, (Adding Jiri and Boris to CC) 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

Re: [PATCH] perf tools: Remove extra '/' character in events file path

2014-04-27 Thread xiakaixu
于 2014/4/28 8:14, Namhyung Kim 写道: Hi xiakaixu, (Adding Jiri and Boris to CC) OK. thanks, 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

[PATCH] perf tools: Remove extra '/' character in events file path

2014-04-26 Thread xiakaixu
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

[PATCH] perf tools: Remove extra '/' character in events file path

2014-04-26 Thread xiakaixu
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

[PATCH] perf tools: Remove extra '/' character in events file path

2014-04-21 Thread xiakaixu
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

[PATCH] perf tools: Remove extra '/' character in events file path

2014-04-21 Thread xiakaixu
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