Re: [PATCH] livepatch: introduce klp_func called interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 20 Jun 2024, zhang warden wrote:

> 
> 
> > 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?

yes, it should also work as is. I just generally recommend to use a 
different name (prefixed for example) for the new replacement function to 
avoid issues if you do not already do it.

Miroslav




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux