Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8414640ybl; Thu, 16 Jan 2020 16:25:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxSsMy9ER7wp3zI0BPHIQ9ZUyckiyiprprJDcnr/n7dSQ7668yXvK7B3pJLEUlId4vFt2q3 X-Received: by 2002:aca:2407:: with SMTP id n7mr1526139oic.14.1579220704437; Thu, 16 Jan 2020 16:25:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579220704; cv=none; d=google.com; s=arc-20160816; b=htcihzF1fmsJP1TpLgP544gYoFBbLUUdN9ndJDqQAWTBfWowsyloUq2qi89AN15AMz 8fURUZn2OiElXMgEp9qB+4Y4RCH5tRJkm1RrGAISJbCmPSOXNXCkut6muZg2uSJMf/6L ya7qaRHmwYPrsBFPlq6kbwMig8Oj78Dvh3I7lRGSH55v8yKe5Z6KMmXW2xXtBlCpQA35 n372gEvke9GqbnLwqUCfQLTodCkKT7gjWKuPJeMkrcUxxfv8sDnxW9YQcnG56DOGjk7Q D4HVT8Ff1PVqIjCBFABkVFgvuUzEy7HCEOP43iyO35hsUstOZymQUmTGYEfd5vQ9AoO7 3GZQ== 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=vpbQOrapjlYcWs3bkrcm05Gp66rOZ9x8yOYklUO+LHY=; b=uP2XzoNcaNuAnGqPHtuxOuFQhBac0F1/kOdfIvBlfdb5pUYFdn98NntBtfUUr4FSwC QDtvMXogNd0QMHbOZND5i5E1rcmaDENNi079UI5H7FhXUC/fe7R8PFgvCGVKknfIpTdP Du5bm7lIFWAwt31trOfsltVfBSpKwCDsGbloliCnG9DR5kAd3Hrv5yW42eF5wI/NqC/m YP67XGX9EQONxoH/YSA7bg3NbD68pn7QVNt+gPzKSn7pLipKgHpqGVTDZUSbdZJpcs1s HnRPjRYQeFlMOnvPPuMMdPPxNnxq8bBRCJBXuRvzSpEHbxcoGUAANNrTf0+kaQPM9z1i 3I3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YrLfshsT; 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 i8si13435809otp.254.2020.01.16.16.24.52; Thu, 16 Jan 2020 16:25:04 -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=YrLfshsT; 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 S2388344AbgAPWVX (ORCPT + 99 others); Thu, 16 Jan 2020 17:21:23 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:36377 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730287AbgAPWVW (ORCPT ); Thu, 16 Jan 2020 17:21:22 -0500 Received: by mail-qk1-f193.google.com with SMTP id a203so20846246qkc.3; Thu, 16 Jan 2020 14:21:21 -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=vpbQOrapjlYcWs3bkrcm05Gp66rOZ9x8yOYklUO+LHY=; b=YrLfshsTZMEaoaurtJbcwzSaoRcapaMk5aQ6Vcf1sdNXNja9QAeeNF8VJykNeVUgZo xlwzKaZakSt5Y9bZy4IKR7MGJ/wOLaZ3+2QmM0lNILTzox9tYpZfca9fg0+M+HlevJFX xzgPEils0QPrNad+MFBheww0mG7T12Yqk0h4nTkLYPtMRRRDQjXS0mJVrw3a9j43ReCZ L92rwv39vWk3qhIze8qmfWjrg5jwEWQuAIftG3eCuafKT9/GgqAiwkQBO0GVo8PkMwVZ NTU9QcrL4KkQEUIYYs960+BeIsImrg+fed1Srq8py9vwMf2x3KljpdXshqJdeSZ7aMYN haTg== 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=vpbQOrapjlYcWs3bkrcm05Gp66rOZ9x8yOYklUO+LHY=; b=BD6WgfC4q0UKEpuPlbiSSR6XRBH4sW833wWLL5jdACUtHXh2B3aZZWtnf1xNTGbAw6 /qbT8wNCFZbti0CTf5RYGLjNiSPUyvjzZXo/shRRZnaeHGa/gc4hdJin6OThcn9m8yaG aIr3YWg+nWt++JncIfIO+0KzcdHhwxnujezKjvX716mbeC2WZzA9sE/abgVVO6yCIMJA y+0o03rBxPobhwndrfPuk3795WRoeSgtezlxF/R8Z0g6cKy1o7M3nGKLyIsCapwveW/J 6/6+HOQNczCDNhC7U2ku26XrU13nYj6xvRJefkJGYLEyjj7cbnJFpguc5r5NKWvyXpvg wqmA== X-Gm-Message-State: APjAAAV/CpXdbkZGZc8SkYIHHVHsGwJzaGtCT79JfHHE7pShRvnxxFdY J3JBxx8RmyiL6+0+P/vHL2PV7WK7NjoVCshdzT8= X-Received: by 2002:a05:620a:5ae:: with SMTP id q14mr31315590qkq.437.1579213281433; Thu, 16 Jan 2020 14:21:21 -0800 (PST) MIME-Version: 1.0 References: <157918093154.1357254.7616059374996162336.stgit@toke.dk> <157918093839.1357254.16574794899249700991.stgit@toke.dk> In-Reply-To: <157918093839.1357254.16574794899249700991.stgit@toke.dk> From: Andrii Nakryiko Date: Thu, 16 Jan 2020 14:21:10 -0800 Message-ID: Subject: Re: [PATCH bpf-next v3 06/11] bpftool: 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:23 AM Toke H=C3=B8iland-J=C3=B8rgensen wrote: > > From: Toke H=C3=B8iland-J=C3=B8rgensen > > Fix bpftool 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 exported on 'mak= e > install' of the library) use bracketed includes instead of quoted. > > 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") > Signed-off-by: Toke H=C3=B8iland-J=C3=B8rgensen > --- Acked-by: Andrii Nakryiko [...]