[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0560A816-843A-4FCD-B4E6-D2B1085298CF@gmail.com>
Date: Tue, 11 Jun 2024 10:23:19 +0800
From: zhang warden <zhangwarden@...il.com>
To: Song Liu <song@...nel.org>
Cc: Miroslav Benes <mbenes@...e.cz>,
Petr Mladek <pmladek@...e.com>,
Josh Poimboeuf <jpoimboe@...nel.org>,
Jiri Kosina <jikos@...nel.org>,
Joe Lawrence <joe.lawrence@...hat.com>,
live-patching@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] livepatch: introduce klp_func called interface
> We don't have very urgent use for this. As we discussed, various tracing
> tools are sufficient in most cases. I brought this up in the context of the
> "called" entry: if we are really adding a new entry, let's do "counter"
> instead of "called".
>
> Thanks,
> Song
Hi, Song
I hope to find a way to optimize "called" will be set once in klp_ftrace_ops function because as Petr said this function should be as fast as possible. But if use "count", this variable will be called every time klp_ftrace_ops run.
Regards,
Wardenjohn
Powered by blists - more mailing lists