Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10740739rwl; Mon, 2 Jan 2023 07:29:11 -0800 (PST) X-Google-Smtp-Source: AMrXdXu2aGJFm7lKrNPBJBdhhrDsP7YSSvvRR7yHNA+dSScLZP5gb6WYAyctE0Yx/gIDkJXbnQsh X-Received: by 2002:a17:903:22cf:b0:189:ad19:dd11 with SMTP id y15-20020a17090322cf00b00189ad19dd11mr60059570plg.46.1672673351293; Mon, 02 Jan 2023 07:29:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672673351; cv=none; d=google.com; s=arc-20160816; b=ujz0X2Ifo1Z6kJEDmuEIl20T4pBAAWXPHQ2fJ4E2rB4rCyU9rex/CVDu5EdAHCShNm tIa2hdLi+YrezTuj5sMXJvb80KpUbf4naej9FYNwMwvWT/yYbLdeNsIbX5JmqmFFWQgG J1lAoODxwV9fa7KzPkExnr/A+yhczbZ/40T3CEc7q117RXk4PqxFzfFla43xj54OfleD 2duifHVQurXwvr7//kEB/Fs6RQVj83yU5ffPTogJ09lm3qY89YVMvEuf/287vNWu7tU2 YtmowRxfnUJlo60fXqzfD0iQvXYbZ//xLPBlAjdVqhCerVO0QkgIO3xoq5NDtUDnTSA0 SgHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j+jOeu/PBJY/F/03Gl2AfO9jJsfZNLFkYZAMfVjrij0=; b=nIYiHqLeuH8TwSszDojUG9yhoFUc0OD2dCZwFEN4oX4eyXoFx6/bQkBqSKJNIiDE4W Z7wAmvs5+tJ7k601kI0WbYoPnvrP5+a5OU10eMUd52cea3VoeGBqWWs+yhRvvlYq3xyn yKUdw4wbzXazPNpGluJWJqQmODvKI4tR8TDRtI8YhXRn1bSNIW3k22D3JnaQAnQ7p0Uy NThbgr3Im0bRggxl1uM+dyWJV1os96W08NslU+shFOsPmnwmIuvb82mFLpQCRR+8saXr HrlvBRsApHy+P88nfTSmXB8mEGaM/gcu+w7ZpydBOTCZt+42qL7utOqXedN4mYq40bmd jMSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=koRcuDDX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b1-20020a170903228100b00192d6fb649dsi633864plh.242.2023.01.02.07.29.03; Mon, 02 Jan 2023 07:29:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=koRcuDDX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232634AbjABOwb (ORCPT + 61 others); Mon, 2 Jan 2023 09:52:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjABOw3 (ORCPT ); Mon, 2 Jan 2023 09:52:29 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6307864C1; Mon, 2 Jan 2023 06:52:28 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F1CF260C8B; Mon, 2 Jan 2023 14:52:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33994C433D2; Mon, 2 Jan 2023 14:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672671147; bh=f17No9yUXQImVOsXvpfHxuqF8XaGL0fo1krEF+DvBe0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=koRcuDDXt2dS/6ATCSR7JzK2geLJV2osiVFjf7oBemkqqHnD0KIHOjipVjvDhjX19 MBQ/KROR4VSqfMqwYuzTHoqJKP/KTae1zsbFf/VDudebH/lKwPVtDbLJAyIitWF1L8 ghAjdxNS4j1jZdvJSvqrd1EL6lURZrhYNGSnJL00xxIKI9SIp77bGkfINpY0Qtoc/o 6Bf1JHf8TB6h+udVgR5iQl+eteZOMgk5PYUFkxWQGXiInyvyPPYeDhGi4P6fSPE0vn mBT07fL5eRRJKDbyeDGf2LSjJcjclYn43WAAMP9aulaj82Uvi3doHbyBfEbLwo1LbC 4raNeiLGsu/sA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1495340468; Mon, 2 Jan 2023 11:52:25 -0300 (-03) Date: Mon, 2 Jan 2023 11:52:25 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Yang Jihong , peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf help: Use HAVE_LIBTRACEEVENT to filter out unsupported commands Message-ID: References: <20221226085703.95081-1-yangjihong1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Dec 27, 2022 at 11:34:46AM -0800, Namhyung Kim escreveu: > Hello, > > On Mon, Dec 26, 2022 at 1:00 AM Yang Jihong wrote: > > > > Commands such as kmem, kwork, lock, sched, trace and timechart depend on > > libtraceevent, these commands need to be isolated using HAVE_LIBTRACEEVENT > > macro when cmdlist generation. > > > > The output of the generate-cmdlist.sh script is as follows: > > > > # ./util/generate-cmdlist.sh > > /* Automatically generated by ./util/generate-cmdlist.sh */ > > struct cmdname_help > > { > > char name[16]; > > char help[80]; > > }; Thanks, applied. - Arnaldo