All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jiri Olsa <olsajiri@gmail.com>
To: Andrii Nakryiko <andrii@kernel.org>
Cc: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	martin.lau@kernel.org, alan.maguire@oracle.com,
	eddyz87@gmail.com
Subject: Re: [PATCH v2 bpf-next 0/5] libbpf: BTF field iterator
Date: Wed, 5 Jun 2024 10:52:42 +0200	[thread overview]
Message-ID: <ZmAnWoByxFnBJV4F@krava> (raw)
In-Reply-To: <20240605001629.4061937-1-andrii@kernel.org>

On Tue, Jun 04, 2024 at 05:16:24PM -0700, Andrii Nakryiko wrote:
> Add BTF field (type and string fields, right now) iterator support instead of
> using existing callback-based approaches, which make it harder to understand
> and support BTF-processing code.
> 
> v1->v2:
>   - t_cnt -> t_off_cnt, m_cnt -> m_off_cnt (Eduard);
>   - simpified code in linker.c (Jiri);
> rfcv1->v1:
>   - check errors when initializing iterators (Jiri);
>   - split RFC patch into separate patches.
> 
> Andrii Nakryiko (5):
>   libbpf: add BTF field iterator
>   libbpf: make use of BTF field iterator in BPF linker code
>   libbpf: make use of BTF field iterator in BTF handling code
>   bpftool: use BTF field iterator in btfgen
>   libbpf: remove callback-based type/string BTF field visitor helpers

Acked-by: Jiri Olsa <jolsa@kernel.org>

jirka

> 
>  tools/bpf/bpftool/gen.c         |  16 +-
>  tools/lib/bpf/btf.c             | 328 +++++++++++++++++++-------------
>  tools/lib/bpf/libbpf_internal.h |  26 ++-
>  tools/lib/bpf/linker.c          |  58 +++---
>  4 files changed, 262 insertions(+), 166 deletions(-)
> 
> -- 
> 2.43.0
> 

  parent reply	other threads:[~2024-06-05  8:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-05  0:16 [PATCH v2 bpf-next 0/5] libbpf: BTF field iterator Andrii Nakryiko
2024-06-05  0:16 ` [PATCH v2 bpf-next 1/5] libbpf: add " Andrii Nakryiko
2024-06-05  0:16 ` [PATCH v2 bpf-next 2/5] libbpf: make use of BTF field iterator in BPF linker code Andrii Nakryiko
2024-06-05  0:16 ` [PATCH v2 bpf-next 3/5] libbpf: make use of BTF field iterator in BTF handling code Andrii Nakryiko
2024-06-05  0:16 ` [PATCH v2 bpf-next 4/5] bpftool: use BTF field iterator in btfgen Andrii Nakryiko
2024-06-05  8:45   ` Quentin Monnet
2024-06-05  0:16 ` [PATCH v2 bpf-next 5/5] libbpf: remove callback-based type/string BTF field visitor helpers Andrii Nakryiko
2024-06-05  8:52 ` Jiri Olsa [this message]
2024-06-05 14:48   ` [PATCH v2 bpf-next 0/5] libbpf: BTF field iterator Alan Maguire
2024-06-05 15:00 ` patchwork-bot+netdevbpf

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=ZmAnWoByxFnBJV4F@krava \
    --to=olsajiri@gmail.com \
    --cc=alan.maguire@oracle.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=martin.lau@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.