cvs commit: src/sys/kern kern_clock.c

John Baldwin jhb at
Fri Dec 16 14:11:53 PST 2005

jhb         2005-12-16 22:11:52 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_clock.c 
  - Use uintfptr_t rather than int for the kernel profiling index (though it
    really should be a fptrdiff_t if we had that) in profclock().
  - Don't try to profile kernel pc's that are >= the kernel lowpc to avoid
    underflows when computing a profiling index.
  - Use the PC_TO_I() macro to compute the kernel profiling index rather than
    doing it inline.
  Discussed with: bde
  Revision  Changes    Path
  1.182     +3 -3      src/sys/kern/kern_clock.c

More information about the cvs-src mailing list