tracing: Add 'within' filter logic
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 0 repliesNew
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tracing: Add "within" filter for call-stack-based event filteringDocumentation/ include/ kernel/ +2 more | +57 | 0 replies | |
| 2/2 | tracnig: Add proper error message for glob use with "within" filterkernel/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] tracing: Add 'within' filter logic
Add a "within" filter predicate that tests whether a given function appears in the current call stack at event time. The function name is resolved to its address range via kallsyms during filter setup; at runtime, stack_trace_save() captures the call stack and compares each return address against the stored range.
Changes since v1: https://lore.kernel.org/linux-trace-kernel/[email protected]
- Added patch to show error message
Chen Jun (1):
tracing: Add "within" filter for call-stack-based event filtering
Steven Rostedt (1):
tracnig: Add proper error message for glob use with "within" filter
----
Documentation/trace/events.rst | 12 +++++++++++ include/linux/trace_events.h | 1 + kernel/trace/trace.h | 3 ++- kernel/trace/trace_events.c | 3 +++ kernel/trace/trace_events_filter.c | 44 ++++++++++++++++++++++++++++++++++++-- 5 files changed, 60 insertions(+), 3 deletions(-)