Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755763AbbBCM4J (ORCPT ); Tue, 3 Feb 2015 07:56:09 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:44648 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751745AbbBCM4F (ORCPT ); Tue, 3 Feb 2015 07:56:05 -0500 MIME-Version: 1.0 Date: Tue, 3 Feb 2015 20:56:04 +0800 Message-ID: Subject: [PATCH 1/1] Fix perf probe help message typo issue. From: Bryton Lee To: linux-kernel@vger.kernel.org, acme@redhat.com, masami.hiramatsu.pt@hitachi.com, namhyung@kernel.org Cc: Bryton Lee Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1485 Lines: 41 Fix perf probe help message typo issue. Signed-off-by: Bryton Lee --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/