lkml.org 
[lkml]   [2016]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[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(-)

\
 
 \ /
  Last update: 2016-04-19 17:01    [W:0.107 / U:1.192 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site