linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tracing: Fixes for filter
@ 2025-07-03  4:26 Masami Hiramatsu (Google)
  2025-07-03  4:26 ` [PATCH 1/2] tracing: Handle "(const) char __attribute() *" as string ptr type Masami Hiramatsu (Google)
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Masami Hiramatsu (Google) @ 2025-07-03  4:26 UTC (permalink / raw)
  To: Steven Rostedt, Shuah Khan
  Cc: Masami Hiramatsu, Mathieu Desnoyers, linux-kernel,
	linux-trace-kernel, linux-kselftest

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
      selftests: tracing: Use mutex_unlock for testing glob filter

 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(-)

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2025-07-08  1:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03  4:26 [PATCH 0/2] tracing: Fixes for filter Masami Hiramatsu (Google)
2025-07-03  4:26 ` [PATCH 1/2] tracing: Handle "(const) char __attribute() *" as string ptr type Masami Hiramatsu (Google)
2025-07-08  1:06   ` Masami Hiramatsu
2025-07-03  4:26 ` [PATCH 2/2] selftests: tracing: Use mutex_unlock for testing glob filter Masami Hiramatsu (Google)
2025-07-03 14:30   ` Steven Rostedt
2025-07-04  6:04     ` Masami Hiramatsu
2025-07-07 21:36       ` Shuah Khan
2025-07-03 14:30 ` [PATCH 0/2] tracing: Fixes for filter Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).