Re: [PATCH] livepatch: introduce klp_func called interface

From: zhang warden
Date: Wed Jun 19 2024 - 23:40:05 EST




> On Jun 7, 2024, at 17:07, Miroslav Benes <mbenes@xxxxxxx> wrote:
>
> It would be better than this patch but given what was mentioned in the
> thread I wonder if it is possible to use ftrace even for this. See
> /sys/kernel/tracing/trace_stat/function*. It already gathers the number of
> hits.
>

Hi, Miroslav

Can ftrace able to trace the function which I added into kernel by livepatching?

Regard
Wardenjohn