From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754531AbbBDBDR (ORCPT ); Tue, 3 Feb 2015 20:03:17 -0500 Received: from mail9.hitachi.co.jp ([133.145.228.44]:49502 "EHLO mail9.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752544AbbBDBDP (ORCPT ); Tue, 3 Feb 2015 20:03:15 -0500 Message-ID: <54D16FCC.3090108@hitachi.com> Date: Wed, 04 Feb 2015 10:03:08 +0900 From: Masami Hiramatsu Organization: Hitachi, Ltd., Japan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Bryton Lee Cc: linux-kernel@vger.kernel.org, acme@redhat.com, namhyung@kernel.org, "yrl.pp-manager.tt@hitachi.com" Subject: Re: [PATCH 1/1] Fix perf probe help message typo issue. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (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 Acked-by: Masami Hiramatsu 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