Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4158937pxk; Tue, 8 Sep 2020 12:10:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYliM29qMjPBtGNTPCcjWrLFELoEptY3hQ+tViF6v/KcFS8zp2lpvVEqUOWqLzuAvtxclD X-Received: by 2002:aa7:c158:: with SMTP id r24mr459308edp.61.1599592257289; Tue, 08 Sep 2020 12:10:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599592257; cv=none; d=google.com; s=arc-20160816; b=BHjsPic4qRpeJBsmmbanx3QutFGPnzXGEXEQDXipErh3I/3IGjZBp7+GQvC0QjcdXr wyKle21Y9QeyyfBQVZuRUYb1vNxgrxuFFn5TcNKNBHfVmVahKlRLG718tqgIZyJvolAL 3N82GuPgbVGS9BRdNlGDarDZV6Rv9s9OoBra0rrLqyXjSPTTNbDojJuWBP68AImOimA+ glufFvb/NzztDJGvfV8hGxMrz3s7GgGg4cWtKYKvSPVNJGfD5fWwjIctADZqzBLULkZK mA4PzpttgVK/OXxeMMCeUKpDSG9juqnR49PiDS+oZIY23m5d842WqFYt7fnXpIug4/3A zs7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=/qXDniVwv8qkH+D/qI8Ol2mGCSRNlIWXGdnI97THOAc=; b=JzOufdXKYjF1eEoRVAdqBqg4gpTAKpKRFVR4Ju39inLOyGLsJNMFaZtHHUpH6Fa7E6 6XRGsy10MPKsU43QOeVqm4p2ph04OW5YhS7f1tnWPqgRA+/5qo9JuF9HOkl9hHhwCO+1 yUGZOPfwnb2PwuFLW7qBHd1O5chOsZuk8DOlSxMcRJ8RHDulo04iumTMLSfzDTVXhOKI 4wn7Zih6OHOId6z1Xtsj3tChJppKO4krdzuJbQw5H6a45TyPIukFmumI4hDHxKbIzfXh 2WDPi/+pvOUsQ7n6ibHNh2FMb3/gAjM6mU9zWLEpCxfkYGCHg2S5MJdkc1yyOGdEbj2H jUHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mJ73n28a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l11si13321844ejx.11.2020.09.08.12.10.34; Tue, 08 Sep 2020 12:10:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mJ73n28a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731679AbgIHTHj (ORCPT + 99 others); Tue, 8 Sep 2020 15:07:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:53450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731256AbgIHQHM (ORCPT ); Tue, 8 Sep 2020 12:07:12 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 781DA23D67; Tue, 8 Sep 2020 15:46:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599580006; bh=3XSukZPTDaa8Ldb7jufG7JI7oTTm0fr6RVMmtqwLxUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mJ73n28a1vFwGIhJolluuNvb997QeUg4dHHtm25acElTGDK0tvypaw4V4dYxok49Y C5jyKSWBs3BrluKoQhLLtkkYeTFsKZwCgL8FYC8DCPqe+Igm/iq3Hp2E7SBB28EjdU Bb5PpZJ/1WHGdZe+S4PveQgkiHfUm7UGwqZpsuzk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wei Li , Song Liu , Arnaldo Carvalho de Melo , Alexander Shishkin , Hanjun Guo , Jiri Olsa , Li Bin , Mark Rutland , Namhyung Kim Subject: [PATCH 5.4 123/129] perf record: Correct the help info of option "--no-bpf-event" Date: Tue, 8 Sep 2020 17:26:04 +0200 Message-Id: <20200908152235.997447278@linuxfoundation.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200908152229.689878733@linuxfoundation.org> References: <20200908152229.689878733@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Wei Li commit a060c1f12b525ba828f871eff3127dabf8daa1e6 upstream. The help info of option "--no-bpf-event" is wrongly described as "record bpf events", correct it. Committer testing: $ perf record -h bpf Usage: perf record [] [] or: perf record [] -- [] --clang-opt options passed to clang when compiling BPF scriptlets --clang-path clang binary to use for compiling BPF scriptlets --no-bpf-event do not record bpf events $ Fixes: 71184c6ab7e6 ("perf record: Replace option --bpf-event with --no-bpf-event") Signed-off-by: Wei Li Acked-by: Song Liu Tested-by: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Hanjun Guo Cc: Jiri Olsa Cc: Li Bin Cc: Mark Rutland Cc: Namhyung Kim Link: http://lore.kernel.org/lkml/20200819031947.12115-1-liwei391@huawei.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Greg Kroah-Hartman --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -2137,7 +2137,7 @@ static struct option __record_options[] OPT_BOOLEAN(0, "tail-synthesize", &record.opts.tail_synthesize, "synthesize non-sample events at the end of output"), OPT_BOOLEAN(0, "overwrite", &record.opts.overwrite, "use overwrite mode"), - OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "record bpf events"), + OPT_BOOLEAN(0, "no-bpf-event", &record.opts.no_bpf_event, "do not record bpf events"), OPT_BOOLEAN(0, "strict-freq", &record.opts.strict_freq, "Fail if the specified frequency can't be used"), OPT_CALLBACK('F', "freq", &record.opts, "freq or 'max'",