summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-10-08 11:51:31 +0200
committerIngo Molnar <mingo@kernel.org>2013-10-08 11:51:31 +0200
commit429eb051011a580beae2dc9f8caed5dade9591dc (patch)
treeb777c5d032e34c634aa19bf9fc0833390b37d7f1 /tools/perf/builtin-stat.c
parentperf/x86: Suppress duplicated abort LBR records (diff)
parentMerge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadlinux-429eb051011a580beae2dc9f8caed5dade9591dc.tar.xz
linux-429eb051011a580beae2dc9f8caed5dade9591dc.zip
Merge branch 'perf/urgent' into tools/perf/build
Diffstat (limited to 'tools/perf/builtin-stat.c')
-rw-r--r--tools/perf/builtin-stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index cc7efee9d301..700b47849101 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -534,6 +534,7 @@ static int __run_perf_stat(int argc, const char **argv)
perror("failed to prepare workload");
return -1;
}
+ child_pid = evsel_list->workload.pid;
}
if (group)