From 30e7d9a7611bac37a253e608f3cac37bbcefb8a1 Mon Sep 17 00:00:00 2001 From: Paul Chaignon Date: Thu, 24 Aug 2023 14:11:38 +0200 Subject: sys/linux: support btf_log_true_size field for BPF_BTF_LOAD Support the new field defined upstream in commit [1]. 1 - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=47a71c1f9af0 Signed-off-by: Paul Chaignon --- sys/linux/bpf.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'sys/linux') diff --git a/sys/linux/bpf.txt b/sys/linux/bpf.txt index e7de40e5e..a1dc7b1c6 100644 --- a/sys/linux/bpf.txt +++ b/sys/linux/bpf.txt @@ -744,11 +744,12 @@ bpf_prog_query { } [align[8]] bpf_btf_load { - btf ptr64[in, bpf_btf_program] - btf_log_buf ptr64[out, array[int8]] - btf_size bytesize[btf, int32] - btf_log_size bytesize[btf_log_buf, int32] - btf_log_level bool32 + btf ptr64[in, bpf_btf_program] + btf_log_buf ptr64[out, array[int8]] + btf_size bytesize[btf, int32] + btf_log_size bytesize[btf_log_buf, int32] + btf_log_level bool32 + btf_log_true_size int32 } [align[8]] bpf_btf_program { -- cgit mrf-deployment