From owner-cvs-src@FreeBSD.ORG Sun Apr 22 15:00:40 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F67116A400; Sun, 22 Apr 2007 15:00:40 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id F00C113C4AD; Sun, 22 Apr 2007 15:00:39 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l3MF0djF043993; Sun, 22 Apr 2007 15:00:39 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l3MF0ddL043991; Sun, 22 Apr 2007 15:00:39 GMT (envelope-from jkoshy) Message-Id: <200704221500.l3MF0ddL043991@repoman.freebsd.org> From: Joseph Koshy Date: Sun, 22 Apr 2007 15:00:39 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/pmcstat pmcstat.8 pmcstat.c pmcstat.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2007 15:00:40 -0000 jkoshy 2007-04-22 15:00:39 UTC FreeBSD src repository Modified files: usr.sbin/pmcstat pmcstat.8 pmcstat.c pmcstat.h Log: MFP4: Enhancements and bug-fixes to pmcstat(8): - The '-c' option now takes a comma-separated list of CPU numbers, or a literal '*' denoting all CPUs in the system. Subsequent system PMCs are allocated on the CPUs so specified. Change the default behaviour to allocate system PMCs on all CPUs, not just CPU 0. Update the manual page and add an example of how to use the new functionality. - Attach PMCs to a (commandline) child process more reliably. This fixes a long standing bug in counting events incurred by short-lived processes. Revision Changes Path 1.11 +18 -9 src/usr.sbin/pmcstat/pmcstat.8 1.16 +189 -108 src/usr.sbin/pmcstat/pmcstat.c 1.4 +17 -9 src/usr.sbin/pmcstat/pmcstat.h