From: Andrey Ignatov <rdna@fb.com>
To: <netdev@vger.kernel.org>
Cc: Andrey Ignatov <rdna@fb.com>, <ast@kernel.org>,
<daniel@iogearbox.net>, <yhs@fb.com>, <kafai@fb.com>,
<kernel-team@fb.com>
Subject: [PATCH bpf-next v2 0/4] libbpf: ABI versioning and documentation
Date: Fri, 23 Nov 2018 16:44:31 -0800 [thread overview]
Message-ID: <cover.1543019933.git.rdna@fb.com> (raw)
This patch set adds ABI versioning and documentation to libbpf.
Patch 1 renames btf_get_from_id to btf__get_from_id to follow naming
convention.
Patch 2 adds version script and has more details on ABI versioning.
Patch 3 adds simple check that all global symbols are versioned.
Patch 4 documents a few aspects of libbpf API and ABI in dev process.
v1->v2:
* add patch from Martin KaFai Lau <kafai@fb.com> to rename btf_get_from_id;
* add documentation for libbpf API and ABI.
Andrey Ignatov (3):
libbpf: Add version script for DSO
libbpf: Verify versioned symbols
libbpf: Document API and ABI conventions
Martin KaFai Lau (1):
libbpf: Name changing for btf_get_from_id
tools/bpf/bpftool/map.c | 4 +-
tools/bpf/bpftool/prog.c | 2 +-
tools/lib/bpf/Makefile | 23 +++-
tools/lib/bpf/README.rst | 139 +++++++++++++++++++++++++
tools/lib/bpf/btf.c | 2 +-
tools/lib/bpf/btf.h | 2 +-
tools/lib/bpf/libbpf.map | 121 +++++++++++++++++++++
tools/testing/selftests/bpf/test_btf.c | 2 +-
8 files changed, 287 insertions(+), 8 deletions(-)
create mode 100644 tools/lib/bpf/README.rst
create mode 100644 tools/lib/bpf/libbpf.map
--
2.17.1
next reply other threads:[~2018-11-24 11:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-24 0:44 Andrey Ignatov [this message]
2018-11-24 0:44 ` [PATCH bpf-next v2 1/4] libbpf: Name changing for btf_get_from_id Andrey Ignatov
2018-11-24 0:44 ` [PATCH bpf-next v2 2/4] libbpf: Add version script for DSO Andrey Ignatov
2018-11-24 0:44 ` [PATCH bpf-next v2 3/4] libbpf: Verify versioned symbols Andrey Ignatov
2018-11-24 0:44 ` [PATCH bpf-next v2 4/4] libbpf: Document API and ABI conventions Andrey Ignatov
2018-11-27 3:06 ` [PATCH bpf-next v2 0/4] libbpf: ABI versioning and documentation Alexei Starovoitov
2018-11-27 11:36 ` Daniel Borkmann
2018-12-03 2:27 ` Andrey Ignatov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1543019933.git.rdna@fb.com \
--to=rdna@fb.com \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=kafai@fb.com \
--cc=kernel-team@fb.com \
--cc=netdev@vger.kernel.org \
--cc=yhs@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).