Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp663132rdb; Thu, 19 Oct 2023 15:50:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGacO80ZGE3h+pTQJH19kci+To++BqEy/Ql52ZTk4kIHCSCTAcj2aS6RgG/d/UsuNZ1fCur X-Received: by 2002:a05:6a20:54a0:b0:13d:17cc:5bca with SMTP id i32-20020a056a2054a000b0013d17cc5bcamr187651pzk.18.1697755846658; Thu, 19 Oct 2023 15:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697755846; cv=none; d=google.com; s=arc-20160816; b=m0JP9qnTvd5MgIP35Lajp35SC3HoecNz3CKRkn5JCf2i0fsqueU+Pk7uokDeTKVhIs vS6OlSQ+isSMRpvdLoIC4b3Wfgcx8YPrt2Y7HdDrMsmwO1xQL1RS8Uz7V9ag9V32Zpxr s6rKrdpGbE+GB8TTCDM9/dfwVtaG5Leu2z5OYYPoV8GfQVceAHUWQzYTXDQ1o2Pl4X2r nH2n0kRS+kM0wILhI874X5c4waQDzsByHkrcQoHftDH92Kh4Q0bhQ2JjqGO5Paq3SQmT WO3nhKKp3LajbLzCnZVePsUqqUpUf2jBTJW/cI+KnWI00ELFC66TvevG5pr/mHkI2eIC 7iSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Jdr6puVGLRO0RmMF34iaJR4HMguVgSrk1Dz2ZWASTGA=; fh=wqEyNwCE+4YxXELT8rqZKumJrjUTbPXnw2Uf2jOfZVc=; b=MXMmsjhqpclZYLn9bdwRPQD/A2CDTey3cP0rds5P14FQwIe9GgpdML7ZmNdbiRnfzY KWQHR5xP0YShOjsVxmJlwgDSH1EuNuFNIrnH4rtBgYeBO4h10vLhd8s4i/mSxDbYQDlP ccudfgOk5KyobxNh5MYr/PZ5T4LqWsUdrzTMtnrBkWSKKhAk27HArjxUmaF4bgXyA2Oz n8wM4WV0Ybw5JCpHOuIgjZT2KbBfCms48UPuQQNf38wyCbTp6IrP35s+4mo7qeJeHXr3 F6QJ2kocBAfT1xDh1lnUKgGnHNlA0m3DuD4atr5jEHsroDGk4Zx/P4zrV/XnKc8pxRZp 1Ohg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@isovalent.com header.s=google header.b=XIjimzjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id a16-20020a63e410000000b00563d9ff5157si556899pgi.547.2023.10.19.15.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 15:50:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@isovalent.com header.s=google header.b=XIjimzjD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=isovalent.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4FB9781C36E1; Thu, 19 Oct 2023 15:50:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346660AbjJSWu1 (ORCPT + 99 others); Thu, 19 Oct 2023 18:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235553AbjJSWu0 (ORCPT ); Thu, 19 Oct 2023 18:50:26 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9E9A124 for ; Thu, 19 Oct 2023 15:50:23 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-4083dbc43cfso1404925e9.3 for ; Thu, 19 Oct 2023 15:50:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isovalent.com; s=google; t=1697755822; x=1698360622; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Jdr6puVGLRO0RmMF34iaJR4HMguVgSrk1Dz2ZWASTGA=; b=XIjimzjDpnxFkaDMIpwNwEr9TBnrQhlvBeA+DYXh+sBfpMU/2COWtKKe9YdlUxZk/9 PLW5hOPhZV1t5YEKNtMBte5E5dbisvOadWLh9wFQwxfAjxlJGl2WgZsFFeF3Mbce9vzI 9tMUvqCaLhJnC2cHpKghiEuERuN+vn9ALOEZ8kEK0cNwYz5/ofQ6+Cq6xKtjvk41EoUL czXECoBPGw6/eSj9UFV+b5wXUy5kPlw3cMeuTFoJwZQJA4QRADN2tDnPT0o3ExjIwGHY XKXWffiyMaCzMaStzYITB6ZOR5G0rGFdmLTLuRpcCLNJM3A6JAB5FMrJ5++BH3m8ad4w 4qzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697755822; x=1698360622; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jdr6puVGLRO0RmMF34iaJR4HMguVgSrk1Dz2ZWASTGA=; b=xE7EZuXDCV7L9bWjWxlpRI5rFJkr2DQvJJF7BK7yqmSZB83o3XihVimyPloMzj77Uo 17vYlMVsd7MdBQBP3YL1g/yUHSPU+VvNrouM9Vl8uXHEERKQwEZ7qvQwXj3FgSo74BDk Ztl9qyylb0rvT5SEEqnVFQsuAkJy79YkcvUzfs6n3CfkQocYSvPYf559y1OfrTnqsAKZ tacT9xQ35RxdnYIhE2e0hD3whwoKPXXwVg6i4NAOn1Zq56YPK1OfZ4FirKCNEDZ2uaTV i6yqLov4V+xlTk575F5WgVCerum+2bUX0HvhA4dUFkB/yM0zQBmXV/7jwn7217OaviVF Wkng== X-Gm-Message-State: AOJu0YzwqBe31Uw8i254rQUjX4DDb2r2VYlykii/TdyrbpnzTHiC2Lra cpfcs5X5nUIopCQphZ06ij5qbDCyB2bJju1xHWIOWeMO X-Received: by 2002:a05:600c:154e:b0:401:73b2:f043 with SMTP id f14-20020a05600c154e00b0040173b2f043mr175919wmg.1.1697755822117; Thu, 19 Oct 2023 15:50:22 -0700 (PDT) Received: from ?IPV6:2a02:8011:e80c:0:a8cd:a90a:ba21:5ae1? ([2a02:8011:e80c:0:a8cd:a90a:ba21:5ae1]) by smtp.gmail.com with ESMTPSA id n12-20020adfe78c000000b00326f0ca3566sm341243wrm.50.2023.10.19.15.50.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Oct 2023 15:50:21 -0700 (PDT) Message-ID: Date: Thu, 19 Oct 2023 23:50:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] tools build: Fix llvm feature detection, still used by bpftool Content-Language: en-GB To: Andrii Nakryiko , Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Manu Bretelle , Adrian Hunter , Alexander Shishkin , Andi Kleen , Andrii Nakryiko , Anshuman Khandual , Carsten Haitzler , Eduard Zingerman , Fangrui Song , He Kuang , Ian Rogers , Ingo Molnar , James Clark , Jiri Olsa , Kan Liang , Leo Yan , llvm@lists.linux.dev, Madhavan Srinivasan , Mark Rutland , Namhyung Kim , Nathan Chancellor , "Naveen N. Rao" , Nick Desaulniers , Peter Zijlstra , Ravi Bangoria , Rob Herring , Tiezhu Yang , Tom Rix , Wang Nan , Wang ShaoBo , Yang Jihong , Yonghong Song , YueHaibing , linux-perf-users@vger.kernel.org, bpf@vger.kernel.org References: From: Quentin Monnet In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 19 Oct 2023 15:50:44 -0700 (PDT) On 19/10/2023 23:47, Andrii Nakryiko wrote: > On Thu, Oct 19, 2023 at 2:17 PM Arnaldo Carvalho de Melo > wrote: >> >> When removing the BPF event for perf a feature test that checks if the >> llvm devel files are availabe was removed but that is also used by >> bpftool. >> >> bpftool uses it to decide what kind of disassembly it will use: llvm or >> binutils based. >> >> Removing the tools/build/feature/test-llvm.cpp file made bpftool to >> always fallback to binutils disassembly, even with the llvm devel files >> installed, fix it by restoring just that small test-llvm.cpp test file. >> >> Fixes: 56b11a2126bf2f42 ("perf bpf: Remove support for embedding clang for compiling BPF events (-e foo.c)") > > Should we route this through the bpf-next tree to get the fix for > bpftool into Github mirror ASAP? It shouldn't be necessary. The GitHub mirror for bpftool uses its own feature detection mechanism, and is not affected here. This patch won't even make it to the mirror. Quentin