bpf: Clarify a bpf_bprintf_prepare macro
authorFlorent Revest <revest@chromium.org>
Mon, 17 May 2021 09:28:29 +0000 (11:28 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 20 May 2021 21:48:38 +0000 (23:48 +0200)
commit8afcc19fbf083a8459284d9a29b4b5ac1cb2396c
tree227e0fc424d5b62d3072c3da5f35b0bf67b8fce9
parent704e2beba23c45eaa056b1c03b5e1fb221e03f80
bpf: Clarify a bpf_bprintf_prepare macro

The per-cpu buffers contain bprintf data rather than printf arguments.
The macro name and comment were a bit confusing, this rewords them in a
clearer way.

Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20210517092830.1026418-1-revest@chromium.org
kernel/bpf/helpers.c