Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp805468pxu; Thu, 3 Dec 2020 13:08:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAt5B3qlZnpqzCf9BiApwwS/+KF01aiYV6+KulOhBIpdOLhrGqGrLybWlIflnrDrNXQkia X-Received: by 2002:a50:af21:: with SMTP id g30mr4504638edd.46.1607029680762; Thu, 03 Dec 2020 13:08:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607029680; cv=none; d=google.com; s=arc-20160816; b=kDaYVBmBA8dR9cFWW1GYOKlzVULxombdI2MSZMPVLP/L+aMr2InxeWyhJ0+Lx7hqK9 Y/BLvkhA1LWdCNJ5RHDrzbDe9ZwPfTTMR7Es6v8S7FTpy7VSij0o2BFyHCYdRiTtlQ0D 5vGtHG+zcEC1zggUgfH5lX/ibh3CuzisJwWDa3ONx0HjYHwwRacINguTJNbso866lbn+ ckUrjORLNcAwI9cx5aZ/Vrb6jIheI6xQEPjoCFC3pW1DDmSOhuh2MFDOo9TeiHb93SEI l3pHkN55PXEI9qi9X05gah/vC9OTGhroLzoqSx/Cr0c5djjh/aX4URMbHbhDIX/l9ond ehvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+eQGGEOMVXRPEoq8s6lQdLNuBt3JK/5yXKT7IpNr4IQ=; b=bB2rxmvP1CENhiMJYp34vxckuxYfThUpkte+2YozJci8BiTm8+V1W7h8eTJ8WOfiIY tebDGiBfZmRiMbl7qrQzlLWwdlRLtYOQX98BflQm6EhcLQbduNZPEk5dDzo0loFhDOxw Fw06TRExXbufktBm0QDaRzmqnsfcJS36VO8Y+5p5LPwxuB0GQmqJC76XslrPoZTDZ34Z z43wnoHp3GJt98f7zKqKWpzTuGIzQrbIpkITzFYoiURuHW1NLcIjd/B1bgblJNV/kJ+g ccSTjZY1zCsYXXYsq32jbR+n6aFNHm2cjXBItbwO1H0rRvPL9749Ld2DZNQVZJ2AdhKa 3JQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oROLXir8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb44si111759ejc.150.2020.12.03.13.07.36; Thu, 03 Dec 2020 13:08:00 -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=@gmail.com header.s=20161025 header.b=oROLXir8; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726597AbgLCVCT (ORCPT + 99 others); Thu, 3 Dec 2020 16:02:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgLCVCS (ORCPT ); Thu, 3 Dec 2020 16:02:18 -0500 Received: from mail-yb1-xb43.google.com (mail-yb1-xb43.google.com [IPv6:2607:f8b0:4864:20::b43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98864C061A4F; Thu, 3 Dec 2020 13:01:38 -0800 (PST) Received: by mail-yb1-xb43.google.com with SMTP id r127so3313639yba.10; Thu, 03 Dec 2020 13:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+eQGGEOMVXRPEoq8s6lQdLNuBt3JK/5yXKT7IpNr4IQ=; b=oROLXir8WRNqBkWEEUeU5/8JdCypCPu9aKHIVMtntYeXFFBwcFWRowKCkVeU8edlya UViecJWVPjManvSQDHtzvakIOT6b7ra+J8ANOI7A1usWwj1ASdZYMPxkkDPw6l6zMKMC dBtXyQqYvN9NzIQhUQKSHf1YSvi7FePJ3zXJ0TCwFYky8fbgI+/xoGVvicLkCrqECjXF zU+8SaD2nVFjAM/WvE9b67qTsOB1elfOQUczIDDZdqIQbPkRAhCZeE+RuDVf6mI6EH2Y 8GeX2PkxCk79PA83jA2YZMPOHHxlm6hOeJ+9KHIMzAE1Sgss/sCxh8WHF7P+DKKU2yNr 5CPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+eQGGEOMVXRPEoq8s6lQdLNuBt3JK/5yXKT7IpNr4IQ=; b=RcB4Mnr6RZ683eYe8zvCjunEpm7Gj7GsE0Dm2Rlp/kIQvISzGxB3MvLyZsfHQub/l9 zz1ao6X/ImAmVkjul/ee+cuVp8XDZ20/XtGwW00VzXFn7xORHAYEiAUuc1VsO5lkYoeN IQRU5x0GqGFncd02wSdDP7IXzcgFB9uRQ8/MXudACWcxAa8s/j0STxFEtr2hm2wSRUzG i+JTZPvUrb2ACd9RM/tiMTbJe/qAv3aMvc80rzifH5FvgAnv/5QjZiQkCCzZJuRZiyTa VgBjBiJqNYYGr0iv0P/GCdm5i+wFRO/2C/WedVDxfHObT9MUng4tgxS9TGyiuxrZ1238 Mqaw== X-Gm-Message-State: AOAM5320aFvYOeFcxSMGVemohPpzMoc3fCNNP68OJ+vw+JOdpMJhliQY l2XmvzFNGGAQpA/XHPIczHah2RwnwitwXHWV8FM= X-Received: by 2002:a25:c7c6:: with SMTP id w189mr1363230ybe.403.1607029297953; Thu, 03 Dec 2020 13:01:37 -0800 (PST) MIME-Version: 1.0 References: <20201203160245.1014867-1-jackmanb@google.com> <20201203160245.1014867-13-jackmanb@google.com> In-Reply-To: <20201203160245.1014867-13-jackmanb@google.com> From: Andrii Nakryiko Date: Thu, 3 Dec 2020 13:01:27 -0800 Message-ID: Subject: Re: [PATCH bpf-next v3 12/14] bpf: Pull tools/build/feature biz into selftests Makefile To: Brendan Jackman Cc: bpf , Alexei Starovoitov , Yonghong Song , Daniel Borkmann , KP Singh , Florent Revest , open list , Jann Horn Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 3, 2020 at 8:07 AM Brendan Jackman wrote: > > This is somewhat cargo-culted from the libbpf build. It will be used > in a subsequent patch to query for Clang BPF atomics support. > > Change-Id: I9318a1702170eb752acced35acbb33f45126c44c Haven't seen this before. What's this Change-Id business? > Signed-off-by: Brendan Jackman > --- > tools/testing/selftests/bpf/.gitignore | 1 + > tools/testing/selftests/bpf/Makefile | 38 ++++++++++++++++++++++++++ > 2 files changed, 39 insertions(+) All this just to detect the support for clang atomics?... Let's not pull in the entire feature-detection framework unnecessarily, selftests Makefile is complicated enough without that. [...]