Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1716034imn; Sun, 31 Jul 2022 19:23:08 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tPmY7sp5WltpE2SUcUoFIGHyOadmJ3UShF80d/K5P06C6258ksTsEfRfBQC5NTW41i/j6z X-Received: by 2002:a17:906:9b0a:b0:72b:4fc2:4b07 with SMTP id eo10-20020a1709069b0a00b0072b4fc24b07mr10893770ejc.700.1659320588377; Sun, 31 Jul 2022 19:23:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659320588; cv=none; d=google.com; s=arc-20160816; b=pZYLNNX2yve6Nqd0cja36BAyNHTUc9/ReaLkk/IU/WcCPP7iGbmFzytesiBxCu5Y7d EfR18ZroRmg418tOyy1w0a9DGTz7X2XAwDEIFdKirjWRKmI5BJXvRQ/IifqFQIuCdjJb jh7uU8jb9is5xozeofai0KOFjeuQP+bjeoEMW6VhEehr5Fy99vF055iSOuWeC1S03DNb xxptk7LNL95+B9TCX2TAFIOHeUSKQx14/RSmLd1itll+UGEzYiumPl71bfbdVTxI8FdF nkoJEsbaAeRgpQsNG4Qs6Q+a3inx7/zsPE/5lUOMm/FqxThHYuR7iY0NBCrVo6abA95Q PDfQ== 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=npawDv71rlZnJaxeFA6Ei4jvOJ58BYEfIDxUEn4gES0=; b=anS81qdueA8tym/6BWnNYjCKIf0nqbfw+KOABz7If5GyOdvCY4qelml9ghJL/GAyUJ GwqZmoAOdeF2Hzcp/C79xj6U0O94XskERBib6W9DLl6NyKBVOxnjF3E+4MjLR6vMUNS8 8cVBsrGz/sY0VPFqxqCmu2Ls188YGd0LZsrt3//OzZe970KAi4KC57k0RFbRnNlijaQb dhzX5QK6wCVFNJ7Qrqhq2TIyPfFV2v2IJm5MVMtsDUf+tCZJ+WKSGNi2qXTGaDclosE1 u2R3yfFS7Yf7BivgUBlHGP7e+MjZBApkG6FYXegjw64RCyGk/xNqCtde4IsQ9v8oxvZd SAgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm3 header.b=dzeidag3; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=f6RMUcIz; 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 i5-20020a1709064fc500b007307f1a0dd4si2331499ejw.566.2022.07.31.19.22.44; Sun, 31 Jul 2022 19:23:08 -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=fm3 header.b=dzeidag3; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=f6RMUcIz; 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 S238827AbiHABku (ORCPT + 99 others); Sun, 31 Jul 2022 21:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48226 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238949AbiHABkp (ORCPT ); Sun, 31 Jul 2022 21:40:45 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93898120A6; Sun, 31 Jul 2022 18:40:44 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 42D0C3200645; Sun, 31 Jul 2022 21:40:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 31 Jul 2022 21:40:43 -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=fm3; t=1659318042; x=1659404442; bh=npawDv71rl ZnJaxeFA6Ei4jvOJ58BYEfIDxUEn4gES0=; b=dzeidag36qYQQ75ErjaJGKWcJI nT+Ua5mwJxEijSODxBWHWj0iJYBam5yGOHbwOB3y3qepqctMbQeSb4gc5VzSjrPn v7PsBSr9zClGybsO0cDsuPp8knHtS0c3Bjv8mISSWHDNXSPaf0zoqmdSolXv9CMZ NW9ir5TpT1JxbGwm4djrm86ITrXPMGzwuh+GELrJDoWSK78iusLRHP7o2CM9pbBw qckbvUN2NAD87CXzLSP762moiqBN4H9PhLNGidMNiZ0qrvnBiihUqZ+nTFEu5u9g CNj0XQAEngqkZvMNqKvQcvRjulQkeKcqi8tIpvKWy9NBpXo6sBnRNpWpwR4w== 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= fm3; t=1659318042; x=1659404442; bh=npawDv71rlZnJaxeFA6Ei4jvOJ58 BYEfIDxUEn4gES0=; b=f6RMUcIz2ark+IhAivBbuFB0nLWO4w1T2+R/KPHLm/qG pmeXPcDcvyvE6vAKx4qfljfGZuZpeVnD7n+XdoXyDx2z7q8PcIeM3ElxSOvBON3V TyxYSjyaHngVndYxXmLbmPCc3AZGIjY0p9ok2wdADNYbZrj/6xpS7C0uk2Ddkp81 grLBujrt3PfIS/asedAOR/i0bVraUoDQ9JUdxDlacT6kxsLdb0mfXRTuGF9xeB4e rDv8jUISu1hhfAsbpmkv9PEOm1UfX8y4hymOP++yr88Nhju3bqIbgOkg1QkN1vIg 0QH4LtExM58+ZzITPBqPhB0xcRFXFhH4El24Abf+yg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvddvvddggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepleehhfelgfeggfejhedvtdfggeehgfevveetteegkefgteegffekkeev jedufefhnecuffhomhgrihhnpehfvggrthhurhgvrdhinhenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrnhgurhgvshesrghnrghrrgiivghl rdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 31 Jul 2022 21:40:42 -0400 (EDT) Date: Sun, 31 Jul 2022 18:40:41 -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: <20220801014041.24jvobsooyyddvjb@awork3.anarazel.de> References: <20220622231624.t63bkmkzphqvh3kx@alap3.anarazel.de> <20220703212551.1114923-1-andres@anarazel.de> <20220704201922.pvrh4cmmjxjn4mkx@awork3.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,SPF_HELO_PASS, 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 Hi, On 2022-07-05 00:12:37 +0200, Jiri Olsa wrote: > On Mon, Jul 04, 2022 at 01:19:22PM -0700, Andres Freund wrote: > > > 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? > > when I was quickly testing that I did not have any of them detected > and got compile fail.. so I moved it to safe place ;-) it might be > placed in smarter place I think that's because you'd removed them from FEATURE_TESTS_BASIC in Makefile.feature. In v3 I just sent out I just removed them from FEATURE_DISPLAY, without any more "structural" changes in tools/perf/Makefile.config. Greetings, Andres Freund