perfcounters: pull inherited counters
authorIngo Molnar <mingo@elte.hu>
Fri, 19 Dec 2008 09:20:42 +0000 (10:20 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 23 Dec 2008 11:45:16 +0000 (12:45 +0100)
commiteef6cbf5844c620d9db9be99e4908cdf92492fb9
treea4601e8d8ce64ca0f23f59b889360d578f663f5b
parentaa9c4c0f967fdb482ea95e8473ec3d201e6e0781
perfcounters: pull inherited counters

Change counter inheritance from a 'push' to a 'pull' model: instead of
child tasks pushing their final counts to the parent, reuse the wait4
infrastructure to pull counters as child tasks are exit-processed,
much like how cutime/cstime is collected.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/init_task.h
kernel/exit.c
This page took 0.030567 seconds and 5 git commands to generate.