The NetBSD Project

CVS log for src/sys/arch/i386/include/profile.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.38 / (download) - annotate - [select for diffs], Tue Nov 2 11:26:04 2021 UTC (15 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

In order to prevent _mcount() from being recursively called when built with COPTS=-O0,
sprinkle `__always_inline' to make _mcount() be generated as a single function.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Thu Mar 22 17:03:02 2018 UTC (4 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.35: +4 -5 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Pull up following revision(s) (requested by christos in ticket #653):
	sys/arch/i386/include/profile.h: revision 1.36
	sys/arch/i386/include/profile.h: revision 1.37

- prevent optimization from omitting the frame pointer (and re-using it);
  we use it in our inline assembly.
- convert to c a little assembly to make the code more understandable.

use compiler builtins to compute addresses instead %ebp assembly arithmetic.
(from joerg)

Revision 1.33.54.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:18 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.33: +14 -39 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

update from HEAD

Revision 1.33.74.2 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:40 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33.74.1: +11 -5 lines
Diff to previous 1.33.74.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jun 8 18:25:14 2017 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.36: +5 -7 lines
Diff to previous 1.36 (colored)

use compiler builtins to compute addresses instead %ebp assembly arithmetic.
(from joerg)

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 4 16:35:59 2017 UTC (5 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.35: +5 -4 lines
Diff to previous 1.35 (colored)

- prevent optimization from omitting the frame pointer (and re-using it);
  we use it in our inline assembly.
- convert to c a little assembly to make the code more understandable.

Revision 1.35 / (download) - annotate - [select for diffs], Wed May 31 01:50:19 2017 UTC (5 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.34: +8 -1 lines
Diff to previous 1.34 (colored)

prevent coredumps by skipping everything early if we are not counting.

Revision 1.33.74.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:00 2016 UTC (6 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.33: +4 -35 lines
Diff to previous 1.33 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jan 10 09:04:32 2016 UTC (7 years ago) by ryo
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.33: +4 -35 lines
Diff to previous 1.33 (colored)

__mcount_lock is moved to MI from MD.
because it is needed for all MULTIPROCESSOR arch, but it is exists only in i386 and amd64.

ok christos@, on tech-kern@

Revision 1.21.4.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:37:08 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.4: +3 -7 lines
Diff to previous 1.21.4.4 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head

Revision 1.28.12.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:43 2008 UTC (15 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.28.12.1: +3 -7 lines
Diff to previous 1.28.12.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

sync with HEAD

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:22 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:22 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Dec 20 23:46:13 2007 UTC (15 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, vmlocking2-base3, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-net80211-sync-base, nick-net80211-sync, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, khorben-n900, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-xeni386-nbase, bouyer-xeni386-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.32: +3 -7 lines
Diff to previous 1.32 (colored)

- Make __cpu_simple_lock and similar real functions and patch at runtime.
- Remove old x86 atomic ops.
- Drop text alignment back to 16 on i386 (really, this time).
- Minor cleanup.

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:17:43 2007 UTC (15 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.28: +27 -4 lines
Diff to previous 1.28 (colored)

sync with HEAD

Revision 1.21.4.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:45 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.3: +27 -4 lines
Diff to previous 1.21.4.3 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:57 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.31: +1 -1 lines
Diff to previous 1.31 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.26.6.2 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:58 2007 UTC (15 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.26.6.1: +27 -4 lines
Diff to previous 1.26.6.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.28.14.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:34:56 2007 UTC (15 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.28: +27 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:53 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.28: +27 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

Revision 1.28.10.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:25 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.28: +27 -4 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Sep 26 22:04:33 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.30: +25 -4 lines
Diff to previous 1.30 (colored)

Inline interrupt disable for _mcount, so the real function calls don't
screw with profiling.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Sep 26 21:05:21 2007 UTC (15 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored)

Make build in userspace again.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Sep 26 20:27:26 2007 UTC (15 years, 4 months ago) by xtraeme
Branch: MAIN
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Fix profiling kernels:

read_psl -> x86_read_psl
write_psl -> x86_write_psl
disable_intr -> x86_disable_intr

Revision 1.21.4.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:49 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.2: +12 -3 lines
Diff to previous 1.21.4.2 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:00:09 2007 UTC (15 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.26: +12 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with head.

Revision 1.26.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:35 2007 UTC (15 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.26: +12 -3 lines
Diff to previous 1.26 (colored)

Sync with head.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Mon May 7 10:54:59 2007 UTC (15 years, 9 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.26: +12 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

sync with head.

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Fri Apr 20 20:08:24 2007 UTC (15 years, 9 months ago) by bouyer
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.25: +12 -3 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pull up following revision(s) (requested by christos in ticket #579):
	sys/arch/i386/include/profile.h: revisions 1.27 - 1.28
save and restore %eax, %ecx, otherwise profiling does not work properly.

Revision 1.26.12.1 / (download) - annotate - [select for diffs], Wed Apr 18 04:45:13 2007 UTC (15 years, 9 months ago) by thorpej
Branch: thorpej-atomic
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Convert i386 and amd64 to the new atomic ops API.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 16 15:02:25 2007 UTC (15 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base, yamt-idlelwp-base8, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, ppcoea-renovation, matt-armv6, jmcneill-pm
Changes since 1.27: +4 -3 lines
Diff to previous 1.27 (colored)

As noted by uwe, we need to also save %edx because it can be used with
the regparm calling convention.
XXX: The c stub should be replaced with an assembly one.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 16 03:49:52 2007 UTC (15 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.26: +11 -3 lines
Diff to previous 1.26 (colored)

save and restore %eax, %ecx, otherwise profiling does not work properly.
From Anon Ymous. Example program that fails:

	int
	main(int argc, char *argv[])
	{
		return argc;
	}

Revision 1.21.4.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:07:02 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21.4.1: +22 -9 lines
Diff to previous 1.21.4.1 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:05 2007 UTC (16 years ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base, reinoud-bufcleanup, post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, thorpej-atomic, mjf-ufs-trans
Changes since 1.25: +22 -9 lines
Diff to previous 1.25 (colored)

Merge newlock2 to head.

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Tue Feb 6 23:14:45 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.25: +22 -9 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

mcount(): fix entry so LOCKDEBUG+GPROF can be used together. Previously
it would recurse until eventually the machine triple faulted.

Revision 1.24.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:40:14 2006 UTC (16 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:30 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.21: +6 -5 lines
Diff to previous 1.21 (colored)

sync with head.

Revision 1.24.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:33 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync with head.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:37 2006 UTC (16 years, 11 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:13 2006 UTC (16 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:00 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.23 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:10 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.16.18.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:53 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.18.4: +4 -3 lines
Diff to previous 1.16.18.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Sync with HEAD. Here we go again...

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 2 15:34:17 2005 UTC (17 years, 4 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored)

put mcount.c in the normal object list, so that "make depend" works.
use a gcc attribute to prevent it from being instrumented.

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:13 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.19: +27 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with -current

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:04 2005 UTC (17 years, 10 months ago) by yamt
Branch: yamt-km
Changes since 1.19: +27 -3 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.16.18.4 / (download) - annotate - [select for diffs], Fri Mar 4 16:38:47 2005 UTC (17 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.18.3: +27 -3 lines
Diff to previous 1.16.18.3 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.21 / (download) - annotate - [select for diffs], Fri Feb 25 02:01:59 2005 UTC (17 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

fix a typoe in previous.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 21 01:17:29 2005 UTC (17 years, 11 months ago) by chs
Branch: MAIN
Changes since 1.19: +27 -3 lines
Diff to previous 1.19 (colored)

allow profiling of MP kernels, add a spinlock around the body of mcount().

Revision 1.16.18.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:57 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.18.2: +1 -1 lines
Diff to previous 1.16.18.2 (colored) to branchpoint 1.16 (colored)

Fix the sync with head I botched.

Revision 1.16.18.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:40 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16.18.1: +0 -0 lines
Diff to previous 1.16.18.1 (colored) to branchpoint 1.16 (colored)

Sync with HEAD.

Revision 1.16.18.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:36:04 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.16: +7 -9 lines
Diff to previous 1.16 (colored)

Sync with HEAD

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 24 14:01:10 2004 UTC (18 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.18: +5 -3 lines
Diff to previous 1.18 (colored)

instead of blindly set IF in MCOUNT_EXIT,
save eflags in MCOUNT_ENTER and restore it.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Oct 27 13:44:20 2003 UTC (19 years, 3 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Nuke __P().

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 7 16:27:59 2003 UTC (19 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.16: +2 -6 lines
Diff to previous 1.16 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:44:53 2002 UTC (21 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.14.10.1: +4 -3 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync kqueue branch with -current.

Revision 1.14.8.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:25:33 2002 UTC (21 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.14.8.1: +4 -3 lines
Diff to previous 1.14.8.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Catch up to -current.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Fri Nov 30 06:53:57 2001 UTC (21 years, 2 months ago) by enami
Branch: sommerfeld_i386mp_1
Changes since 1.16.2.1: +73 -0 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Declare some asm statement with output as volatile.  Without this,
gcc with -march=pentiumpro produce bad code.

Revision 1.16.2.1, Fri Nov 30 06:53:56 2001 UTC (21 years, 2 months ago) by enami
Branch: sommerfeld_i386mp_1
Changes since 1.16: +0 -73 lines
FILE REMOVED

file profile.h was added on branch sommerfeld_i386mp_1 on 2001-11-30 06:53:57 +0000

Revision 1.16 / (download) - annotate - [select for diffs], Fri Nov 30 06:53:56 2001 UTC (21 years, 2 months ago) by enami
Branch: MAIN
CVS Tags: sommerfeld_i386mpnext, sommerfeld_i386mpbase_1, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, i386mp_plus16_stable, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: sommerfeld_i386mp_1, ktrace-lwp
Changes since 1.15: +4 -3 lines
Diff to previous 1.15 (colored)

Declare some asm statement with output as volatile.  Without this,
gcc with -march=pentiumpro produce bad code.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:10 2001 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored)

Catch up to -current.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sat Aug 25 06:15:27 2001 UTC (21 years, 5 months ago) by thorpej
Branch: kqueue
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 23 06:17:00 2001 UTC (21 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored)

use cli/sti instead of splhigh/splx for MCOUNT_ENTER/MCOUNT_EXIT.
this makes clearer how much time mcount() is really taking.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:09:30 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 22 22:46:56 2000 UTC (23 years ago) by mycroft
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, sommerfeld_i386mpbase_20000422, sommerfeld_i386mp_houseclean, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: nathanw_sa, kqueue
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Delint.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 28 09:57:35 1999 UTC (23 years, 4 months ago) by enami
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Add missing backslash.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 27 09:47:45 1999 UTC (23 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.11: +11 -2 lines
Diff to previous 1.11 (colored)

For ELF, rename the profiling entry from mcount to __mcount to avoid clashing
with the user's namespace, also within file scope; for binary compatibility,
define a weak alias for the previous name to cover our tracks.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Nov 13 13:50:52 1998 UTC (24 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

cast _mcount args to u_long, to avoid lint warnings.

Revision 1.9.14.1 / (download) - annotate - [select for diffs], Wed Nov 5 03:53:57 1997 UTC (25 years, 3 months ago) by thorpej
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull up from trunk: asm -> __asm__

Revision 1.10 / (download) - annotate - [select for diffs], Wed Nov 5 03:53:20 1997 UTC (25 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

asm -> __asm__

Revision 1.9 / (download) - annotate - [select for diffs], Sat Dec 7 12:59:45 1996 UTC (26 years, 2 months ago) by fvdl
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-3-base, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Remove _MCOUNT_DECL prototype once more.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 5 10:21:09 1996 UTC (26 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add _MCOUNT_DECL prototype.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Dec 4 00:03:43 1996 UTC (26 years, 2 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Change asm.h to make it usable for kernel profiling as well.
Make mcount() a prototype in profile.h

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 28 18:17:08 1995 UTC (27 years, 10 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

KERNEL -> _KERNEL

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 27 04:16:19 1994 UTC (28 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: before_newconf_base
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

new RCS ID format.

Revision 1.4 / (download) - annotate - [select for diffs], Fri May 13 11:12:38 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Duh.

Revision 1.3 / (download) - annotate - [select for diffs], Fri May 13 10:47:57 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +10 -1 lines
Diff to previous 1.2 (colored)

Need some more macros not in the 4.4-Lite version.

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 13 10:40:19 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +19 -16 lines
Diff to previous 1.1 (colored)

Do this better.

Revision 1.1 / (download) - annotate - [select for diffs], Fri May 13 09:37:23 1994 UTC (28 years, 9 months ago) by mycroft
Branch: MAIN

Needed for new profiling code.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>