Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6186583ybc; Wed, 27 Nov 2019 16:53:27 -0800 (PST) X-Google-Smtp-Source: APXvYqypSk83Sc4L2dxEGpaNv6nMftPg89LOfOPIzSfIpQMmBgH8SdZaEy5Dx537O12NxgsMFwrM X-Received: by 2002:a17:906:80c:: with SMTP id e12mr52748600ejd.59.1574902406990; Wed, 27 Nov 2019 16:53:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574902406; cv=none; d=google.com; s=arc-20160816; b=YwrMpH/pJMN6kAyJW8IOtV6MrKUddA56PEx6w5RoIptn/HJvoHYMcKA977Fumc9TWY dSwsAw7E7yy2xogjmxqyNFGP3WN01MxrNvNbGJDFJZK5cBIu92O2782rwXyOajHuZ2AQ 2gcUG4h2PMEzbhX98i2+S4X6PyfIxpimcYv8e8SL3OgfThmF6mcs3wvitPVq9MGGF2H/ iIzA8m5sI3EhjoewMgGkbbAu3HzOc8BP6lR1f8EwBgnywu4HIMi4jFvfh3N5Ufw2yrPK f04AL7Vwq/AyCJcSndju4os3YioC3IDcpt1KK2kWGYvGvb8VagfhEsVv+2lBH32W/uae 0d1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:from:dkim-signature; bh=iHydohAPOzO89msLeZh6Uwj6AIghWzgwnlhHO0NzO6g=; b=eeDCAGYI41i2qsqnvnMh1qFTWJFRnRRNS3XYuuVspN4N4Mm6C8sbqD9qXi5MGQzBo+ 7zIXMP4ias6Pq7zgrDosue7QYNifDsSDtZgMKvHoH3jNHOwi3HU1SoAalcg8PX591xQj /ck1vgCslblfElbvaNJINjg4Fv+63VMqCXFv39iHpvwcOFjJ2wStUDSPSyU7X7GBJdkK Ez81N8TczfrZua7z4z5IpxmaezoXfO+8RXCfYgYhPBtnNKv+Ror3CD6TPtKgFIte3wCB ZtNHLetwwyV37zDrOZEJhXL2SJ42hNC0nTQORcRqKSEDVkI8SNNZuxidqnq0jCPYmcLq IQRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=bFHkQXLF; 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=fail (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 i30si12473343edd.124.2019.11.27.16.53.02; Wed, 27 Nov 2019 16:53:26 -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=fail header.i=@gmail.com header.s=20161025 header.b=bFHkQXLF; 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=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727576AbfK1Auo (ORCPT + 99 others); Wed, 27 Nov 2019 19:50:44 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:37274 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbfK1Aun (ORCPT ); Wed, 27 Nov 2019 19:50:43 -0500 Received: by mail-qt1-f194.google.com with SMTP id w47so23234750qtk.4; Wed, 27 Nov 2019 16:50:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:cc:message-id; bh=iHydohAPOzO89msLeZh6Uwj6AIghWzgwnlhHO0NzO6g=; b=bFHkQXLFu7iTjmmzSIGubl0LahGtEszr34tCeYHWaXu2wSHYyHif7Z4NFNLLYf6X14 pMnqfQo0cfYcKpeQh4RhY0H7ZfkXGMXB7Uzz8aARgiaUyPLnpTTFgBKRxqPw9sXfjSia 43sDnNdvGsTQEkmOldJazVnvc37MdVe8S3h59aNJBVP3g3PWk0QLFP7b+MIYiGvNyO3K WmcRIaLXoCcjq/zwk9el787AGFygnbjHeYY+ci6s2DyKD6KzGbKFbCDbLZg0cXbxRcpx c5u9Qc5u3pdWXSljc98z8CdBNEi5TLNgens6V0XVASkaOGMYfDdkcK4a8vE7GG+emOtP XURw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:cc:message-id; bh=iHydohAPOzO89msLeZh6Uwj6AIghWzgwnlhHO0NzO6g=; b=P2X+bhuV4miu+jQKZ83Kjl2qADOLJFvzKeRQq+T1kHwBjDv/5PsORdOi1U24jjwd9o rQaJK3dmeJD2tjgG6kt/4uxGOx8DQ7Txg0TfhhRNWG21oRkh5mJVMQTiv9LSKJXs0kj3 UqRDQnctbx/kD4RNRDV7WP9ad7ojalMXmNjCdDqrMPWogkh3SlYdUlBQRzLKaCMTK2y4 5bOohT5AuelAAHNrwP24ooutKkAkXWhKTWLHjvOo54fuNhEEF4VIfBpk0niPwxkOoRuN O7oOvVODh9kBF9Sw/KqFzfs/tA5aPaWdTFVmTGqzmp+y3CqTU2mFsyT9ReqdzlR4cSFY iwfw== X-Gm-Message-State: APjAAAW9tFpG/dz6IAo08TvCq7L4pNVz+O4Ruinb0Fgf3DJFmF8Gr9d1 Fj/CS1uj04bzNRQmdfmgJBrBbsno7/OZsg== X-Received: by 2002:ac8:661a:: with SMTP id c26mr43028921qtp.317.1574902240900; Wed, 27 Nov 2019 16:50:40 -0800 (PST) Received: from [192.168.86.249] ([179.97.35.50]) by smtp.gmail.com with ESMTPSA id z6sm7629261qkz.101.2019.11.27.16.50.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Nov 2019 16:50:40 -0800 (PST) From: Arnaldo Carvalho de Melo X-Google-Original-From: Arnaldo Carvalho de Melo Date: Wed, 27 Nov 2019 21:51:15 -0300 User-Agent: K-9 Mail for Android In-Reply-To: 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> <20191127013901.GE29071@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] libbpf: Fix up generation of bpf_helper_defs.h To: Alexei Starovoitov CC: Jakub Kicinski , Stanislav Fomichev , Andrii Nakryiko , Arnaldo Carvalho de Melo , =?ISO-8859-1?Q?Toke_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 Message-ID: <2993CDB0-8D4D-4A0C-9DB2-8FDD1A0538AB@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On November 27, 2019 9:31:41 PM GMT-03:00, Alexei Starovoitov wrote: >On Tue, Nov 26, 2019 at 5:39 PM Arnaldo Carvalho de Melo > wrote: >> >> 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=2E7, works just fine :-) >> > > So maybe doing s/python3/python/ is the way to go, whatever >> > > default python is installed, it should work with that=2E >> >> > That increases the risk someone will make a python2-only change >> > and break Python 3=2E >> >> > 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=2E >> >> 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=3D1 is >the >> way to go=2E >> >> In the end, kinda nothing to see here, go back to adding cool new >stuff, >> lets not hold eBPF from progressing ;-P > >Absolutely=2E I think if some distro is still using 32-bit userland it's >likely >so much behind anything modern that its kernel is equally old too >and appeal of new features (bpf or anything else) is probably low=2E >So if I were you I would keep 32-bit builds of perf supported, but with >minimal effort=2E I try not to assume too much, just try to keep what's being tested to cont= inue to at least build=2E >Re: patch itself=2E >I can take it as-is into bpf tree and it will be in Linus's tree in few >days=2E >Or I can take only tools/lib/bpf/Makefile hunk and you can take >tools/perf/MANIFEST via perf tree? >Whichever way is fine=2E Take it as one, I think it's what should have been in the cset it is fixin= g, that way no breakage would have happened=2E - Arnaldo