]> git.baikalelectronics.ru Git - kernel.git/commit
seq_file: Add a seq_bprintf function
authorFlorent Revest <revest@chromium.org>
Tue, 27 Apr 2021 17:43:12 +0000 (19:43 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 27 Apr 2021 22:50:15 +0000 (15:50 -0700)
commit27bcef66d2e603afc577c356df6e68ed11be7005
treea514ff10079e19e036815347ddca67d30771300e
parent13e491c568a0801ae0ff4c68248c6c02d8ba5fa8
seq_file: Add a seq_bprintf function

Similarly to seq_buf_bprintf in lib/seq_buf.c, this function writes a
printf formatted string with arguments provided in a "binary
representation" built by functions such as vbin_printf.

Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210427174313.860948-2-revest@chromium.org
fs/seq_file.c
include/linux/seq_file.h