[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160419143421.829909157@goodmis.org>
Date: Tue, 19 Apr 2016 10:34:21 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Jiri Olsa <jolsa@...nel.org>,
Masami Hiramatsu <mhiramat@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
linux-trace-users@...r.kernel.org
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(-)
Powered by blists - more mailing lists