Files
erofs-linux/include/linux
Maxim Uvarov b663a79c19 taskstats: add context-switch counters
Make available to the user the following task and process performance
statistics:

	* Involuntary Context Switches (task_struct->nivcsw)
	* Voluntary Context Switches (task_struct->nvcsw)

Statistics information is available from:
	1. taskstats interface (Documentation/accounting/)
	2. /proc/PID/status (task only).

This data is useful for detecting hyperactivity patterns between processes.

[[email protected]: cleanup]
Signed-off-by: Maxim Uvarov <[email protected]>
Cc: Shailabh Nagar <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Jay Lan <[email protected]>
Cc: Jonathan Lim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-07-16 09:05:46 -07:00
..
…
…
…
…
2007-07-12 15:41:24 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-13 08:06:14 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:46 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-11 16:09:00 -07:00
…
…
…
…
…
2007-07-12 10:55:56 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:45 -07:00
…
…
…
…
2007-07-16 09:05:41 -07:00
…
…
…
…
2007-07-10 00:35:17 -04:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:34 -07:00
…
…
…
…
…
…
…
2007-07-10 22:15:03 -07:00
2007-07-14 18:55:06 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-10 22:16:44 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-10 22:15:26 -07:00
…
…
…
…
2007-07-10 21:30:33 -04:00
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:34 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:45 -07:00
…
…
…
…
…
…
2007-07-16 09:05:42 -07:00
…
…
…
…
2007-07-10 17:33:05 +01:00
…
…
…
…
…
…
…
2007-07-14 18:55:06 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:40 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
2007-07-16 09:05:36 -07:00
…
…
…
…
…
…
2007-07-16 09:05:45 -07:00
…
…
…
2007-07-16 09:05:46 -07:00
…
…
2007-07-16 09:05:40 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-16 09:05:41 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2007-07-12 16:34:40 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…