diff options
| author | Leon Hwang <leon.hwang@linux.dev> | 2026-05-12 18:31:56 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-05-12 22:44:46 +0300 |
| commit | 702259006f9303c8773f99a06d1b698f05f082ac (patch) | |
| tree | 659defa675474abad87fa427d92ed4fcc381511b /include/linux/workqueue_api.h | |
| parent | 49f9b2b2a18c5ce06b21fc2b3399352d80dee0c6 (diff) | |
| download | linux-702259006f9303c8773f99a06d1b698f05f082ac.tar.xz | |
libbpf: Add syscall common attributes support for map_create
With the previous commit adding common attribute support for
BPF_MAP_CREATE, users can now retrieve detailed error messages when map
creation fails via the log_buf field.
Introduce struct bpf_log_opts with the following fields:
log_buf, log_size, log_level, and log_true_size.
Extend bpf_map_create_opts with a new field log_opts, allowing users to
capture and inspect log messages on map creation failures.
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Leon Hwang <leon.hwang@linux.dev>
Link: https://lore.kernel.org/r/20260512153157.28382-8-leon.hwang@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
