Re: [PATCH] livepatch: introduce klp_func called interface

From: zhang warden
Date: Thu Jun 06 2024 - 22:27:13 EST




> On Jun 6, 2024, at 23:01, Joe Lawrence <joe.lawrence@xxxxxxxxxx> wrote:
>
> Hi Wardenjohn,
>
> To follow up, Red Hat kpatch QE pointed me toward this test:
>
> https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/tree/main/general/kpatch/kpatch-trace?ref_type=heads
>
> which reports a few interesting things via systemd service and ftrace:
>
> - Patched functions
> - Traced functions
> - Code that was modified, but didn't run
> - Other code that ftrace saw, but is not listed in the sysfs directory
>
> The code looks to be built on top of the same basic ftrace commands that
> I sent the other day. You may be able to reuse/copy/etc bits from the
> scripts if they are handy.
>
> --
> Joe
>

Thank you so much, you really helped me, Joe!

I will try to learn the script and make it suitable for our system.

Again, thank you, Joe!

Regards,
Wardenjohn