Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2006 15:16:43 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/conf kern.pre.mk
Message-ID:  <200610261516.k9QFGi4C012576@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2006-10-26 15:16:43 UTC

  FreeBSD src repository

  Modified files:
    sys/conf             kern.pre.mk 
  Log:
  Fixed high resolution profiling on arches that support it (amd64 and
  i386).  Use -mprofiler-epilogue again, and don't use -finstrument-functions.
  The former has been fixed for arches that implement high-res profiling,
  and the latter has been useless for kernel profiling since gcc-3.4
  when it started forcing -fno-inline.  -fno-inline gives a kernel with
  performance characteristics too different from a normal kernel to be
  worth profiling, by turning off inlining of all the little optimized
  functions in headers.  This interacts especially badly with FreeBSD's
  use of "static inline" for all inlines in headers, by creating many
  separate copies of the little functions, so not inlining tends to
  increase cache pressure where it should reduce it, and (since gprof(1)
  doesn't understand the copies) the statistics for the little functions
  are hard to interpret even if you want them.
  
  Revision  Changes    Path
  1.81      +1 -1      src/sys/conf/kern.pre.mk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610261516.k9QFGi4C012576>