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