From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [65.172.181.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.osdl.org", Issuer "CA Cert Signing Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 89D0EDDE44 for ; Wed, 9 May 2007 05:33:14 +1000 (EST) Date: Tue, 8 May 2007 12:32:14 -0700 From: Andrew Morton To: Maxim Uvarov Subject: Re: [PATCH] Performance Stats: Kernel patch Message-Id: <20070508123214.11b4f25c.akpm@linux-foundation.org> In-Reply-To: <20070508162650.704.83752.stgit@localhost.localdomain> References: <20070508162650.704.83752.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, wli@holomorphy.com, pavel@ucw.cz, dada1@cosmosbay.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 08 May 2007 16:26:51 +0000 Maxim Uvarov wrote: > From: Maxim Uvarov > To: Andrew Morton > 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?)