Date: Mon, 22 Aug 2005 18:18:20 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c Message-ID: <200508221818.j7MIIKcM056880@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkoshy 2005-08-22 18:18:20 UTC FreeBSD src repository Modified files: sys/dev/hwpmc hwpmc_mod.c Log: Return EOPNOTSUPP instead of EINVAL if a PMC allocation request specifies a PMC capability (e.g., sampling) that is not supported by hardware. Return EINVAL early if the PMC class passed in is not recognized. MFC after: 3 days Revision Changes Path 1.15 +15 -1 src/sys/dev/hwpmc/hwpmc_mod.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508221818.j7MIIKcM056880>