[PATCH] Performance Stats: Kernel patch

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu May 10 22:38:42 EST 2007


On Thu, 2007-05-10 at 12:39 +0000, Maxim Uvarov wrote:
> Patch makes available to the user the following
> task and process performance statistics:
> 	* Involuntary Context Switches (task_struct->nivcsw)
> 	* Voluntary Context Switches (task_struct->nvcsw)
> 	* Number of system calls (added new counter
> 	  thread_info->sysall_count)
> 	           
> 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.

This should be sent to the linux-kernel list I think...  Or at least
CCd.

josh




More information about the Linuxppc-dev mailing list