17 Commits

Author SHA1 Message Date
tjr
b370825827 Fix the type of struct bbf's arc_count member: according to gcc's
definition of struct bb_function_info in libgcc2.c, it should be
an int, not a long.
2004-05-29 01:22:53 +00:00
phk
f9608ecffb Fix our kernel support for Basic Block Profiling to work with GCC33.
Approved by:	re@
2003-12-03 07:43:03 +00:00
obrien
7293a24a2b Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
phk
cf4805ac14 Update kernbb(8) to deal with GCC's new way of doing things. 2003-01-06 07:46:26 +00:00
bde
a8e6e41c88 Include <nlist.h> for nlist interfaces instead of depending on namespace
pollution in <kvm.h>.
2002-08-18 17:57:08 +00:00
dd
7894e59b7f Nuke unused variables. 2001-06-24 23:41:57 +00:00
peter
efabb9ccb1 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
phk
7bd71ddeb6 Now bb structures are linked together. 1999-03-21 12:32:17 +00:00
charnier
466aa2b87a Use err(3). Put includes in alphabetical order. Use .An macro. 1997-09-22 06:30:04 +00:00
phk
c185590853 typo fix. 1997-08-14 10:36:31 +00:00
phk
41f0be497a Do not output anything for source-files with no counts.
Output function name for the "pre-prologue" entry, by stealing
it from the next entry.
Output length of basic-block in bytes and product of executions
and length.
1997-08-14 10:36:02 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
bde
4fe4de038e Fixed misapplied patch in rev.1.2. A loop continuation test was outside
the loop.  This usually caused most of the output to be skipped.
1997-01-14 10:30:45 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
phk
a92bdda05d Fix various bogosities. 1995-10-22 19:45:28 +00:00
phk
9de92bdb39 Don't dereference NULL pointers. 1995-04-28 04:58:19 +00:00
phk
fe55610d5f Added the kernbb program. No man-page yet :( 1995-03-10 08:53:55 +00:00