From: Jean-Philippe Brucker <jean-philippe@linaro.org>
To: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org
Cc: kafai@fb.com, songliubraving@fb.com, yhs@fb.com,
john.fastabend@gmail.com, kpsingh@kernel.org,
bpf@vger.kernel.org,
Jean-Philippe Brucker <jean-philippe@linaro.org>
Subject: [PATCH bpf v2 0/2] libbpf: Fix BTF dump of pointer-to-array-of-struct
Date: Fri, 19 Mar 2021 12:25:53 +0100 [thread overview]
Message-ID: <20210319112554.794552-1-jean-philippe@linaro.org> (raw)
Fix an issue with the libbpf BTF dump, see patch 1 for details.
Since [v1] I added the selftest in patch 2, though I couldn't figure out
a way to make it independent from the order in which debug info is
issued by the compiler.
[v1]: https://lore.kernel.org/bpf/20210318122700.396574-1-jean-philippe@linaro.org/
Jean-Philippe Brucker (2):
libbpf: Fix BTF dump of pointer-to-array-of-struct
selftests/bpf: Add selftest for pointer-to-array-of-struct BTF dump
tools/lib/bpf/btf_dump.c | 2 +-
.../selftests/bpf/progs/btf_dump_test_case_syntax.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
--
2.30.2
next reply other threads:[~2021-03-19 11:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-19 11:25 Jean-Philippe Brucker [this message]
2021-03-19 11:25 ` [PATCH bpf v2 1/2] libbpf: Fix BTF dump of pointer-to-array-of-struct Jean-Philippe Brucker
2021-03-19 11:25 ` [PATCH bpf v2 2/2] selftests/bpf: Add selftest for pointer-to-array-of-struct BTF dump Jean-Philippe Brucker
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=20210319112554.794552-1-jean-philippe@linaro.org \
--to=jean-philippe@linaro.org \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=john.fastabend@gmail.com \
--cc=kafai@fb.com \
--cc=kpsingh@kernel.org \
--cc=songliubraving@fb.com \
--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).