On 2025/6/17 18:50, Hongbo Li wrote:


On 2025/6/13 20:17, Steven Rostedt wrote:
On Fri, 13 Jun 2025 14:08:32 +0800
Gao Xiang <hsiang...@linux.alibaba.com> wrote:

Hi Steven,

On 2025/6/13 10:49, Steven Rostedt wrote:
I have code that will trigger a warning if a trace event is defined but
not used[1]. It gives a list of unused events. Here's what I have for
erofs:

warning: tracepoint 'erofs_destroy_inode' is unused.

I'm fine to remove it, also I wonder if it's possible to disable
erofs tracepoints (rather than disable all tracepoints) in some
embedded use cases because erofs tracepoints might not be useful for
them and it can save memory (and .ko size) as you said below.

You can add #ifdef around them.

Should we introduce a new CONFIG to disable them?

I'd like to, and it seems much helpful to the embedded
device users.

Thanks,
Gao Xiang

Reply via email to