From owner-cvs-src-old@FreeBSD.ORG Thu Oct 9 14:58:48 2008 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 368CE1065687 for ; Thu, 9 Oct 2008 14:58:48 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 238078FC14 for ; Thu, 9 Oct 2008 14:58:48 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m99EwmPs063114 for ; Thu, 9 Oct 2008 14:58:48 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m99Ewm3P063113 for cvs-src-old@freebsd.org; Thu, 9 Oct 2008 14:58:48 GMT (envelope-from jkoshy@repoman.freebsd.org) Message-Id: <200810091458.m99Ewm3P063113@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jkoshy@repoman.freebsd.org using -f From: Joseph Koshy Date: Thu, 9 Oct 2008 14:55:45 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libpmc libpmc.c src/sys/dev/hwpmc pmc_events.h src/sys/sys pmc.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2008 14:58:48 -0000 jkoshy 2008-10-09 14:55:45 UTC FreeBSD src repository Modified files: lib/libpmc libpmc.c sys/dev/hwpmc pmc_events.h sys/sys pmc.h Log: SVN rev 183725 on 2008-10-09 14:55:45Z by jkoshy - Sparsely number enumerations 'pmc_cputype' and 'pmc_event' in order to reduce ABI disruptions when new cpu types and new PMC events are added in the future. - Support alternate spellings for PMC events. Derive the canonical spelling of an event name from its enumeration name in 'enum pmc_event'. - Provide a way for users to disambiguate between identically named events supported by multiple classes of PMCs in a CPU. - Change libpmc's machine-dependent event specifier parsing code to better support CPUs containing two or more classes of PMC resources. Revision Changes Path 1.17 +287 -101 src/lib/libpmc/libpmc.c 1.6 +373 -443 src/sys/dev/hwpmc/pmc_events.h 1.17 +28 -23 src/sys/sys/pmc.h