From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F366C3DA7A for ; Mon, 2 Jan 2023 14:52:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232107AbjABOwa (ORCPT ); Mon, 2 Jan 2023 09:52:30 -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 Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@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