From: Lai Jiangshan Date: Tue, 24 Mar 2009 03:03:01 +0000 (+0800) Subject: ftrace: show virtual PID X-Git-Tag: v2.6.30-rc1~2^2~13^3~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc59c9e8d0165c632fd056c4a23e36f917507fb4;p=pandora-kernel.git ftrace: show virtual PID Impact: fix PID output under namespaces When current namespace is not the global namespace, pid read from set_ftrace_pid is no correct. # ~/newpid_namespace_run bash # echo $$ 1 # echo 1 > set_ftrace_pid # cat set_ftrace_pid 3756 Since we write virtual PID to set_ftrace_pid, we need get virtual PID when we read it. Signed-off-by: Lai Jiangshan Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: <49C84D65.9050606@cn.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed