Thread (11 messages) flat view 11 messages, 4 authors, 2007-05-21

Re: [PATCH] Performance Stats: Kernel patch

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2007-05-08 19:33:14

On Tue, 08 May 2007 16:26:51 +0000
Maxim Uvarov [off-list ref] wrote:
From: Maxim Uvarov <redacted>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: pavel@ucw.cz
Cc: linuxppc-dev@ozlabs.org
Cc: wli@holomorphy.com
Cc: dada1@cosmosbay.com
Cc: pavel@ucw.cz
Strange that linux-ppc was the only mailing list you copied?
Subject: [PATCH] Performance Stats: Kernel patch
Date: Tue, 08 May 2007 16:26:51 +0000
User-Agent: StGIT/0.12.1


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.
syscall entry is a super-hotpath and there will be a developer revolt
if we go adding an incl to that path, sorry.

(Did that incl also cover the int 80 entry?)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help