Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8367169ybl; Thu, 16 Jan 2020 15:27:54 -0800 (PST) X-Google-Smtp-Source: APXvYqw7dSrXnvzyL3MvdHo6XqMcw3B8AdTN6p2OJxZN5y9TmSnPCYsUaH4NmWNAv/UPITOfviAj X-Received: by 2002:aca:2210:: with SMTP id b16mr1299259oic.32.1579217274700; Thu, 16 Jan 2020 15:27:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579217274; cv=none; d=google.com; s=arc-20160816; b=aZaaNOUZg/MiufWeCIjuJexETsP06NW2RnqrlRi5DMiJtPMSXV0x6vTTizZX4ZEH8m a3RyoIEdGelMlXMvmuxq6klPqnAU4wiS43b/+IDEBzLGI+48d8tuk1k7A5tdqdLiVcSE g5qng9KIBND+9Ad3kXDSIIlN7wDx5Q/8alCMTGHKObVgI4b+BqEyzdcpG3NjfSrnt3GY +E52m1gpANllbllk+1DsWg++ngBIFPPLol/IKlnxWYJFUaC480NIB7NxQzByogDwf1Ra MWuZtD43H/FBqo/iVUwz7q1m0qWwOsVurz/KAiVimdmWbSo4tDxRfdN9yZtA3xvyGzOe xIsw== 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:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=oCyvl4b908HZ5JJcSmjdgvOBWBhwJ2mkB7jFnC6f1FY=; b=rqmPA14bcCm+bGX6tvew+wcDa4h55dzPBCH5C8dE60r22iW8wUfNrhxjw5hE9a0VRt Dz3S2jLhPQfzVZrhMqWszDYEJZHgPMZCEBsQ0Q3s7KZuv4cPszUzHJ0c2YT1YYoHveSt qNFsvPMeQ/sg5ZtmBDw+Cd9CG2unakUuW6pmggY6Pe/8g5+b75ty7iu250vOqBQdPzEZ ND+p7qIz62H+iBhTc1XHKlyIoXIufL8HREem9CshCY1yP3uej1J2kO6eY1xEofuwril8 Zz/xfzpgvqK09Q8rCXkjsez6afJOrTU1Pl7QQcrpQUPIwR+R1dLdvbgosrbxrsGXNCDV PPKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z+2bgoAI; 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 p83si12496611oih.198.2020.01.16.15.27.43; Thu, 16 Jan 2020 15:27:54 -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=Z+2bgoAI; 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 S2389950AbgAPWXV (ORCPT + 99 others); Thu, 16 Jan 2020 17:23:21 -0500 Received: from mail-qv1-f67.google.com ([209.85.219.67]:43562 "EHLO mail-qv1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730215AbgAPWXU (ORCPT ); Thu, 16 Jan 2020 17:23:20 -0500 Received: by mail-qv1-f67.google.com with SMTP id p2so9857194qvo.10; Thu, 16 Jan 2020 14:23:20 -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:content-transfer-encoding; bh=oCyvl4b908HZ5JJcSmjdgvOBWBhwJ2mkB7jFnC6f1FY=; b=Z+2bgoAIiCfuwDfL3sKfHeuQXY/yIYpeyXDqfGvh6AOzAOaFKpxWWH9wfjFh1GxdK2 l4BX4dg+eJJQsddWhrzjVp+s7L+VpIvk0vNqYU+iM2JI5a96Qgc4B6hKzZlnj75Um48B Te2llVFvtQ98wn6p4KTTUMb+35O0ym1bek5benfOLucwfwOJfAQXdKw3can2NprWC+rr EjiUDeeMx0RoqXOEbmaevb0IA4ODVDLq3W+dfwnbbixgdxYBkhoPzzOca77hLcUA2n0j Cmdy3+L4SPsshEWohMM9PjOIttG1HH4B2FkrOeqD26bqFhrbo/xyMdCzMBcm3m3n11/8 4+6g== 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:content-transfer-encoding; bh=oCyvl4b908HZ5JJcSmjdgvOBWBhwJ2mkB7jFnC6f1FY=; b=toqlj90yKbnUQtWZpMSR3Bv7wSpybsLri0azXT8uKxLl1abp8puhoPgcjhUeGzds7a b711ZWi2cPo7/HqZNTmo51F2Nks5PbC8A39jiU7cmL1CWNw3ZhoJiEYwv2vinp5UDI6Z itehWhlTK5EO4ShXIHfs7fvIzafgLkdJS02h55GhYaHAOV/y1Sl1sVd8rDrpLFK0RhEA MwTvS/VxKmKu1d18aCF9dWlbBriicS7v9qLDZcPdZ/g+hJIf8rMZfaQZz3grp9T3hazi AMtWWKQkvaymJc57lJYngzPhs2zGu8EVjUViNus3q6o6nYh7/jOj4urTqc34e7SCXFib TE8w== X-Gm-Message-State: APjAAAWZFTAv4jIh0EMz4WvnDPZoUwG6HXXIxDIlSH5x7ZiPw/2Vryvq Vb1jlBEFinXua/BjUY8Nsa3kg/thKmlVYiOCmGI= X-Received: by 2002:ad4:4e34:: with SMTP id dm20mr5012047qvb.163.1579213399484; Thu, 16 Jan 2020 14:23:19 -0800 (PST) MIME-Version: 1.0 References: <157918093154.1357254.7616059374996162336.stgit@toke.dk> <157918094065.1357254.8062315384165377618.stgit@toke.dk> In-Reply-To: <157918094065.1357254.8062315384165377618.stgit@toke.dk> From: Andrii Nakryiko Date: Thu, 16 Jan 2020 14:23:08 -0800 Message-ID: Subject: Re: [PATCH bpf-next v3 08/11] samples/bpf: Use consistent include paths for libbpf To: =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= 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 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 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 > > Fix all files in samples/bpf to include libbpf header files with the bpf/ > prefix, to be consistent with external users of the library. Also ensure > that all includes of exported libbpf header files (those that are exporte= d > on 'make install' of the library) use bracketed includes instead of quote= d. > > 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 entirel= y, > and use tools/lib instead. > > Fixes: 6910d7d3867a ("selftests/bpf: Ensure bpf_helper_defs.h are taken f= rom selftests dir") > Acked-by: Jesper Dangaard Brouer > Signed-off-by: Toke H=C3=B8iland-J=C3=B8rgensen > --- Acked-by: Andrii Nakryiko [...]