Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp207891pxb; Wed, 4 Nov 2020 19:59:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0mb49sk6ZoaaeH1qGp1+LozkO+4wgacsR+7F4JZBDQdX9pgAc5Vt3iMG77fnnuZPxR/PM X-Received: by 2002:a17:906:38d9:: with SMTP id r25mr466442ejd.8.1604548798214; Wed, 04 Nov 2020 19:59:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604548798; cv=none; d=google.com; s=arc-20160816; b=RamiBqzMybc124fAsNz6hmqxuoh+9fDon0nuFPfunXGwt6gmwMLluz/GTGr+RW8vFk mPWnf3IdCCyzitnjOv5xWz0NqIXvpLV4SpChJpGkCuPW9mKlgyBt0PYMAq797YeRu7Sp 4NTzlrLFa3yTqIG4+cWhuzpWRoIbo1FtE7AKgG1PHj5ec3ogYyBnoFpuXTGlS+TLesAl 2GV8CoOfclfOpYnkgbgXa8IbDIzYIEFva1Vbz+QUl1fjn28Vsm8Xz6qYbURuBrETgSpl QVppl8k0lHmU4L/TM+VxbppjJpy+RHF17iLBVEn5NPTecTxz0z39QX131vRs20BmI7JW y5Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1vBc40WnULtxsRzxXjz+MGtnd6AnH6pwkSo6JOJzFec=; b=X5wYxD0AqDlNHsXoPwVoxqvG0O6vsHFoVXkp5Z5Ty0lPj2S1H3PhrOkGu2g8r/PXD1 dce7dDfDB+sVrFv24n/tdhcZZZ/6DkCXJNGuoDbIUFo4vxVZuTTLprE/lLxT1W5+nxQK R4w23IKkZN5L4hGHTNy+kuYo3e0+iGcXrKj+0Ia+72ELKutbvoD0/bX2TcqN0LhDHECe QtHaHcOioPukZ0jMXnPjf2pVtaTIjTNWD4EpY19c8kfR/rsCc1us6EACa8AFvz2KZh72 CtwlejsVw+AkPghTC6VjR0TV7tyJNYKNVOLSmUria7WvjV41npT3iEMKTXfhENoVFp2p UFVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PiTqPeSL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f24si237419ejq.520.2020.11.04.19.59.36; Wed, 04 Nov 2020 19:59:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=PiTqPeSL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387801AbgKEAv4 (ORCPT + 99 others); Wed, 4 Nov 2020 19:51:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:52600 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731308AbgKEAvz (ORCPT ); Wed, 4 Nov 2020 19:51:55 -0500 Received: from X1 (unknown [208.106.6.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 28A9C20BED; Thu, 5 Nov 2020 00:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604537515; bh=sd2Lc3Z6qbtJMtjDbNwU6unLuDouOQBCMn3BqCzKK2Q=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PiTqPeSLem6NvwNWxPEOjmj7+A9eoe6TRqZsDAZqlo+mVD7L1JxbvORdgu+nfLQ+H VQSUkQn9JbIBqvZHJWw4ME3n/PwBt+CPBjl6EikqtjYpdFegPULy/tt7nYE6gV5d5O FiBN3RhRwNPiy8cNtPBOZwPbUEhuuS+M4eZeHBGE= Date: Wed, 4 Nov 2020 16:51:53 -0800 From: Andrew Morton To: Nick Desaulniers Cc: stable@vger.kernel.org, Chen Yu , Jarkko Sakkinen , Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , Nathan Chancellor , Miguel Ojeda , Kees Cook , Marco Elver , Arvind Sankar , Randy Dunlap , Sami Tolvanen , Ingo Molnar , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH] compiler-clang: remove version check for BPF Tracing Message-Id: <20201104165153.c10f4f2f91c0d4748df1c3bf@linux-foundation.org> In-Reply-To: <20201104191052.390657-1-ndesaulniers@google.com> References: <20201104191052.390657-1-ndesaulniers@google.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Nov 2020 11:10:51 -0800 Nick Desaulniers wrote: > bpftrace parses the kernel headers and uses Clang under the hood. Remove > the version check when __BPF_TRACING__ is defined (as bpftrace does) so > that this tool can continue to parse kernel headers, even with older > clang sources. > > Cc: > Fixes: commit 1f7a44f63e6c ("compiler-clang: add build check for clang 10.0.1") 1f7a44f63e6c is only in 5.10-rcX, so I shall remove the cc:stable.