summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof
Commit message (Collapse)AuthorAgeFilesLines
* Use NULL instead of 0 for pointers.araujo2016-05-163-6/+6
| | | | MFC after: 2 weeks
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge head from 7/28sjg2014-08-192-43/+0
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * sync from headsjg2013-04-1210-165/+115
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | Remove ia64.marcel2014-07-072-43/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* | rework old-style functions prototypescharnier2013-02-1410-165/+115
|/ | | | reduce WARNS=6 output
* Fix resolving symbol names on ARM.gber2012-05-251-0/+6
| | | | | | | | | | | On ARM, binutils are adding '$a' symbols in the symbol table for every function (in addition to normal symbol). When gprof(1) looks up symbol name, it often reads '$a' instead of proper function name, because it find it first. With this fix, when read symbol name begins with '$' and previous symbol has the same address, it will use previous symbol name (which is proper function name). Obtained from: Semihalf
* General mdoc(7) and typo fixes.gjb2012-05-101-1/+1
| | | | | | PR: 167696 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* More fixes for correct printf length modifiers usr.bin/gprof.dim2011-12-172-4/+4
| | | | MFC after: 1 week
* In usr.bin/gprof/aout.c, use the correct printf length modifier for adim2011-12-171-1/+1
| | | | | | uint32_t. MFC after: 1 week
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-1118-72/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Move most of the remaining USD/PSD/SMM papers into share/docuqs2010-12-0413-1359/+0
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-0/+2
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Add missing #include for string routines.ed2010-01-021-0/+1
|
* If running with "-K" really do not information about symbols from the a.outobrien2009-01-121-1/+1
| | | | | | | | | argument. Before this fix, after searching the currently-running kernel, we would still search the a.out argument - completely override the in-kernel list, essentially defeating the K flag's purpose. PR: 47387 Submitted by: Ryan Beasley <ryanb@goddamnbastard.org>
* Remove reference to unimplemented "-c" option.trhodes2008-12-251-4/+1
| | | | PR: 119338
* Add gprof MIPS MD header and enable building gprof.obrien2008-09-021-0/+46
| | | | Obtained from: Juniper Networks
* Add mips support.imp2008-04-041-0/+3
|
* Remove alpha-specific stuff.ru2006-08-232-47/+0
|
* clone i386.h for powerpcgrehan2005-12-291-0/+44
|
* Catch up with increasing the resolution suitable for high-res kernelbde2005-10-071-3/+13
| | | | | | | profiling from microseconds to nanoseconds in 1996. Picoseconds are already needed. Describe the choice of units for the per-call times in detail.
* Improve printing of self times in the flat profile for functions thatbde2005-10-071-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appear to be never called: (1) If a function is never called according to its call count but it must have been called because its child time is nonzero, then print it in the flat profile. Previously, if its call count was zero then we only printed it in the flat profile if its self time was nonzero. (2) If a function has a zero call count but has a nonzero self or child time, then print its total self time in the self time per call column as a percentage of the total (self + child) time. It is not possible to print the times per call in this case because the call count is zero. Previously, this was handled by leaving both per-call columns blank. The self time is printed in another column but there was no way to recover the total time. (1) partially fixes the case of the "never called" function main() and prepares for (2) to apply to main() and other functions. Profiling of main() was lost in the conversion from a.out to ELF, so main()'s call count has always been zero for many years; then in the common case where main() is a tiny function, it gets no profiling ticks, so main() was completely lost in the flat profile. (2) improves mainly cases like kernel threads. Most kernel threads appear to be never called because they are always started before userland can run to turn on profiling. As for main(), the fact that they are called is not very interesting and their callers are uninteresting, but their relative self time is interesting since they are long-running. Almost always printing percentages in the per-call columns would be more useful than almost always printing 0.0ms. 0.1ms is now a long time, so only very large functions take that long per call. The accuracy per call can approach 1-10 nsec provided programs are run for about 100000 times as long as is necessary to get this accuracy with high resolution kernel profiling.
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Make sure to return 0 from kernel_getnfile() since if there were angreen2004-10-051-0/+1
| | | | error, it would exit() (and it needs to return a value).
* Use a proper prototype for hertz().stefanf2004-10-032-1/+3
|
* Fix a few cases that relied on 'implicit int' (constraint violation in C99).stefanf2004-07-111-1/+1
|
* Deal with double whitespace.ru2004-07-031-3/+3
|
* Fix after rev. 1.24 changes: bump document date, and remove -cru2004-07-021-2/+2
| | | | from SYNOPSIS.
* Mechanically kill hard sentence breaks.ru2004-07-021-3/+5
|
* Retire support for gprof's -c option. All our currently supportedstefanf2004-06-2012-111/+1
| | | | | | architectures only provide a dummy implementation. Silence on: current@
* Include <string.h> for prototypes of various string functions.stefanf2004-05-244-0/+7
| | | | Approved by: das (mentor)
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.stefanf2004-05-241-0/+2
| | | | Approved by: das (mentor)
* Build/install gprof on amd64 as well, after repocopying the MD bits.peter2004-05-181-0/+3
| | | | Not that it has anything to process yet, but that comes next.
* Fixed total disorder of MD includes.bde2004-05-141-10/+10
| | | | Disorder buffer overflowed by: arm commit
* Some arm bits for gprof.cognet2004-05-143-0/+62
|
* Remove MD bits for unsupported architectures.tjr2003-10-3012-1238/+1
|
* Remove 2 more unused doc Makefiles.trhodes2003-02-041-12/+0
|
* Add powerpc.h. Still missing powerpc.[ch] in gprof, but this getsgrehan2002-12-101-0/+3
| | | | | | the MI stuff out of the way. Approved: re (rwatson)
* mdoc(7) police: back out unproved changes in previous revision;ru2002-11-261-4/+4
| | | | | | | descriptions in the FILES section should be full sentences, as demonstrated in mdoc(7) and /usr/share/examples/mdoc/. Approved by: re
* Remove done() which was just exit() so use of warn()/err() can be made. Abortcharnier2002-10-1620-198/+238
| | | | | | | on allocation failure instead of displaying a warning and deferencing NULL pointer after. Spelling. Add prototypes. Add list of option in synopsis section of man page, -d is not referenced because available as a compile option. It should be made a runtime option btw.
* Consistently use FBSDIDobrien2002-06-309-13/+20
|
* Fix preprocessor directive syntax (text after #endif).wollman2002-05-306-53/+61
| | | | The style of this program is still atrocious (not fixed).
* Check for defined(__i386__) instead of just defined(i386) since the compileralfred2002-05-301-1/+1
| | | | will be updated to only define(__i386__) for ANSI cleanliness.
* Use `The .Nm utility'charnier2002-04-201-6/+7
|
OpenPOWER on IntegriCloud