Re: [PATCH v1] samples: kprobes: Fixes a typo

From: Atul Kumar Pant
Date: Sat Sep 23 2023 - 13:30:52 EST


On Thu, Aug 17, 2023 at 10:38:19PM +0530, Atul Kumar Pant wrote:
> Fixes typo in a function name.
>
> Signed-off-by: Atul Kumar Pant <atulpant.linux@xxxxxxxxx>
> ---
> samples/kprobes/kretprobe_example.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> 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;
> --
> 2.25.1
>

Hi all, can someone provide comments on this change.