mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Move panic and family docs to README
This commit is contained in:
@@ -5,11 +5,6 @@
|
||||
.. link:hello.c[]
|
||||
.. link:hello2.c[]
|
||||
.. link:printk.c[]
|
||||
. Panic and friends
|
||||
.. link:panic.c[]
|
||||
.. link:oops.c[]
|
||||
.. link:dump_stack.c[]
|
||||
.. link:warn_on.c[]
|
||||
. Modules
|
||||
.. link:params.c[]
|
||||
.. link:vermagic.c[]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#dump_stack */
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kthreads */
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#mmap */
|
||||
|
||||
#include <linux/fs.h>
|
||||
#include <linux/init.h>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#kernel-panic-and-oops */
|
||||
|
||||
Kernel panic and oops
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
Prints a backtrace.
|
||||
*/
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#warn_on */
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
|
||||
Reference in New Issue
Block a user