perf stat: Set child_pid after perf_evlist__prepare_workload()
authorNamhyung Kim <namhyung.kim@lge.com>
Mon, 30 Sep 2013 09:01:11 +0000 (18:01 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Oct 2013 18:16:05 +0000 (15:16 -0300)
commitd20a47e70b57a77f4d1b0dba98a668e14c2f9bf9
tree5272e10e51943e0b739331f15a81f908f2d3f8ca
parent6adb0b0ae26fcc35cfec068d71f13863faac5b44
perf stat: Set child_pid after perf_evlist__prepare_workload()

The commit acf2892270dc ("perf stat: Use perf_evlist__prepare/
start_workload()") converted to use the function but forgot to update
child_pid.  Fix it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1380531671-28076-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c