taskstats: separate taskstats commands
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Wed, 27 Oct 2010 22:34:44 +0000 (15:34 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 28 Oct 2010 01:03:17 +0000 (18:03 -0700)
commit9323312592cca636d7c2580dc85fa4846efa86a2
treeb73ce3e0a5302f7b30498460b13504517169eb3c
parent85893120699f8bae8caa12a8ee18ab5fceac978e
taskstats: separate taskstats commands

Move each taskstats command into a single function.  This makes the code
more readable and makes it easier to add new commands.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/taskstats.c