summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAtul Kumar Pant <atulpant.linux@gmail.com>2023-08-17 22:38:19 +0530
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-10-10 01:00:50 +0900
commita110d17240671f4417a2a676be48bda03fe64866 (patch)
tree16e7cfd93ec2e8027befc861c91f469d540500cb /samples
parent8a749fd1a8720d4619c91c8b6e7528c0a355c0aa (diff)
downloadlwn-a110d17240671f4417a2a676be48bda03fe64866.tar.gz
lwn-a110d17240671f4417a2a676be48bda03fe64866.zip
samples: kprobes: Fixes a typo
Fixes typo in a function name. Link: https://lore.kernel.org/all/20230817170819.77857-1-atulpant.linux@gmail.com/ Signed-off-by: Atul Kumar Pant <atulpant.linux@gmail.com> Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'samples')
-rw-r--r--samples/kprobes/kretprobe_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c
index cbf16542d84e..ed79fd3d48fb 100644
--- a/samples/kprobes/kretprobe_example.c
+++ b/samples/kprobes/kretprobe_example.c
@@ -35,7 +35,7 @@ struct my_data {
ktime_t entry_stamp;
};
-/* Here we use the entry_hanlder to timestamp function entry */
+/* Here we use the entry_handler to timestamp function entry */
static int entry_handler(struct kretprobe_instance *ri, struct pt_regs *regs)
{
struct my_data *data;