summaryrefslogtreecommitdiff
path: root/usr.bin/gprof
AgeCommit message (Collapse)Author
2017-10-29Prefer <elf.h> to the non portable <sys/exec_elf.h>.Martin Pieuchot
ok jca@, deraadt@
2017-01-11Add "support" for AArch64 to make it compile.Patrick Wildt
2016-12-22Simply some for() loops to eliminate "computed, not used" warnings.Kenneth R Westerback
Also makes the code much easier to understand. ok tom@ ok millert@ pirofti@ on earlier version.
2016-10-08findcall() for the -c option is implemented on mips64, not sparc64Philip Guenther
2016-10-06remove some Xr that had no section numbers (since we don;t have the pages);Jason McIntyre
from a diff from anton lindqvist;
2016-09-21fix the signposting for -EeFf by partially rewriting the descriptions;Jason McIntyre
diff from guenther, tweaked by me; ok guenther
2016-09-01remove sparc supportTed Unangst
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-03-09We are done providing support for the vax.Theo de Raadt
lots of agreement.
2015-12-06Fix qsort() comparison functions:Philip Guenther
- 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)
2015-11-16pledge for gprof: "stdio rpath wpath cpath" in the beginning, then dropPascal Stumpf
wpath and cpath if we don't need to write a gmon.sum file (-s flag). ok deraadt@
2015-08-20Do not cast result of malloc/calloc/realloc* if stdlib.h is in scopeTheo de Raadt
ok krw millert
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-12-22remove never used in openbsd tahoe support. and ns32k. and pmax.Ted Unangst
ok deraadt millert
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingMiod Vallat
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
(namespace pollution!) or talking about its opinion on code. ok krw@
2013-10-19a.out went awayTheo de Raadt
2013-10-17pretty upTheo de Raadt
2013-07-05More a.out files leave the party.Miod Vallat
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2011-12-23some spelling fixes, found using freebsd's "igor" document verifier;Jason McIntyre
2011-08-16Make this build for hppa64.Mark Kettenis
2010-10-17Stop installing me(1) and ms(1) source code.Ingo Schwarze
We will soon get rid of groff in base, so there is no longer any way to use these files with base. No opposition on tech@.
2010-05-25no more f77;Jason McIntyre
2010-02-03Use MACHINE_CPU instead of MACHINE_ARCH to pick the correct machine dependentMiod Vallat
files or directories when applicable. The inspiration and name of MACHINE_CPU come from NetBSD, although the way to provide it to Makefiles is completely different. ok kettenis@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2008-06-25split test for __sparc__ into __sparc__ and __sparc64__Theo de Raadt
2007-12-09remove makefile hacks to build links. Instead, change the files thatMarc Espie
gprof uses directly. okay deraadt@, miod@. Thanks for checking that gcc 2.95 is happy with #include MACRO
2007-12-05unbreak build, on vaxTheo de Raadt
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-11-24write explicit dependencies for make -j. beforedepend creates the file,Marc Espie
but make -j tries to find them earlier, and can't.
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-04-14adds a detailed list of flags and arguments to the synopsis of gprof;Igor Sobrado
while here, alphabetically sorts the options list and slightly improves the name of the arguments to -k ok by jmc@
2007-01-09Ignore "mapping symbols" like $a and $t. They seem to be an ARM-onlyChris Kuethe
feature, used to indicate whether code is ARM or Thumb. Unfortunately they confuse gprof, which outputs call graphs where every other function is named "$a"... not very useful. Rather than enumerating the different symbols, binutils ignores anything beginning with '$', and that is what we will do here. Thanks to Dale Rahn for useful tips along the way. ok miod
2006-10-11Extra files needed for 'sh' architecture, copied from arm.Dale Rahn
2006-03-25add missing prototypes all over the place, u_long -> unsigned long (userlandMarc Espie
code). okay kettenis@, comments by ray@
2005-12-08Check fread() return value to get sane error message for too-smallTodd C. Miller
gmon header. Idea from Alexey Dobriyan
2005-05-03Fix some sign issues and make kernel profiling useful on amd64.Artur Grabowski
millert@ miod@ ok
2005-05-03Better implementation of the hertz function. We use a documented sysctlArtur Grabowski
that gives us a correct answer and not a good guess that uses undocumented itimer semantics. miod@ millert@ ok
2004-08-11mips->mips64Per Fogelstrom
2004-07-23fix use after free due to freeing incorrect item.Marco S Hyman
looks right to me millert@
2004-07-20Add ELFDEBUG to mirror the a.out debug that already exists.Marco S Hyman
OK art@
2004-07-20Fix formats in debug printfs to work correctly on 64-bit archs.Artur Grabowski
miod@ ok
2004-07-20make lowpc and highpc into long, fixing gprof on 64-bit archs with textArtur Grabowski
above 4GB. miod@ ok
2004-02-28use amd64 chunksTheo de Raadt
2004-02-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-01add paper.txt target;Jason McIntyre