projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
treewide: Add SPDX license identifier for more missed files
[linux-block.git]
/
samples
/
kprobes
/
kprobe_example.c
diff --git
a/samples/kprobes/kprobe_example.c
b/samples/kprobes/kprobe_example.c
index 02be8984c32fed74891b690d634c0243649098dc..d693c23a85e8a0f21df776d48463950ab13cedaa 100644
(file)
--- a/
samples/kprobes/kprobe_example.c
+++ b/
samples/kprobes/kprobe_example.c
@@
-1,3
+1,4
@@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* NOTE: This example is works on x86 and powerpc.
* Here's a sample kernel module showing the use of kprobes to dump a