Re: [PATCH] cachefiles: Remove unused cachefiles_prep_read tracepoint

From: Steven Rostedt

Date: Tue Dec 01 2026 - 09:29:16 EST


On Mon, 30 Nov 2026 23:55:00 +0200
Temitope Obabi <obabitemitope765@xxxxxxxxx> wrote:

> Yes. Commit c990057233d1 removed the call to
> trace_cachefiles_prep_read() from the read path, and git grep shows
> nothing else calls it now. That is why I used that commit in the Fixes
> tag.

For future work, please add that in the change log and do not use the Fixes
tags for assumptions about why things are changed.

>
>
> On Mon, Nov 30, 2026 at 11:08 PM Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > On Mon, 16 Nov 2026 17:48:52 +0200
> > Temitope obabi <obabitemitope765@xxxxxxxxx> wrote:
> >
> > > Nothing calls trace_cachefiles_prep_read(), so the tracepoint is
> > > unused. Remove it, along with the cachefiles_prepare_read_trace enum
> > > and its name table, and the entry in the BPF raw tracepoint null-args
> > > table, which exist only for this tracepoint.


That is, the above should have mentioned something like:

Commit c990057233d1 ("cachefiles: Don't rely on backing fs storage map
for most use cases") removed all callers to these tracepoints but did
not remove the tracepoints themselves.

Yes, the fixes tag can be redundant, but that tag is more for knowing what
to backport and not to be part of the human readable portion of the commit
message. That is the text before the tags. Humans (reviewers) are not
required to read the tags except to make sure that the appropriate ones are
there.

-- Steve


> > >
> > > Fixes: c990057233d1 ("cachefiles: Don't rely on backing fs storage map for most use cases")
> >