summaryrefslogtreecommitdiffstats
path: root/samples/kprobes
diff options
context:
space:
mode:
authorAtul Kumar Pant <atulpant.linux@gmail.com>2023-08-17 19:08:19 +0200
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2023-10-09 18:00:50 +0200
commita110d17240671f4417a2a676be48bda03fe64866 (patch)
tree16e7cfd93ec2e8027befc861c91f469d540500cb /samples/kprobes
parentLinux 6.6-rc4 (diff)
downloadlinux-a110d17240671f4417a2a676be48bda03fe64866.tar.xz
linux-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/kprobes')
-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;