cvs commit: src/sys/kern kern_pmc.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Apr 20 13:31:00 PDT 2005


marcel      2005-04-20 20:30:59 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_pmc.c 
  Log:
  Do not conditionally compile the contents of this file upon whether
  HWPMC_HOOKS is defined. The pmc_cpu_is_*() functions in this file
  are referenced unconditionally by hwpmc(4).
  
  This is mostly a stop-gap. The pmc_cpu_is*() function should
  probably be declared inline in <sys/pmc.h> or <sys/pmckern.h> and
  the function pointers with corresponding SX lock should probably
  be moved to another file and compiled conditionally upon HWPMC_HOOKS.
  
  Ok'd by: jkoshy@
  
  Revision  Changes    Path
  1.2       +0 -5      src/sys/kern/kern_pmc.c


More information about the cvs-src mailing list