cvs commit: src/sys/dev/hwpmc hwpmc_mod.c

Joseph Koshy jkoshy at
Mon Aug 22 18:18:21 GMT 2005

jkoshy      2005-08-22 18:18:20 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hwpmc        hwpmc_mod.c 
  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

More information about the cvs-src mailing list