Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp498021imw; Mon, 4 Jul 2022 13:33:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sazaOYBUmOJ/HGV7p4R49BpIhyU06YebVWsj2wBYSAzagUdTXaJcUCn7Z6YH2M38Xj3z+R X-Received: by 2002:a17:907:7fa5:b0:726:935b:2faa with SMTP id qk37-20020a1709077fa500b00726935b2faamr31429458ejc.17.1656966831310; Mon, 04 Jul 2022 13:33:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656966831; cv=none; d=google.com; s=arc-20160816; b=axAiD1JWJT8M8LB4aeAeS1HZ+LziNb3iQ+Eogy6rQjkWAqgkYr5V/HJ7gNzTDVBZlB fyjLAVxWLFbfS0rzFA7ulEyO+/5Yl2DcD7wZeo2X1iZGqQ+IrkfSPxMAY8yI64+1PPSL K+ij83b2/NinDmdYoKljgamWZ1OmulOXnOmXXFLayNyWKTu/Y8jSG9RYSZMFl7IgqCfG fq06l1A2fB02AiqCwCUEO1Y9JAfswnLYto+wK6P0yvn1s8FbtvaZifyCAMorbilnXfEy U+OPVA5OF/9E8qVU+XaUiV/TGuXpwAdg7UzSWZOVrCSEkM5ZceHwk898UThIfagWTjK0 sDkA== 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:feedback-id :dkim-signature:dkim-signature; bh=00wajHBD1YdQZRoyQhxG6eyVYzxLaf4iqwOqn9a8ZcY=; b=NZ4HMFA+9DgC9de3Jxwp83lkR/9UmftNUiJfh5rboAiP75KMtXl4WHOcQljfUDQjjJ 9z5CE21qVf6w+2HbXH2EZpjtRbazJSed5o1B7fb8IGnX0QW/4U7sAHfKTOKWTNK9jFrW JzH9f9ndFH1hb/n5IinBFyAA2rqSb2rGwbiZgEXOeduk7Gh62nDF7hH0cRTa2SJ2t1zS jSu+2RXDvBTNtdp1zOoeTLeVbTC8YBG8O0PPIZbuymSj5SUJwUtS33W8AD8bAlBO+Brc +7in/c4L2J2lL+WbbmFdB237WZYfoQvLYxQkEmJ7DjCLgWiaZCZSFBNRbzOYs9u8ccQN 8WQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm2 header.b=PrhBhsEF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="Nxy9qk/f"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id md27-20020a170906ae9b00b0071bbadaaf42si7941133ejb.425.2022.07.04.13.33.26; Mon, 04 Jul 2022 13:33:51 -0700 (PDT) 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=@anarazel.de header.s=fm2 header.b=PrhBhsEF; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="Nxy9qk/f"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231250AbiGDUTb (ORCPT + 99 others); Mon, 4 Jul 2022 16:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229655AbiGDUT3 (ORCPT ); Mon, 4 Jul 2022 16:19:29 -0400 Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 327FD9D; Mon, 4 Jul 2022 13:19:28 -0700 (PDT) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 228075C00BB; Mon, 4 Jul 2022 16:19:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 04 Jul 2022 16:19:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1656965964; x=1657052364; bh=00wajHBD1Y dQZRoyQhxG6eyVYzxLaf4iqwOqn9a8ZcY=; b=PrhBhsEFdtMU3VTPRHYDF5dgeH +GwgzjeacV059QpdfO051gMNfKYE1NRwkuyZWSf1EwT8oZ9CE8DEhvyLxh8xRnv+ wNVI5L13G/qMKnI4j7LNIRt+7sPhLT3ZJaqyY6yLBzUp2u3LGKdmAfkChXGdCG3k ayv459Sa/tvFeo2XGM3lCuHou8Ppc+jJWF3evEkuKznf4SeW4B001C4yH+1V7jxc scDtAJ7Rh5QbnGn6eC9EsWYH+9LRBZNt81epmTBamOVKPq/0cj8hdJfqAyh5rDZe Gvs3I8EqcSFEUvQWEsiBKYTYKLVGO9VWvkd5/35zY28Y6GfboEwWciZfndyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1656965964; x=1657052364; bh=00wajHBD1YdQZRoyQhxG6eyVYzxL af4iqwOqn9a8ZcY=; b=Nxy9qk/fUEvGkzs7zTiYZTcEAz20BnqqJbj+Z7/PHPGU Iog7MO2ob2CxK6Q63Zyn/2P575XgprIUsWgABI9siFAgUWQ8eLyXhnoB88sWE2m0 Wl+5XfVtKT2wi/aaT+DCfzhmRHsxjGLBX5rVduPPifOu8cXk5kYfkYagxGqY8dpO Eu/I5wluQmMAZec+R5S4s+jY6PAq1EfKFFCLe/fkDS6xuUh79E0vGsLJJIQy8yip gXBSbvKK3+gpNXFmXPedj0C2rHXsXZuaahfoV3cblHn7UlT7tEMfQHxxsWEJnWOU t/8qt0Ii5u0vfVYVR/F8Wa2lUFUeVPXyEApFi1+i3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudehledgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 4 Jul 2022 16:19:23 -0400 (EDT) Date: Mon, 4 Jul 2022 13:19:22 -0700 From: Andres Freund To: Jiri Olsa Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Arnaldo Carvalho de Melo , Sedat Dilek , Quentin Monnet Subject: Re: [PATCH v2 0/5] tools: fix compilation failure caused by init_disassemble_info API changes Message-ID: <20220704201922.pvrh4cmmjxjn4mkx@awork3.anarazel.de> References: <20220622231624.t63bkmkzphqvh3kx@alap3.anarazel.de> <20220703212551.1114923-1-andres@anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Hi, On 2022-07-04 11:13:33 +0200, Jiri Olsa wrote: > I think the disassembler checks should not be displayed by default, > with your change I can see all the time: > > ... disassembler-four-args: [ on ] > ... disassembler-init-styled: [ OFF ] > > > could you please squash something like below in? moving disassembler > checks out of sight and do manual detection Makes sense - I was wondering why disassembler-four-args is displayed, but though it better to mirror the existing behaviour. Does "hiding" disassembler-four-args need to be its own set of commits? > diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config > index ee417c321adb..2aa0bad11f05 100644 > --- a/tools/perf/Makefile.config > +++ b/tools/perf/Makefile.config > @@ -914,8 +914,6 @@ ifndef NO_LIBBFD > FEATURE_CHECK_LDFLAGS-disassembler-init-styled += -liberty -lz -ldl > endif > endif > - $(call feature_check,disassembler-four-args) > - $(call feature_check,disassembler-init-styled) > endif > > ifeq ($(feature-libbfd-buildid), 1) > @@ -1025,6 +1023,9 @@ ifdef HAVE_KVM_STAT_SUPPORT > CFLAGS += -DHAVE_KVM_STAT_SUPPORT > endif > > +$(call feature_check,disassembler-four-args) > +$(call feature_check,disassembler-init-styled) > + > ifeq ($(feature-disassembler-four-args), 1) > CFLAGS += -DDISASM_FOUR_ARGS_SIGNATURE > endif This I don't understand - why do we want these to run under NO_LIBBFD etc? Greetings, Andres Freund