aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@alien8.de>2010-05-31 23:18:18 +0200
committerFrederic Weisbecker <fweisbec@gmail.com>2010-06-01 00:57:14 +0200
commit2fb750e825b5347de0390315f4284f13709a9856 (patch)
tree83ee23e2e1de5460c399e7f527a27acf412022f5 /kernel/perf_event.c
parentperf: Do the comm inheritance per thread in event__process_task (diff)
downloadlinux-dev-2fb750e825b5347de0390315f4284f13709a9856.tar.xz
linux-dev-2fb750e825b5347de0390315f4284f13709a9856.zip
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 <bp@alien8.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Tom Zanussi <tzanussi@gmail.com> Cc: Stephane Eranian <eranian@google.com> LKML-Reference: <20100531211818.GA30175@liondog.tnic> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/perf_event.c')
0 files changed, 0 insertions, 0 deletions