From: Borislav Petkov Date: Mon, 31 May 2010 21:18:18 +0000 (+0200) Subject: perf-record: Check correct pid when forking X-Git-Tag: v2.6.35-rc2~47^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb750e825b5347de0390315f4284f13709a9856;p=pandora-kernel.git perf-record: Check correct pid when forking When forking the child to be traced, we should check the correct return value from fork() and not a local variable which is otherwise unused. Signed-off-by: Borislav Petkov Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Paul Mackerras Cc: Tom Zanussi Cc: Stephane Eranian LKML-Reference: <20100531211818.GA30175@liondog.tnic> Signed-off-by: Frederic Weisbecker --- Reading git-diff-tree failed