History log of /openbsd-current/usr.bin/gprof/gprof.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.17 27-Jan-2021 deraadt

fix -fno-common issues; ok mortimer


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.16 06-Dec-2015 guenther

Fix qsort() comparison functions:
- correct the function types to eliminate warnings
- avoid substractions that may overflow
- rework tests to be consistent: cmp(A,A)==0 && cmp(A,B)=-cmp(B,A)

worked out with Serguey Parkhomovsky (sergueyparkhomovsky (at) gmail.com)


# 1.15 16-Nov-2015 pascal

pledge for gprof: "stdio rpath wpath cpath" in the beginning, then drop
wpath and cpath if we don't need to write a gmon.sum file (-s flag).

ok deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.14 19-Oct-2013 deraadt

a.out went away


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 09-Dec-2007 espie

remove makefile hacks to build links. Instead, change the files that
gprof uses directly.

okay deraadt@, miod@.
Thanks for checking that gcc 2.95 is happy with
#include MACRO


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.12 25-Mar-2006 espie

add missing prototypes all over the place, u_long -> unsigned long (userland
code).

okay kettenis@, comments by ray@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.11 20-Jul-2004 marc

Add ELFDEBUG to mirror the a.out debug that already exists.
OK art@


# 1.10 20-Jul-2004 art

make lowpc and highpc into long, fixing gprof on 64-bit archs with text
above 4GB.
miod@ ok


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.9 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.8 08-May-2002 art

Split out symbol handling into a separate file.
Implement symbol handling for ELF (based on FreeBSD).
Implement dummy support for alpha, hppa, powerpc and sparc64.

Tested during the last 2 months on various archs (never comitted because
other stuff got in the way).
Some fixups to i386 support from mickey@

This lets us switch all elf archs to this gprof.


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 22-Mar-2001 mickey

_wall, err/warn; dummy hppa part, like others


# 1.5 21-Mar-2001 miod

New compilation scheme, more cross-compiler friendly, less error-prone.
As a bonus, bring support for mvme88k.
millert@ ok


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 22-Dec-1996 rahnds

Add powerpc support to gprof. (primative support).


Revision tags: OPENBSD_2_0_BASE
# 1.3 26-Jun-1996 deraadt

rcsid


# 1.2 21-Apr-1996 deraadt

sync to netbsd 960418


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.16 06-Dec-2015 guenther

Fix qsort() comparison functions:
- correct the function types to eliminate warnings
- avoid substractions that may overflow
- rework tests to be consistent: cmp(A,A)==0 && cmp(A,B)=-cmp(B,A)

worked out with Serguey Parkhomovsky (sergueyparkhomovsky (at) gmail.com)


# 1.15 16-Nov-2015 pascal

pledge for gprof: "stdio rpath wpath cpath" in the beginning, then drop
wpath and cpath if we don't need to write a gmon.sum file (-s flag).

ok deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.14 19-Oct-2013 deraadt

a.out went away


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.13 09-Dec-2007 espie

remove makefile hacks to build links. Instead, change the files that
gprof uses directly.

okay deraadt@, miod@.
Thanks for checking that gcc 2.95 is happy with
#include MACRO


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE
# 1.12 25-Mar-2006 espie

add missing prototypes all over the place, u_long -> unsigned long (userland
code).

okay kettenis@, comments by ray@


Revision tags: OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.11 20-Jul-2004 marc

Add ELFDEBUG to mirror the a.out debug that already exists.
OK art@


# 1.10 20-Jul-2004 art

make lowpc and highpc into long, fixing gprof on 64-bit archs with text
above 4GB.
miod@ ok


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE
# 1.9 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.8 08-May-2002 art

Split out symbol handling into a separate file.
Implement symbol handling for ELF (based on FreeBSD).
Implement dummy support for alpha, hppa, powerpc and sparc64.

Tested during the last 2 months on various archs (never comitted because
other stuff got in the way).
Some fixups to i386 support from mickey@

This lets us switch all elf archs to this gprof.


Revision tags: OPENBSD_3_1_BASE
# 1.7 16-Feb-2002 millert

Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.


Revision tags: OPENBSD_2_9_BASE OPENBSD_3_0_BASE
# 1.6 22-Mar-2001 mickey

_wall, err/warn; dummy hppa part, like others


# 1.5 21-Mar-2001 miod

New compilation scheme, more cross-compiler friendly, less error-prone.
As a bonus, bring support for mvme88k.
millert@ ok


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.4 22-Dec-1996 rahnds

Add powerpc support to gprof. (primative support).


Revision tags: OPENBSD_2_0_BASE
# 1.3 26-Jun-1996 deraadt

rcsid


# 1.2 21-Apr-1996 deraadt

sync to netbsd 960418


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision