aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2023-08-24 14:11:38 +0200
committerAleksandr Nogikh <nogikh@google.com>2023-08-25 14:18:37 +0000
commit30e7d9a7611bac37a253e608f3cac37bbcefb8a1 (patch)
tree8458e0f0481817410b6e4a68fdeaaff91feb92d6 /sys/linux
parentd48cdee764e01dac2e9e49a907cdb720eaaf9158 (diff)
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 <paul.chaignon@gmail.com>
Diffstat (limited to 'sys/linux')
-rw-r--r--sys/linux/bpf.txt11
1 files changed, 6 insertions, 5 deletions
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 {