Date: Thu, 9 Oct 2008 14:55:45 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libpmc libpmc.c src/sys/dev/hwpmc pmc_events.h src/sys/sys pmc.h Message-ID: <200810091458.m99Ewm3P063113@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810091458.m99Ewm3P063113>
