RFC tracing: Add event-fork to trace tasks children
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 17 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | tracing: Rename check_ignore_pid() to ignore_this_task()kernel/ | +7 | 0 replies | |
| 2/4 | tracing: Use pid bitmap instead of a pid array for set_event_pidkernel/ kernel/ | +102 | 12 replies | |
| 3/4 | tracing: Add infrastructure to allow set_event_pid to follow childrenkernel/ kernel/ kernel/ | +79 | 3 replies | |
| 4/4 | tracing: Update the documentation to describe "event-fork" optionDocumentation/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/4] tracing: Add event-fork to trace tasks children
This code adds the event-fork option that, when set, will have tasks with their PIDs in set_event_pid add their children PIDs when they fork. It will also remove their PID from the file on exit.
Thanks to HPA for suggesting the bitmask over the more complex special "hash" algorithm I originally had. It simplified the code and makes it more robust.
Steven Rostedt (3):
tracing: Rename check_ignore_pid() to ignore_this_task()
tracing: Use pid bitmap instead of a pid array for set_event_pid
tracing: Add infrastructure to allow set_event_pid to follow children
Steven Rostedt (Red Hat) (1):
tracing: Update the documentation to describe "event-fork" option
----
Documentation/trace/ftrace.txt | 34 +++-- kernel/trace/trace.c | 3 + kernel/trace/trace.h | 7 +- kernel/trace/trace_events.c | 297 +++++++++++++++++++++++------------------ 4 files changed, 201 insertions(+), 140 deletions(-)