Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1523693
| From | Joe Stringer <joe@ovn.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCHv2 perf/core 0/2] libbpf: Synchronize implementations |
| Date | 2016-11-16 18:50 +0100 |
| Message-ID | <sEcvn-609-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Update tools/lib/bpf to provide more functionality and improve interoperation
with other tools that generate and use eBPF code:
* The kernel uapi headers are a bit newer than the version in the tools/
directory; synchronize those.
* samples/bpf/libbpf* has a bit more functionality than tools/lib/bpf, so
extend tools/lib/bpf/bpf* with these functions to bring them into parity.
I've got a separate series to update samples/bpf/* to rely on these libraries,
but there's a conflict with davem's tree at the moment so I suppose that the
way forward is to get these patches through first, then take the samples
through net-next at a later time.
---
v2: Don't shift non-bpf code into libbpf.
Drop the patch to synchronize ELF definitions with tc.
v1: https://www.mail-archive.com/netdev@vger.kernel.org/msg135088.html
First post.
Joe Stringer (2):
tools lib bpf: Sync {tools,}/include/uapi/linux/bpf.h
tools lib bpf: Sync with samples/bpf/libbpf
tools/include/uapi/linux/bpf.h | 51 +++++++++++
tools/lib/bpf/bpf.c | 107 +++++++++++++++++-----
tools/lib/bpf/bpf.h | 202 +++++++++++++++++++++++++++++++++++++++--
tools/lib/bpf/libbpf.c | 3 +-
4 files changed, 330 insertions(+), 33 deletions(-)
--
2.9.3
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCHv2 perf/core 0/2] libbpf: Synchronize implementations Joe Stringer <joe@ovn.org> - 2016-11-16 18:50 +0100
[PATCHv2 perf/core 1/2] tools lib bpf: Sync {tools,}/include/uapi/linux/bpf.h Joe Stringer <joe@ovn.org> - 2016-11-16 18:50 +0100
Re: [PATCHv2 perf/core 1/2] tools lib bpf: Sync {tools,}/include/uapi/linux/bpf.h "Wangnan (F)" <wangnan0@huawei.com> - 2016-11-17 02:30 +0100
[PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf Joe Stringer <joe@ovn.org> - 2016-11-16 18:50 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf "Wangnan (F)" <wangnan0@huawei.com> - 2016-11-17 03:20 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf Joe Stringer <joe@ovn.org> - 2016-11-17 03:50 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf "Wangnan (F)" <wangnan0@huawei.com> - 2016-11-17 04:30 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf Joe Stringer <joe@ovn.org> - 2016-11-17 04:50 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf "Wangnan (F)" <wangnan0@huawei.com> - 2016-11-17 04:50 +0100
Re: [PATCHv2 perf/core 2/2] tools lib bpf: Sync with samples/bpf/libbpf Joe Stringer <joe@ovn.org> - 2016-11-17 05:00 +0100
csiph-web