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
parentb7af41a1bc255c0098c37a4bcf5c7e5e168ce875 (diff)
parent1651d120baddf68846188bcdf0ef5350068436cf (diff)
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 cc7efee9d30..700b4784910 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)