Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4934417ybc; Tue, 26 Nov 2019 17:40:30 -0800 (PST) X-Google-Smtp-Source: APXvYqzYuQS/hwUZ7wTP6A2/YP3LlqcQ6B/WB5jZh9VbByuFQtDVAhyxkoUuJOVahV/5cB7+0MT/ X-Received: by 2002:a50:c3c5:: with SMTP id i5mr29134847edf.137.1574818830660; Tue, 26 Nov 2019 17:40:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574818830; cv=none; d=google.com; s=arc-20160816; b=j7ZmnzJxcmPnayk/U+lE19G03mTW/DY0poiN5YWZ7CClDprvqiKCHWEsvgI3HDqU6K ZbhPa8OpOs3ZedmeayEhTnpWS/TMYxUfrDKfpMWfCcwYJeUiJC3H++oGXqfvlRDhkWcO wQr2RZ/9Gw+33DXe3QHcx8YPqY5U4Ff5BWLjwYvIYrSP7HuDeFWHFp17EdgRJE6z4r4B W6IVUSYSvVj/o6Nh/CwS7wznqa2Q3lWqWvIZCo+fScvj6Nt4sn6ZVd5jHNpGPXUcwh/Z qVZWE6jAvZ8SKuoN7P76kc5+g2lSa7U4mr4sCNMqhmdKZpvCPIYceuuSy1sOtP4g5I6X CNAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date:from:dkim-signature; bh=15pddQ+tJiIXUfy3ihFVIOBDW7KImamgJuRtImRC8/8=; b=WEV1LvCUtn2IpuzzkqhWmjHaErpjSVDgMU4LarNT+gkn5Ror77hHsSIDytVkWhL0dZ 3qD/2ndO/7sr6kbxhbL1ikoUAC170vquS4FyBTq8ZuK2Dz8n7OUW6xLJWfhRoXawPjai Wf9ojCr4ZYfqocI/iz3q0jhtg9PjwjbzPF3rrgyMCft+LiaI7WXAhW0K3mwQ70/U+Oi0 HUe8NIXl9FW2YdGAAvZFrhBaXhH6YbmfeIACKuaTIiEPeOnIL/PVGHWkDjUMC9BVlEWa 3C1nkdDjC8NCpykVTEh+PWOgdw4J9/DTAtPEu/cv1yjx/Yz6OKgwu50UianoHuI65uYA /dAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JpsOGGnm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a21si1204748eds.231.2019.11.26.17.40.06; Tue, 26 Nov 2019 17:40:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JpsOGGnm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727028AbfK0BjG (ORCPT + 99 others); Tue, 26 Nov 2019 20:39:06 -0500 Received: from mail-qk1-f195.google.com ([209.85.222.195]:46806 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbfK0BjF (ORCPT ); Tue, 26 Nov 2019 20:39:05 -0500 Received: by mail-qk1-f195.google.com with SMTP id h15so18013478qka.13; Tue, 26 Nov 2019 17:39:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=15pddQ+tJiIXUfy3ihFVIOBDW7KImamgJuRtImRC8/8=; b=JpsOGGnmffjuhrKG3Xn/W8jh9MetQvivpVP1UDN3ItLqXlzeuYVFJlHSBAciEqQ8cR hggzbzT6n1imn8zpPvLUI+Tu2NAGgx4Z9iRT3bKCUgFdxvbGMpeUf9LH2cLN3ccxbaIu LqNCQ+PmPgWy5jZnbxLQNXHVFqjxvwVdfXZWr/h0mvVUOLaud4aUa1zGoJRt2Bi2aC4j jDXYbkZDkY0EiM3L8vJivLUvBHElfGmzLFpguphf9hnGGJyiXLg4942Pq4bVPjaJ8HO5 l7LMqP3sRdZOVw/kQXAqJ+TZ1JqVgYu8xBo2M5+6hDa5XH5gXyO74Wq5UGkminHJvzzZ tAzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=15pddQ+tJiIXUfy3ihFVIOBDW7KImamgJuRtImRC8/8=; b=nxc54wds44IM4UiuerJ5rfAVoSePuRYDu55V00AHMLh5t96zEqj0IlaS0SCJMH5gKR GuXW7tJ8UKN81M1P9MiNiqKyIW6USzLZ0VQ7xbgLJekK/j+56Mx4gnUHi1DwI03PCh8c q7VCzGVeM7qN73o0vEfw+wlfXkUctmefH8sppkllDNJ8JBJgI4w3qFecCfVD/18DJqDG uz65Wwg0UNfpkAYWBwcaUpZjtC2t/tkffRsBQJJOad1eGjGpPf/ETY1RJDgKCTyJFj1W RKNNLVveXrQZaz0TRMsBKdvAD+KOhUnX3yGNTQbnIkRd2jGajAxwc7C/Xi+iqWeWvML4 NLFw== X-Gm-Message-State: APjAAAV2d2aUBSAyvKArVoVFxo61UHCOhlMgHldqda1hHA3A9lQP8z8z b5+1PJJkPXYKaFzNclV5aSw= X-Received: by 2002:a05:620a:14bc:: with SMTP id x28mr1746213qkj.494.1574818744384; Tue, 26 Nov 2019 17:39:04 -0800 (PST) Received: from quaco.ghostprotocols.net ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id n185sm5990392qkd.32.2019.11.26.17.39.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Nov 2019 17:39:03 -0800 (PST) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 3660740D3E; Tue, 26 Nov 2019 22:39:01 -0300 (-03) Date: Tue, 26 Nov 2019 22:39:01 -0300 To: Jakub Kicinski Cc: Stanislav Fomichev , Andrii Nakryiko , Arnaldo Carvalho de Melo , Toke =?iso-8859-1?Q?H=F8iland-J=F8rgensen?= , Andrii Nakryiko , Adrian Hunter , Alexei Starovoitov , Daniel Borkmann , Jiri Olsa , Martin KaFai Lau , Namhyung Kim , bpf , Networking , linux-perf-users@vger.kernel.org, Linux Kernel Mailing List , Quentin Monnet Subject: Re: [PATCH] libbpf: Fix up generation of bpf_helper_defs.h Message-ID: <20191127013901.GE29071@kernel.org> References: <87imn6y4n9.fsf@toke.dk> <20191126183451.GC29071@kernel.org> <87d0dexyij.fsf@toke.dk> <20191126190450.GD29071@kernel.org> <20191126221018.GA22719@kernel.org> <20191126221733.GB22719@kernel.org> <20191126231030.GE3145429@mini-arch.hsd1.ca.comcast.net> <20191126155228.0e6ed54c@cakuba.netronome.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191126155228.0e6ed54c@cakuba.netronome.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Nov 26, 2019 at 03:52:28PM -0800, Jakub Kicinski escreveu: > On Tue, 26 Nov 2019 15:10:30 -0800, Stanislav Fomichev wrote: > > We are using this script with python2.7, works just fine :-) > > So maybe doing s/python3/python/ is the way to go, whatever > > default python is installed, it should work with that. > That increases the risk someone will make a python2-only change > and break Python 3. > Python 2 is dead, I'm honestly surprised this needs to be said :) It shouldn't have to be said, and probably it is old school to try and keep things portable when there is no need to use new stuff for simple tasks like this. Anyway, it seems its just a matter of adding the python3 package to the old container images and then most of them will work with what is in that script, what doesn't work is really old and then NO_LIBBPF=1 is the way to go. In the end, kinda nothing to see here, go back to adding cool new stuff, lets not hold eBPF from progressing ;-P - Arnaldo