On Thu, 3 Jul 2025 13:26:26 +0900
"Masami Hiramatsu (Google)" <mhiramat@kernel.org> wrote:
> Hi,
>
> Here is a patch series to fix some issues on the trace event
> and function filters.
>
> The first patch fixes an issue that the event filter can not
> handle the string pointer with BTF attribute tag. This happens
> with CONFIG_DEBUG_INFO_BTF=y and PAHOLE_HAS_BTF_TAG=y.
>
> The second patch fixes a selftest issue on the function glob
> filter. Since mutex_trylock() can be an inline function, it
> is not a good example for ftrace. This replaces it with
> mutex_unlock().
>
> Thank you,
>
> ---
> Masami Hiramatsu (Google) (2):
> tracing: Handle "(const) char __attribute() *" as string ptr type
I can take the first patch.
> selftests: tracing: Use mutex_unlock for testing glob filter
This patch should go via Shuah's tree.
-- Steve
>
> kernel/trace/trace_events_filter.c | 5 +++++
> tools/testing/selftests/ftrace/test.d/ftrace/func-filter-glob.tc | 2 +-
> 2 files changed, 6 insertions(+), 1 deletion(-)