BPF List
 help / color / mirror / Atom feed
* [PATCH 0/2] libbpf: fixes for character arrays dump
@ 2024-04-13 21:12 Quentin Deslandes
  2024-04-13 21:12 ` [PATCH 1/2] libbpf: fix misaligned array closing bracket Quentin Deslandes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Quentin Deslandes @ 2024-04-13 21:12 UTC (permalink / raw)
  To: bpf
  Cc: Andrii Nakryiko, Eduard Zingerman, Alexei Starovoitov,
	Daniel Borkmann, Martin KaFai Lau, Song Liu, Yonghong Song,
	John Fastabend, KP Singh, Stanislav Fomichev, Hao Luo, Jiri Olsa,
	linux-kernel, kernel-team, Quentin Deslandes

Patch #1 fixes an issue where character arrays in dumps would
have their last bracket misaligned if a '\0' was found in the
array.

Patch #2 fixes an issue where only the first character array
containing '\0' would be printed, the other ones would be
dumped as empty.

Quentin Deslandes (2):
  libbpf: fix misaligned array closing bracket
  libbpf: fix dump of subsequent char arrays

 tools/lib/bpf/btf_dump.c | 5 +++++
 1 file changed, 5 insertions(+)

--
2.44.0

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-17 13:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-13 21:12 [PATCH 0/2] libbpf: fixes for character arrays dump Quentin Deslandes
2024-04-13 21:12 ` [PATCH 1/2] libbpf: fix misaligned array closing bracket Quentin Deslandes
2024-04-13 21:12 ` [PATCH 2/2] libbpf: fix dump of subsequent char arrays Quentin Deslandes
2024-04-17 13:30 ` [PATCH 0/2] libbpf: fixes for character arrays dump patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox