From: Jiri Olsa <jolsa@kernel.org>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, Xia Kaixu <xiakaixu@huawei.com>,
Jiri Olsa <jolsa@kernel.org>
Subject: [PATCH 5/7] perf tools: Remove extra '/' character in events file path
Date: Wed, 30 Apr 2014 17:32:49 +0200 [thread overview]
Message-ID: <1398871971-381-6-git-send-email-jolsa@kernel.org> (raw)
In-Reply-To: <1398871971-381-1-git-send-email-jolsa@kernel.org>
From: Xia Kaixu <xiakaixu@huawei.com>
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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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] = "/sys/kernel/debug";
static const char * const debugfs_known_mountpoints[] = {
- "/sys/kernel/debug/",
- "/debug/",
+ "/sys/kernel/debug",
+ "/debug",
0,
};
--
1.8.3.1
next prev parent reply other threads:[~2014-04-30 15:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-30 15:32 [GIT PULL 0/7] perf/urgent fixes Jiri Olsa
2014-04-30 15:32 ` [PATCH 1/7] perf tools: Use LDFLAGS instead of ALL_LDFLAGS Jiri Olsa
2014-04-30 15:32 ` [PATCH 2/7] perf tools: Fix bfd dependency libraries detection Jiri Olsa
2014-04-30 15:32 ` [PATCH 3/7] perf tests: Add static build make test Jiri Olsa
2014-04-30 15:32 ` [PATCH 4/7] perf machine: Search for modules in %s/lib/modules/%s Jiri Olsa
2014-04-30 15:32 ` Jiri Olsa [this message]
2014-04-30 15:32 ` [PATCH 6/7] perf x86: Fix perf to use non-executable stack, again Jiri Olsa
2014-04-30 15:32 ` [PATCH 7/7] perf tests x86: Fix stack map lookup in dwarf unwind test Jiri Olsa
2014-05-01 6:25 ` [GIT PULL 0/7] perf/urgent fixes Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1398871971-381-6-git-send-email-jolsa@kernel.org \
--to=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=xiakaixu@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome