]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Bump iter seq size to support BTF representation of large data structures
authorAlan Maguire <alan.maguire@oracle.com>
Mon, 28 Sep 2020 11:31:07 +0000 (12:31 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Sep 2020 01:26:58 +0000 (18:26 -0700)
commitb910499f5cc4ca5166bcc480dba093ba88c0644a
tree6197f2ee307a58595c58bd26bd0f0f806b03fb8c
parent193d30b959610d5dd96586e08a023f242aafcd6b
bpf: Bump iter seq size to support BTF representation of large data structures

BPF iter size is limited to PAGE_SIZE; if we wish to display BTF-based
representations of larger kernel data structures such as task_struct,
this will be insufficient.

Suggested-by: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/1601292670-1616-6-git-send-email-alan.maguire@oracle.com
kernel/bpf/bpf_iter.c