summaryrefslogtreecommitdiff
path: root/samples/rust/rust_debugfs.rs
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2025-09-04 21:13:52 +0000
committerDanilo Krummrich <dakr@kernel.org>2025-09-10 18:57:43 +0200
commit7f201ca18c825592e392596a2fca2374dd2a4dfe (patch)
tree74a798895b8290b8119961f56a7ab1fd40767b70 /samples/rust/rust_debugfs.rs
parent4c48aed6dfcd32ea23e52adc1072405a62facf46 (diff)
rust: debugfs: Add initial support for directories
Adds a `debugfs::Dir` type that can be used to create and remove DebugFS directories. The `Dir` handle automatically cleans up the directory on `Drop`. Signed-off-by: Matthew Maurer <mmaurer@google.com> Tested-by: Dirk Behme <dirk.behme@de.bosch.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20250904-debugfs-rust-v11-1-7d12a165685a@google.com Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'samples/rust/rust_debugfs.rs')
0 files changed, 0 insertions, 0 deletions