Re: [PATCH] selftests/ftrace: Add required dependency for kprobe tests

From: Google
Date: Wed Aug 14 2024 - 11:45:36 EST


On Wed, 14 Aug 2024 05:43:29 -0600
Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:

> On 8/13/24 18:53, Masami Hiramatsu (Google) wrote:
> > Hi Shuah,
> >
> > Can you pick this? I confirmed this can be applied on v6.11-rc3.
> >
> >
> >
> > On Thu, 13 Jun 2024 07:12:10 +0900
> > "Masami Hiramatsu (Google)" <mhiramat@xxxxxxxxxx> wrote:
> >
> >> From: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> >>
> >> kprobe_args_{char,string}.tc are using available_filter_functions file
> >> which is provided by function tracer. Thus if function tracer is disabled,
> >> these tests are failed on recent kernels because tracefs_create_dir is
> >> not raised events by adding a dynamic event.
> >> Add available_filter_functions to requires line.
> >>
> >> Fixes: 7c1130ea5cae ("test: ftrace: Fix kprobe test for eventfs")
> >> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
>
> Applied to linux-kselftest next for Linux 6.12-rc1

Thanks!

>
> thanks,
> -- Shuah


--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>