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

2016-04-19 Thread Steven Rostedt
On Tue, 19 Apr 2016 23:05:28 -0300 Daniel Bristot de Oliveira wrote: > On 04/19/2016 11:34 AM, Steven Rostedt wrote: > > 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

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

2016-04-19 Thread Steven Rostedt
On Tue, 19 Apr 2016 23:05:28 -0300 Daniel Bristot de Oliveira wrote: > On 04/19/2016 11:34 AM, Steven Rostedt wrote: > > 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

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

2016-04-19 Thread Daniel Bristot de Oliveira
On 04/19/2016 11:34 AM, Steven Rostedt wrote: > 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. That is a nice feature! I tested it and it works.

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

2016-04-19 Thread Daniel Bristot de Oliveira
On 04/19/2016 11:34 AM, Steven Rostedt wrote: > 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. That is a nice feature! I tested it and it works.

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

2016-04-19 Thread Steven Rostedt
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

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

2016-04-19 Thread Steven Rostedt
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