Re: [PATCH 2/2] tracing/selftests: Add test for event filtering on function name

From: Steven Rostedt
Date: Mon Dec 19 2022 - 17:35:18 EST


On Mon, 19 Dec 2022 15:11:39 -0700
Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:

> On 12/19/22 13:57, Ross Zwisler wrote:
> > On Mon, Dec 19, 2022 at 01:31:08PM -0500, Steven Rostedt wrote:
> >> From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>
> >>
> >> With the new filter logic of passing in the name of a function to match an
> >> instruction pointer (or the address of the function), add a test to make
> >> sure that it is functional.
> >>
> >> This is also the first test to test plain filtering. The filtering has
> >> been tested via the trigger logic, which uses the same code, but there was
> >> nothing to test just the event filter, so this test is the first to add
> >> such a case.
> >>
> >> Cc: Shuah Khan <shuah@xxxxxxxxxx>
> >> Cc: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>
> >> Cc: linux-kselftest@xxxxxxxxxxxxxxx
> >> Suggested-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
> >> Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
> >
> > Reviewed-by: Ross Zwisler <zwisler@xxxxxxxxxx>
>
> Thank you both. I will apply this after rc1 comes out.

It's dependent on the first patch.

-- Steve