diff options
author | Steven Rostedt (Google) <[email protected]> | 2022-12-19 13:31:08 -0500 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2023-01-25 10:31:23 -0500 |
commit | 7f09d639b8c4959736ff112d0fb42780c37ff6db (patch) | |
tree | adbeac96321fddf5a29f729146ba0ff611052a72 /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | e6745a4da964f5f49b21cbcce5125456984ddc6b (diff) |
tracing/selftests: Add test for event filtering on function name
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.
Link: https://lkml.kernel.org/r/[email protected]
Cc: Andrew Morton <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Zheng Yejian <[email protected]>
Cc: [email protected]
Suggested-by: Masami Hiramatsu (Google) <[email protected]>
Reviewed-by: Ross Zwisler <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions