Re: [PATCH] kernel: Ftrace seems to have functions to improve performance through optimization

From: Steven Rostedt
Date: Thu May 12 2022 - 11:07:38 EST


On Thu, 12 May 2022 22:45:32 +0800
Li kunyu <kunyu@xxxxxxxxxxxx> wrote:

> I'm glad you're willing to reply to me.
> My current English level is limited, and I may not describe it correctly.
> I consider that these functions may not be modified in a short time,
> which may bring advantages in function performance. I could only submit
> it by inquiry.

The performance improvement is negligible, and not worth the churn (changes
to the code). And if that is the reason for the change, it is not worth
adding it.

Now if the reason for the change is to clean up the code to remove
something that is not used, then it may be something to add if it is not
too intrusive.

-- Steve