Steven Rostedt <rostedt@xxxxxxxxxxx> writes: >> > # echo $$ > /debugfs/tracing/set_ftrace_pid >> > # echo function_graph > /debugfs/tracing/current_tracer >> > >> > Will cause only the current task to be traced. Note, the trace flags are >> > also inherited by child processes, so the children of the shell >> > will also be traced. >> >> Where did we end up on the pids-arent-unique issue? Gave up? > > Nah, patch 2 opens the door for a solution. I'm just pawning the work off > to the container folks ;-) The way patch 2 uses pids is just stupid. It has nothing to do with pids aren't unique. You do a full walk of the process list instead of using the hash table. It makes me think that task->pid really should go away because with it there people don't bother to look and see how things normally work. Eric _______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers