linux-stable/tools
Andrii Nakryiko 6de0d0699f libbpf: Fix single-line struct definition output in btf_dump
[ Upstream commit 872aec4b5f ]

btf_dump APIs emit unnecessary tabs when emitting struct/union
definition that fits on the single line. Before this patch we'd get:

struct blah {<tab>};

This patch fixes this and makes sure that we get more natural:

struct blah {};

Fixes: 44a726c3f2 ("bpftool: Print newline before '}' for struct with padding only fields")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20221212211505.558851-2-andrii@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-20 12:10:26 +02:00
..
accounting
arch
bootconfig
bpf
build
cgroup
debugging
edid
firewire
firmware
gpio
hv
iio
include
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Fix single-line struct definition output in btf_dump 2023-04-20 12:10:26 +02:00
memory-model
objtool
pci
pcmcia
perf
power
scripts
spi
testing selftests: intel_pstate: ftime() is deprecated 2023-04-20 12:10:24 +02:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile