summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorLeon Hwang <leon.hwang@linux.dev>2026-05-12 18:31:50 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-12 22:44:38 +0300
commitf28771c0691bcb7f477a0f35550b17b88c32dea8 (patch)
tree8b93e22b0cf63cdb7bee4a5d5fcacf30132e804c /include/linux/debugobjects.h
parent25bb05dd06ccffd209c26465f84851f1fd344c8c (diff)
downloadlinux-f28771c0691bcb7f477a0f35550b17b88c32dea8.tar.xz
bpf: Extend BPF syscall with common attributes support
Add generic BPF syscall support for passing common attributes. The initial set of common attributes includes: 1. 'log_buf': User-provided buffer for storing logs. 2. 'log_size': Size of the log buffer. 3. 'log_level': Log verbosity level. 4. 'log_true_size': Actual log size reported by kernel. The common-attribute pointer and its size are passed as the 4th and 5th syscall arguments. A new command bit, 'BPF_COMMON_ATTRS' ('1 << 16'), indicates that common attributes are supplied. This commit adds syscall and uapi plumbing. Command-specific handling is added in follow-up patches. Signed-off-by: Leon Hwang <leon.hwang@linux.dev> Link: https://lore.kernel.org/r/20260512153157.28382-2-leon.hwang@linux.dev Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions