Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2002 23:12:57 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/gprof alpha.h gprof.c gprof.h hp300.h i386.h ia64.h mips.h sparc.h tahoe.h vax.h
Message-ID:  <200202210712.g1L7Cvr07303@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         2002/02/20 23:12:57 PST

  Modified files:
    usr.bin/gprof        alpha.h gprof.c gprof.h hp300.h i386.h 
                         ia64.h mips.h sparc.h tahoe.h vax.h 
  Log:
  Moved the definition of the machine-independent macro UNITS_TO_CODE
  from <number of machines> machine-dependent headers to the one
  non-header here it is used so that it is easier to fix.  This macro
  just divides the machine-dependent offset OFFSET_OF_CODE by the
  machine-independent scale factor sizeof(UNIT), as required for bug
  for bug compatibility with the scaling of pc's in gprof.c.  UNIT is
  the type of a profiling counter, and its size has nothing to do with
  the correct scale factor except both are usually 2.
  
  Revision  Changes    Path
  1.2       +1 -1      src/usr.bin/gprof/alpha.h
  1.13      +2 -0      src/usr.bin/gprof/gprof.c
  1.12      +2 -0      src/usr.bin/gprof/gprof.h
  1.2       +1 -1      src/usr.bin/gprof/hp300.h
  1.2       +1 -1      src/usr.bin/gprof/i386.h
  1.2       +0 -1      src/usr.bin/gprof/ia64.h
  1.2       +1 -1      src/usr.bin/gprof/mips.h
  1.2       +1 -1      src/usr.bin/gprof/sparc.h
  1.3       +1 -1      src/usr.bin/gprof/tahoe.h
  1.3       +1 -1      src/usr.bin/gprof/vax.h

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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