From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from amd.ucw.cz (gprs189-60.eurotel.cz [160.218.189.60]) by ozlabs.org (Postfix) with ESMTP id C7F66DDDEA for ; Thu, 10 May 2007 22:03:13 +1000 (EST) Date: Thu, 10 May 2007 14:03:13 +0200 From: Pavel Machek To: Maxim Uvarov Subject: Re: [PATCH] Performance Stats: Kernel patch Message-ID: <20070510120313.GD23054@elf.ucw.cz> References: <20070510114221.7576.67522.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20070510114221.7576.67522.stgit@localhost.localdomain> Cc: linuxppc-dev@ozlabs.org, Andrew Morton , wli@holomorphy.com, dada1@cosmosbay.com List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi! > 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. I was told nvcsw is standard name, but given how other fields are named ("syscall_counter") I think we should use some more reasonable name (like "voluntary_ctxt_switches" or something). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html