Re: [RFC PATCH] trace: Introduce a new filter_pred "caller"

From: Steven Rostedt

Date: Sat May 30 2026 - 10:54:55 EST


On Sat, 30 May 2026 10:46:35 +0000
"chenjun (AM)" <chenjun102@xxxxxxxxxx> wrote:

> > Hi Chen,
> >
> > Do you plan on sending updates to address the comments that Masami and
> > I have made?
> >
> > -- Steve
>
> Hi,
>
> Sorry, I've been busy with other things lately. I'll release the patch
> v2 next week.
>
> One thing I'd like to confirm is whether to use `called_within` as the
> filter name.

I was talking with my wife about this (who isn't technical at all, but
wanted to get her thoughts on terminology) and we came up with simply using
"within".

That is, we want the event to trigger if it is called "within" a function.
Hence, if you use:

echo 'within=="$function_name"' > events/../filter

I think it's pretty obvious to what it means.

Thanks,

-- Steve