[PATCH] csa: basic accounting over taskstats
Add some basic accounting fields to the taskstats struct, add a new kernel/tsacct.c to handle basic accounting data handling upon exit. A handle is added to taskstats.c to invoke the basic accounting data handling. Signed-off-by:Jay Lan <jlan@sgi.com> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Jes Sorensen <jes@sgi.com> Cc: Chris Sturtivant <csturtiv@sgi.com> Cc: Tony Ernst <tee@sgi.com> Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net> Cc: "Michal Piotrowski" <michal.k.k.piotrowski@gmail.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- include/linux/taskstats.h 24 additions, 5 deletionsinclude/linux/taskstats.h
- include/linux/tsacct_kern.h 19 additions, 0 deletionsinclude/linux/tsacct_kern.h
- kernel/Makefile 1 addition, 1 deletionkernel/Makefile
- kernel/taskstats.c 4 additions, 0 deletionskernel/taskstats.c
- kernel/tsacct.c 72 additions, 0 deletionskernel/tsacct.c
Loading
Please register or sign in to comment