2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/tools/bpf/bpftool
Jiayuan Chen 3775be3417 bpftool: Using the right format specifiers
Fixed some formatting specifiers errors, such as using %d for int and %u
for unsigned int, as well as other byte-length types.

Perform type cast using the type derived from the data type itself, for
example, if it's originally an int, it will be cast to unsigned int if
forced to unsigned.

Signed-off-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250311112809.81901-3-jiayuan.chen@linux.dev
2025-03-17 13:50:56 -07:00
..
bash-completion bpftool: bash: Add bash completion for root_id argument 2024-12-13 14:35:42 -08:00
Documentation bpftool: btf: Support dumping a specific types from file 2024-12-13 14:35:42 -08:00
skeleton bpftool: Fix typo in MAX_NUM_METRICS macro name 2024-06-03 16:58:27 +02:00
.gitignore bpftool: Fix SPDX tag for Makefiles and .gitignore 2021-11-10 09:00:52 -08:00
btf_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
btf.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
cfg.c bpftool: Fix control flow graph segfault during edge creation 2025-01-10 14:16:13 -08:00
cfg.h bpftool: Support printing opcodes and source file references in CFG 2023-04-05 21:27:27 -07:00
cgroup.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
common.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
feature.c bpftool: Probe for ISA v4 instruction set extension 2024-12-12 17:25:17 +01:00
gen.c bpftool: Using the right format specifiers 2025-02-10 16:08:13 -08:00
iter.c bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
jit_disasm.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
json_writer.c tools: bpftool: json: Fix backslash escape typo in jsonw_puts 2023-03-29 09:48:45 -07:00
json_writer.h tools: bpftool: json: Fix backslash escape typo in jsonw_puts 2023-03-29 09:48:45 -07:00
link.c bpftool: Using the right format specifiers 2025-02-10 16:08:13 -08:00
main.c bpftool: Using the right format specifiers 2025-02-10 16:08:13 -08:00
main.h bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
Makefile bpftool: Add -Wformat-signedness flag to detect format errors 2025-03-17 13:50:56 -07:00
map_perf_ring.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
map.c bpftool: Check map name length when map create 2025-02-13 20:11:38 -08:00
net.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
netlink_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
netlink_dumper.h bpftool: Extend net dump with tcx progs 2023-07-19 10:07:28 -07:00
perf.c bpftool: fix perf help message 2023-08-11 20:54:29 -07:00
pids.c bpftool: ensure task comm is always NUL-terminated 2024-11-05 17:12:29 -08:00
prog.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
struct_ops.c bpftool: Mount bpffs on provided dir instead of parent dir 2024-04-04 15:37:12 -07:00
tracelog.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
xlated_dumper.c bpftool: Using the right format specifiers 2025-03-17 13:50:56 -07:00
xlated_dumper.h bpftool: Dump the kernel symbol's module name 2023-07-11 20:07:50 -07:00