The NetBSD Project

CVS log for src/sys/kern/sys_pmc.c

[BACK] Up to [cvs.netbsd.org] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.9: +16 -15 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.9: +16 -15 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:14 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.10.4.1: +2 -3 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:05 2008 UTC (4 years ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 21 12:56:31 2008 UTC (4 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-6-base, netbsd-6, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, matt-premerge-20091211, 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, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2, HEAD
Branch point for: wrstuden-revivesa
Changes since 1.9: +16 -15 lines
Diff to previous 1.9 (colored)

Make ntp, pmc, reboot, sysarch, time syscalls MPSAFE.

Revision 1.4.18.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:24 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.18.2: +14 -14 lines
Diff to previous 1.4.18.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.7.20.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:22 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.7.20.1: +14 -14 lines
Diff to previous 1.7.20.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with HEAD

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:14 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.8: +14 -14 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:15 2007 UTC (4 years, 5 months ago) by ad
Branch: vmlocking2
Changes since 1.8: +14 -14 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:11 2007 UTC (4 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.8: +14 -14 lines
Diff to previous 1.8 (colored)

Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.

Revision 1.7.20.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:32:32 2007 UTC (4 years, 6 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

sync with HEAD

Revision 1.4.18.2 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:36 2007 UTC (4 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.18.1: +4 -4 lines
Diff to previous 1.4.18.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.7.6.1 / (download) - annotate - [select for diffs], Fri Oct 12 13:48:55 2007 UTC (4 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Fix merge errors.

Revision 1.7.18.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:05 2007 UTC (4 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Sep 21 19:14:13 2007 UTC (4 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Include sys/cdefs.h first.

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:17 2007 UTC (5 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, matt-armv6, jmcneill-pm
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Merge newlock2 to head.

Revision 1.4.48.2 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:41 2007 UTC (5 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.4.48.1: +2 -3 lines
Diff to previous 1.4.48.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Remove support for SA. Ok core@.

Revision 1.4.50.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:18:45 2006 UTC (5 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4.50.1: +4 -6 lines
Diff to previous 1.4.50.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.4.48.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (5 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 1 10:17:59 2006 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, newlock2-nbase, newlock2-base, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.5: +4 -6 lines
Diff to previous 1.5 (colored)

remove some __unused from function parameters.

Revision 1.4.50.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:11 2006 UTC (5 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored)

sync with head

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:18 2006 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.4: +6 -4 lines
Diff to previous 1.4 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jan 20 01:40:48 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, 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, 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, matt-timespec, ktrace-lwp-base, ktrace-lwp, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, 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: yamt-splraiseipl, yamt-lazymbuf, newlock2
Changes since 1.3: +12 -14 lines
Diff to previous 1.3 (colored)

Make this compile again on i386 by avoiding an unused variable
warning.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 18 10:06:34 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.2: +11 -4 lines
Diff to previous 1.2 (colored)

Merge the nathanw_sa branch.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Tue Dec 31 02:25:34 2002 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.2.3: +8 -2 lines
Diff to previous 1.2.2.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Make this compile again.  Add a note about needing a multiprocessor
locking protocol (needed for multi-LWP processes on multiprocessor
systems).

Revision 1.2.6.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:10 2002 UTC (9 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.2.6.1: +171 -0 lines
Diff to previous 1.2.6.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

sync kqueue branch with HEAD

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:12 2002 UTC (9 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2.4.1: +171 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

catch up with -current.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Aug 13 03:11:22 2002 UTC (9 years, 9 months ago) by simonb
Branch: nathanw_sa
Changes since 1.2.2.2: +5 -4 lines
Diff to previous 1.2.2.2 (colored) to branchpoint 1.2 (colored)

LWP'ify pmcs for the non-PERFCTRS (easy!) case.  Undoubtedly broken for
ports with PERFCTRS at the moment.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Aug 13 02:20:07 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2.2.1: +171 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored)

Catch up to -current.

Revision 1.2.6.1, Wed Aug 7 11:13:41 2002 UTC (9 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.2: +0 -171 lines
FILE REMOVED

file sys_pmc.c was added on branch kqueue on 2002-09-06 08:48:10 +0000

Revision 1.2.4.1, Wed Aug 7 11:13:41 2002 UTC (9 years, 9 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.2: +0 -171 lines
FILE REMOVED

file sys_pmc.c was added on branch gehenna-devsw on 2002-08-29 05:23:12 +0000

Revision 1.2.2.1, Wed Aug 7 11:13:41 2002 UTC (9 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.2: +0 -171 lines
FILE REMOVED

file sys_pmc.c was added on branch nathanw_sa on 2002-08-13 02:20:07 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 7 11:13:41 2002 UTC (9 years, 9 months ago) by briggs
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: nathanw_sa, kqueue, gehenna-devsw
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Only include sys/pmc.h if PERFCTRS is defined.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 7 05:16:26 2002 UTC (9 years, 9 months ago) by briggs
Branch: MAIN

Implement pmc(9) -- An interface to hardware performance monitoring
counters.  These counters do not exist on all CPUs, but where they
do exist, can be used for counting events such as dcache misses that
would otherwise be difficult or impossible to instrument by code
inspection or hardware simulation.

pmc(9) is meant to be a general interface.  Initially, the Intel XScale
counters are the only ones supported.

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>