[RFC][PATCH 0/4] tracing: Add event-fork to trace tasks children

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-trace-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux