Skip to contentSkip to conversation

perf evlist: Remove extraneous 'was' on error message

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Jan 28, 2015 perf events

lore
Share & tools
lore
#0 lore raw
Commit-ID:  267b677eec06de178558337f0074e30ec3d11d9b
Gitweb:     http://git.kernel.org/tip/267b677eec06de178558337f0074e30ec3d11d9b
Author:     Arnaldo Carvalho de Melo <[email protected]>
AuthorDate: Mon, 19 Jan 2015 11:54:06 -0300
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 21 Jan 2015 10:04:15 -0300

perf evlist: Remove extraneous 'was' on error message

[acme@mica ~]$ trace -p 3330
Error: Unable to find debugfs
Hint: Was your kernel was compiled with debugfs support?

                          ^^^
                          ^^^

Hint: Is the debugfs filesystem mounted?
Hint: Try 'sudo mount -t debugfs nodev /sys/kernel/debug'

Fix it.

Cc Adrian Hunter <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc David Ahern <[email protected]>
Cc Don Zickus <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Mike Galbraith <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Stephane Eranian <[email protected]>
---
 tools/perf/util/evlist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/util/evlist.c +1 -1
index cbab1fb..2e507b5 100644
@@ -1445,7 +1445,7 @@ int perf_evlist__strerror_tp(struct perf_evlist *evlist __maybe_unused,
 	case ENOENT:
 		scnprintf(buf, size, "%s",
 			  "Error:\tUnable to find debugfs\n"
-			  "Hint:\tWas your kernel was compiled with debugfs support?\n"
+			  "Hint:\tWas your kernel compiled with debugfs support?\n"
 			  "Hint:\tIs the debugfs filesystem mounted?\n"
 			  "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'");
 		break;