kdb: Add kdb kernel module sample

Add an example of how to add a dynamic kdb shell command via a kernel
module.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Цей коміт міститься в:
Jason Wessel
2010-10-25 10:14:05 -05:00
джерело 12ba8d1e92
коміт 4aad8f51d0
5 змінених файлів з 81 додано та 2 видалено

Переглянути файл

@@ -54,4 +54,11 @@ config SAMPLE_KFIFO
If in doubt, say "N" here.
config SAMPLE_KDB
tristate "Build kdb command exmaple -- loadable modules only"
depends on KGDB_KDB && m
help
Build an example of how to dynamically add the hello
command to the kdb shell.
endif # SAMPLES