diff options
author | 2021-04-19 17:52:42 +0200 | |
---|---|---|
committer | 2021-04-19 15:27:37 -0700 | |
commit | 58c2b1f5e0121efd698b6ec8e45e47e58ca9caee (patch) | |
tree | 475dde78e141faf599494af6e047d4fa17fe1435 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | libbpf: Initialize the bpf_seq_printf parameters array field by field (diff) | |
download | wireguard-linux-58c2b1f5e0121efd698b6ec8e45e47e58ca9caee.tar.xz wireguard-linux-58c2b1f5e0121efd698b6ec8e45e47e58ca9caee.zip |
libbpf: Introduce a BPF_SNPRINTF helper macro
Similarly to BPF_SEQ_PRINTF, this macro turns variadic arguments into an
array of u64, making it more natural to call the bpf_snprintf helper.
Signed-off-by: Florent Revest <revest@chromium.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210419155243.1632274-6-revest@chromium.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions