]> git.ipfire.org Git - thirdparty/linux.git/commit
samples: rust: debugfs: add example for blobs
authorDanilo Krummrich <dakr@kernel.org>
Wed, 22 Oct 2025 14:30:42 +0000 (16:30 +0200)
committerDanilo Krummrich <dakr@kernel.org>
Tue, 4 Nov 2025 23:35:40 +0000 (00:35 +0100)
commit52af0c37964be5a685cfd7aa4127bdd29d629cc7
treee1bd659862d3c0aef24ce1393dc05d875ae61ae6
parenta9fca8a7b2c5078c00960866d2a512b8cea7ce3b
samples: rust: debugfs: add example for blobs

Extend the Rust debugfs sample to demonstrate usage of binary file
support. The example now shows how to expose both fixed-size arrays
and dynamically sized vectors as binary blobs in debugfs.

Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Matthew Maurer <mmaurer@google.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
samples/rust/rust_debugfs.rs