[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200311221844.3089820-1-songliubraving@fb.com>
Date: Wed, 11 Mar 2020 15:18:41 -0700
From: Song Liu <songliubraving@...com>
To: <netdev@...r.kernel.org>, <bpf@...r.kernel.org>
CC: <john.fastabend@...il.com>, <quentin@...valent.com>,
<kernel-team@...com>, <ast@...nel.org>, <daniel@...earbox.net>,
<arnaldo.melo@...il.com>, <jolsa@...nel.org>,
Song Liu <songliubraving@...com>
Subject: [PATCH v2 bpf-next 0/3] Fixes for bpftool-prog-profile
1. Fix build for older clang;
2. Fix skeleton's dependency on libbpf;
3. Add files to .gitignore.
Changes v1 => v2:
1. Rewrite patch 1 with real feature detection (Quentin, Alexei).
2. Add files to .gitignore (Andrii).
Song Liu (3):
bpftool: only build bpftool-prog-profile if supported by clang
bpftool: skeleton should depend on libbpf
bpftool: add _bpftool and profiler.skel.h to .gitignore
tools/bpf/bpftool/.gitignore | 2 ++
tools/bpf/bpftool/Makefile | 17 ++++++++++++-----
tools/bpf/bpftool/prog.c | 2 ++
tools/build/feature/Makefile | 9 ++++++++-
tools/build/feature/test-clang-bpf-global-var.c | 4 ++++
5 files changed, 28 insertions(+), 6 deletions(-)
create mode 100644 tools/build/feature/test-clang-bpf-global-var.c
--
2.17.1
Powered by blists - more mailing lists