aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2010-05-31 23:18:18 +0200
committerFrederic Weisbecker <[email protected]>2010-06-01 00:57:14 +0200
commit2fb750e825b5347de0390315f4284f13709a9856 (patch)
tree83ee23e2e1de5460c399e7f527a27acf412022f5 /tools/perf/util/trace-event-scripting.c
parentdd833d713ccc79e00176eb1b3a6c65638c44e27b (diff)
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 <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Tom Zanussi <[email protected]> Cc: Stephane Eranian <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions