Skip to content

Commit 427f696

Browse files
committed
README: show how the kernel log looks like after loading/unloading
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 48c6c64 commit 427f696

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ make[1]: Entering directory '.../linux-with-rust-support'
2525
make[1]: Leaving directory '.../linux-with-rust-support'
2626
```
2727

28+
```txt
29+
[ 1.076945] rust_out_of_tree: Rust out-of-tree sample (init)
30+
[ 1.084944] rust_out_of_tree: My numbers are [72, 108, 200]
31+
[ 1.085944] rust_out_of_tree: Rust out-of-tree sample (exit)
32+
```
33+
2834
For details about the Rust support, see https://github.com/Rust-for-Linux/linux.
2935

3036
For details about out-of-tree modules, see https://www.kernel.org/doc/html/latest/kbuild/modules.html.

0 commit comments

Comments
 (0)