linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] Fix perf probe help message typo issue.
@ 2015-02-03 12:56 Bryton Lee
  2015-02-04  1:03 ` Masami Hiramatsu
  0 siblings, 1 reply; 2+ messages in thread
From: Bryton Lee @ 2015-02-03 12:56 UTC (permalink / raw)
  To: linux-kernel, acme, masami.hiramatsu.pt, namhyung; +Cc: Bryton Lee

Fix perf probe help message typo issue.

Signed-off-by: Bryton Lee <brytonlee01@gmail.com>
---
 tools/perf/util/probe-event.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
index 94a717b..8d3ac0f 100644
--- a/tools/perf/util/probe-event.c
+++ b/tools/perf/util/probe-event.c
@@ -1797,9 +1797,9 @@ static void print_open_warning(int err, bool is_kprobe)
  const char *config;

  if (!is_kprobe)
- config = "CONFIG_UPROBE_EVENTS";
+ config = "CONFIG_UPROBE_EVENT";
  else
- config = "CONFIG_KPROBE_EVENTS";
+ config = "CONFIG_KPROBE_EVENT";

  pr_warning("%cprobe_events file does not exist"
    " - please rebuild kernel with %s.\n",
@@ -1818,8 +1818,8 @@ static void print_both_open_warning(int kerr, int uerr)
  if (kerr == -ENOTSUP && uerr == -ENOTSUP)
  pr_warning("Debugfs is not mounted.\n");
  else if (kerr == -ENOENT && uerr == -ENOENT)
- pr_warning("Please rebuild kernel with CONFIG_KPROBE_EVENTS "
-   "or/and CONFIG_UPROBE_EVENTS.\n");
+ pr_warning("Please rebuild kernel with CONFIG_KPROBE_EVENT "
+   "or/and CONFIG_UPROBE_EVENT.\n");
  else {
  char sbuf[STRERR_BUFSIZE];
  pr_warning("Failed to open kprobe events: %s.\n",
-- 
2.0.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Fix perf probe help message typo issue.
  2015-02-03 12:56 [PATCH 1/1] Fix perf probe help message typo issue Bryton Lee
@ 2015-02-04  1:03 ` Masami Hiramatsu
  0 siblings, 0 replies; 2+ messages in thread
From: Masami Hiramatsu @ 2015-02-04  1:03 UTC (permalink / raw)
  To: Bryton Lee; +Cc: linux-kernel, acme, namhyung, yrl.pp-manager.tt

(2015/02/03 21:56), Bryton Lee wrote:
> Fix perf probe help message typo issue.
> 

Yeah, that is a typo...

> Signed-off-by: Bryton Lee <brytonlee01@gmail.com>

Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>

Thanks!

> ---
>  tools/perf/util/probe-event.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/tools/perf/util/probe-event.c b/tools/perf/util/probe-event.c
> index 94a717b..8d3ac0f 100644
> --- a/tools/perf/util/probe-event.c
> +++ b/tools/perf/util/probe-event.c
> @@ -1797,9 +1797,9 @@ static void print_open_warning(int err, bool is_kprobe)
>   const char *config;
> 
>   if (!is_kprobe)
> - config = "CONFIG_UPROBE_EVENTS";
> + config = "CONFIG_UPROBE_EVENT";
>   else
> - config = "CONFIG_KPROBE_EVENTS";
> + config = "CONFIG_KPROBE_EVENT";
> 
>   pr_warning("%cprobe_events file does not exist"
>     " - please rebuild kernel with %s.\n",
> @@ -1818,8 +1818,8 @@ static void print_both_open_warning(int kerr, int uerr)
>   if (kerr == -ENOTSUP && uerr == -ENOTSUP)
>   pr_warning("Debugfs is not mounted.\n");
>   else if (kerr == -ENOENT && uerr == -ENOENT)
> - pr_warning("Please rebuild kernel with CONFIG_KPROBE_EVENTS "
> -   "or/and CONFIG_UPROBE_EVENTS.\n");
> + pr_warning("Please rebuild kernel with CONFIG_KPROBE_EVENT "
> +   "or/and CONFIG_UPROBE_EVENT.\n");
>   else {
>   char sbuf[STRERR_BUFSIZE];
>   pr_warning("Failed to open kprobe events: %s.\n",
> 


-- 
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-04  1:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-03 12:56 [PATCH 1/1] Fix perf probe help message typo issue Bryton Lee
2015-02-04  1:03 ` Masami Hiramatsu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).