projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7594bb0
)
samples/kprobes: Remove misleading comment
author
Marc Koderer
<marc@koderer.com>
Mon, 28 Dec 2020 06:04:15 +0000
(07:04 +0100)
committer
Jonathan Corbet
<corbet@lwn.net>
Mon, 11 Jan 2021 20:33:06 +0000
(13:33 -0700)
The example file supports many architectures not only x86 and PPC.
Signed-off-by: Marc Koderer <marc@koderer.com>
Cc: trivial@kernel.org
Link:
https://lore.kernel.org/r/20201228060415.2194-1-marc@koderer.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
samples/kprobes/kprobe_example.c
patch
|
blob
|
history
diff --git
a/samples/kprobes/kprobe_example.c
b/samples/kprobes/kprobe_example.c
index 365905cb24b1548e9fe488a5a211b760ece55337..192aa68db0c051e58162093af2c6d8dd7c7cfe59 100644
(file)
--- a/
samples/kprobes/kprobe_example.c
+++ b/
samples/kprobes/kprobe_example.c
@@
-1,6
+1,5
@@
// 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
* stack trace and selected registers when kernel_clone() is called.
*