Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8834556ybl; Fri, 17 Jan 2020 01:52:03 -0800 (PST) X-Google-Smtp-Source: APXvYqwA6inRms6A01fbojWbcK0bR+7qlTSa5+BYCx7klmdtWDHu/BV3whLhYH2YIq/JPuzHX3Fo X-Received: by 2002:aca:ef82:: with SMTP id n124mr2833220oih.88.1579254723159; Fri, 17 Jan 2020 01:52:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579254723; cv=none; d=google.com; s=arc-20160816; b=ocBzyrXivBMposk0AJ9ApTxuubl/6acJkEef5PXf+TCPZyrG5czrRvFFXtcZV0tLef 9Khia42RlIwqT/K6Q94NCgyEr8nMLlK3VDLG9nMAERMIkBNQPgRmjrocZx1cRtsYLOxo HjgLCG7/l/jyjnITMq+JcJ0uFcRqrmzXG4zhCXMeczQXsKU04ho4+Qc7pb3KRBDdCxW5 p6h+/G3HQPulKMBhGat6moDJs55x8epYSkVNiuKGNza2H6RzN9tRsBMK6qFk3tHfrCv+ JfWEDLsw2f05tmZjEvob70+7wEfwFMLga9lCVCf2HqAC8qvkrPNxNrV8itpFk/c01+tg xGKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=oJRJOOtAJx4rABOIyWYmHnWYUrcoGrCqCdDRh2YY52I=; b=JAVSxEqTqIf8K5GBczDdQPJGt4nYIg4Rn13b9R3xr0QBJIy6ws4JwGqc5yc5zUbTuh KH7ZqVi7ytqrLh+zBoDvRj9VuhHslFWaBcBPJRAPsQqYaDFyBmiu0o84YWsWzvBKummQ sdfSY9IG8QDBrwN17jWJN2UTI27zHYW5cN/8rR0hWOMGOmVApbxoF05ussCjKWARY2Tb eL2qKZAlUvl249/kt5HWfv1hHTl3TD0Ev1QEU3UdgiOf/qtlL8bUqA5WfBBWuzNYJrjv +Mtb3FOSDPqJboT7QAA90+3qq97Ew3t56eDXGRVZvtajYV01sIZ4j3JiyVmqc6nLfeZv FFlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YD19WJUY; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l78si13446340oih.182.2020.01.17.01.51.51; Fri, 17 Jan 2020 01:52:03 -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=@redhat.com header.s=mimecast20190719 header.b=YD19WJUY; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726855AbgAQJut (ORCPT + 99 others); Fri, 17 Jan 2020 04:50:49 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:27538 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726362AbgAQJut (ORCPT ); Fri, 17 Jan 2020 04:50:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579254648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=oJRJOOtAJx4rABOIyWYmHnWYUrcoGrCqCdDRh2YY52I=; b=YD19WJUYZAJBREAk8ub3j0ctH0SOOPxc3Gn6Yaa9Mrn59JcDAZMvuVtG/R7RI4y738i+Di Pd+Mo+sOjox0XRP1ZZD/t/+WtySQnVUsxrwYCqtJd5YbKR2J+qGdmlYGiUHUPNCBNbpksW U6Yfw5ac+GEBbddZgFWoa3z0WzMQvjM= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-209-Jb8pC3TmOVC8GHx3E3vcsg-1; Fri, 17 Jan 2020 04:50:47 -0500 X-MC-Unique: Jb8pC3TmOVC8GHx3E3vcsg-1 Received: by mail-lj1-f199.google.com with SMTP id u9so6042528ljg.12 for ; Fri, 17 Jan 2020 01:50:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=oJRJOOtAJx4rABOIyWYmHnWYUrcoGrCqCdDRh2YY52I=; b=nZcK5ZtDZ/dnyAsrSsLNkxZb8kqMxhVw/VJi/QTCY5+ExlMu5dNx2HvYKC0wzVnp5R Hu2SnDwGHZu2dwO5nK6M/0rgguJA9nQISSjJ7tb+Au7faejk76Qy+oI3R8EM2ghVz/PX idyUQNdCxUFruez5OEJg49Kjh0sP9ty9hjbyZVSTU5pKZt9DQbmZDylTHebHZSrjREJN K/x4k1BDNCT5FIdI0lE5Yx6BmovvF1ZHyQHOTLjQA685k0UFNYeqjzP94Yv1I0nAAaYW 706iKchFkHlURTXvBoTyE60dieMp9BkzV1oYY3XI5i5aZcWbfAhh4Cg1nphWusonkGGS pwPA== X-Gm-Message-State: APjAAAU7WiSeYJEhM7RjJiWISbmo141Ve1oi5CTlZUCQ1hur3aN1c0OL +pRFm+PdNM5mU5ORCtqZvzzY0GieVTngGoGFsUiEJ/AY13IAvNPVdEkHUAVmh0GFTJH3rSV1N8y yVGah5OyVog5BFgW5Css6t6+c X-Received: by 2002:a2e:3a0c:: with SMTP id h12mr5110078lja.200.1579254646256; Fri, 17 Jan 2020 01:50:46 -0800 (PST) X-Received: by 2002:a2e:3a0c:: with SMTP id h12mr5110047lja.200.1579254646128; Fri, 17 Jan 2020 01:50:46 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id s9sm14012128ljh.90.2020.01.17.01.50.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2020 01:50:45 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id D7C9C1804D6; Fri, 17 Jan 2020 10:50:44 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Andrii Nakryiko Cc: Alexei Starovoitov , Daniel Borkmann , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , Doug Ledford , Jason Gunthorpe , "David S. Miller" , Jakub Kicinski , Jesper Dangaard Brouer , John Fastabend , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Shuah Khan , Networking , bpf , open list , linux-rdma@vger.kernel.org, "open list\:KERNEL SELFTEST FRAMEWORK" , clang-built-linux@googlegroups.com Subject: Re: [PATCH bpf-next v3 09/11] selftests: Remove tools/lib/bpf from include path In-Reply-To: References: <157918093154.1357254.7616059374996162336.stgit@toke.dk> <157918094179.1357254.14428494370073273452.stgit@toke.dk> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 17 Jan 2020 10:50:44 +0100 Message-ID: <87o8v2qumj.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Andrii Nakryiko writes: > On Thu, Jan 16, 2020 at 2:41 PM Andrii Nakryiko > wrote: >> >> On Thu, Jan 16, 2020 at 5:28 AM Toke H=C3=B8iland-J=C3=B8rgensen wrote: >> > >> > From: Toke H=C3=B8iland-J=C3=B8rgensen >> > >> > To make sure no new files are introduced that doesn't include the bpf/ >> > prefix in its #include, remove tools/lib/bpf from the include path >> > entirely. >> > >> > Instead, we introduce a new header files directory under the scratch t= ools/ >> > dir, and add a rule to run the 'install_headers' rule from libbpf to h= ave a >> > full set of consistent libbpf headers in $(OUTPUT)/tools/include/bpf, = and >> > then use $(OUTPUT)/tools/include as the include path for selftests. >> > >> > For consistency we also make sure we put all the scratch build files f= rom >> > other bpftool and libbpf into tools/build/, so everything stays within >> > selftests/. >> > >> > Signed-off-by: Toke H=C3=B8iland-J=C3=B8rgensen >> > --- > > BTW, this change also now forces full rebuild regardless if anything > changed or not :( It does? Hmm, that was not intentional (I was mostly focused on making sure a clean make worked, not the opposite). I'll see if I can't fix that as well... -Toke