Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp793046imw; Fri, 15 Jul 2022 13:00:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uIV4bF70VWP09Lq+V0UbfW91YIWLGpBxaglAY5AvXXU9rkO0ztnSf+2Mk+Kq3+6KD//wzQ X-Received: by 2002:a63:f91b:0:b0:40d:d291:1555 with SMTP id h27-20020a63f91b000000b0040dd2911555mr13836302pgi.399.1657915224037; Fri, 15 Jul 2022 13:00:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657915224; cv=none; d=google.com; s=arc-20160816; b=fmy7vG/GqYwWX4WQHaZ1fCmG8Eiom7vyyznvhKDSK2r2AvKy97phG4zI5pRjXQ81it ieusrKRM2H+1PXr331Bq1wj6Yh0ffFiBaJ7/rodF3BAAKS8UAhOif65ZAj/cPKKE4gW0 BqdHJRq3eBAwAeODejn/UEMZfbl8l3vskdw3SZqjCbBCtmuxXa7LNde8nVUTCjsW9/k6 6lsPEin5bh/XHQzslKVq3tyrnwtPNPO1vwrR1ak67B8h0+cr0NqQZ8E+dixWQoOnkZp5 6qdIV2PXUbF/RQlU7f6O2YA6BDpRA7Uro6+2YJxTObnhqh8UzbZC4rIFYo95eCBCW/7Y Lx5w== 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=ECRZbqD30U/yjZK+otG1kCGiTz9MGMJ0mNBRNxu2Ji8=; b=sO+aqvQsbCoV1BP1pefXXxQRmLmncMDZA6jKcudRwo5f6wcKYGXd/vSTiWsvmS79X5 IVWq5cWWXOle6YZzQ7ChPq4GCnKKq35VOEkAQCM7jtH7QDv1ROCnfFB03BC6/+Za5d/L RvsCMqHumQCQnG2Pdx37Akw9fYo5MiGSlRO9NkrIaeTD5PmAYN5ep1c6O0mgK6SEAdfq g15SnZzyAHXyq9EeZvUXLlG8KNAfSRB+h63bUxl8P5kxiIaj1ZJC31mUJI4eugoC1Y63 zXSjHVpX36jzEMPWWn7HpVEKv0Y/0zdx8LZAwbRVE28zKz7Xncigr2pZEhdjYa6GWguG jktw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anarazel.de header.s=fm3 header.b=tWuwEKeC; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oxr84gMx; 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 a2-20020a63cd42000000b003f5f3fc0d1fsi5831479pgj.57.2022.07.15.13.00.07; Fri, 15 Jul 2022 13:00:24 -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=tWuwEKeC; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=oxr84gMx; 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 S230392AbiGOTqV (ORCPT + 99 others); Fri, 15 Jul 2022 15:46:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbiGOTqT (ORCPT ); Fri, 15 Jul 2022 15:46:19 -0400 Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2076A13F49; Fri, 15 Jul 2022 12:46:19 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0D1AE3200D25; Fri, 15 Jul 2022 15:46:17 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 15 Jul 2022 15:46:18 -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=1657914377; x=1658000777; bh=ECRZbqD30U /yjZK+otG1kCGiTz9MGMJ0mNBRNxu2Ji8=; b=tWuwEKeCg0cT1B6In+V9K+1Rad sttYpa1HFhdm6bRRhSjkCTgXEokQfmGJwFRCJQUJOYbXkyTGg2hmHVIGyEccjGUV fgTzCu5ZEBRMlil3GQ0dyrtvWf4RMUwtGzuBwrNHkg/nzWVwKUVZOdxlbu5JpdJu lXZjUMhE0FhgMitd90NU7mN5NAr9lczkQ68uNLzz/r7d8SaQIfLFLuv9+Fow8nur Dd4g0Lm9YsgkqFYQq/P9Nd9hch/LDcO4ejs1g3bDa7MGAGmHHlHhw7qK9TMIPVm6 eKpH/OwKKWJQFza11CoG2kKu1gIFj8ZHmk0WXBBtuoyADVHvJYs6vqS+do+Q== 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=1657914377; x=1658000777; bh=ECRZbqD30U/yjZK+otG1kCGiTz9M GMJ0mNBRNxu2Ji8=; b=oxr84gMx8t417a4Wgq7NvUVOZ5yxPJAaW0WWFrrWA8/k J4zAHzQlnWnYveujvINORMIm1KcyAj6t7FIYgxFfOVSxhc8pldvY8ifI9V9hrjg2 7Hp6sqdtd0OBbhR1ysf+Tp8LDZshHVYvjBMt+L2KH1cqJJEYUZAAxKDXq5NelxCy 5nRw71cN9Ks6gmZxi40vhBCNyacPru/cqX26JIljY9UGVK2JW5M2K7fuD2n4SO4D GDRda5ce0cd3+rbABW7OuV8UO0FYOdz2vsxh+T3lWTeu5Z1C1CaxnMIWx6q0aG7F bDT08uwHbC8irnfCJ+oA79wVuoI6JIKILvMXy/Mnsg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudekuddgudeggecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpeetnhgu rhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgrrhgriigvlhdruggvqeenucggtf frrghtthgvrhhnpedvffefvefhteevffegieetfefhtddvffejvefhueetgeeludehteev udeitedtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Jul 2022 15:46:17 -0400 (EDT) Date: Fri, 15 Jul 2022 12:46:16 -0700 From: Andres Freund To: Quentin Monnet Cc: bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Alexei Starovoitov , Arnaldo Carvalho de Melo , Jiri Olsa , Sedat Dilek Subject: Re: [PATCH v2 2/5] tools include: add dis-asm-compat.h to handle version differences Message-ID: <20220715194616.6w7ra6mcdvfsmld3@awork3.anarazel.de> References: <20220622231624.t63bkmkzphqvh3kx@alap3.anarazel.de> <20220703212551.1114923-1-andres@anarazel.de> <20220703212551.1114923-3-andres@anarazel.de> <20220715193927.x6xy4h7n5rrh2ndc@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220715193927.x6xy4h7n5rrh2ndc@awork3.anarazel.de> 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-15 12:39:27 -0700, Andres Freund wrote: > On 2022-07-05 14:44:07 +0100, Quentin Monnet wrote: > > > diff --git a/tools/include/tools/dis-asm-compat.h b/tools/include/tools/dis-asm-compat.h > > > new file mode 100644 > > > index 000000000000..d1d003ee3e2f > > > --- /dev/null > > > +++ b/tools/include/tools/dis-asm-compat.h > > > @@ -0,0 +1,53 @@ > > > +/* SPDX-License-Identifier: GPL-2.0 */ > > > > Any chance you could contribute this wrapper as dual-licenced > > (GPL-2.0-only OR BSD-2-Clause), for better compatibility with the rest > > of bpftool's code? > > Happy to do that from my end - however, right now it includes > linux/compiler.h, which is GPL-2.0. I don't know what the policy around that > is - is it just a statement about the licence of the header itself, or does it > effectively include its dependencies? FWIW, dis-asm.h itself is GPL-3-or-later. Greetings, Andres Freund