The NetBSD Project

CVS log for src/external/cddl/osnet/dev/lockstat/lockstat.c

[BACK] Up to [cvs.NetBSD.org] / src / external / cddl / osnet / dev / lockstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 27 14:16:32 2022 UTC (11 months ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

lockstat(4): KNF.  No functional change intended.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 27 14:16:12 2022 UTC (11 months ago) by riastradh
Branch: MAIN
Changes since 1.10: +24 -16 lines
Diff to previous 1.10 (colored)

lockstat(4): Membar audit.

- Serialize updates to lockstat_enabled, lockstat_dev_enabled, and
  lockstat_dtrace_enabled with a new __cpu_simple_lock.

- Use xc_barrier to obviate any need for additional membars in
  lockstat_event.

- Use atomic_load/store_* for access that might not be serialized by
  lockstat_lock or lockstat_enabled_lock.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:52:00 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 12 14:31:45 2019 UTC (3 years, 11 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

Fix build with DIAGNOSTIC:
ASSERT() is enabled ifdef DEBUG, not DIAGNOSTIC.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:15 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8: +4 -5 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Mon May 28 21:05:03 2018 UTC (4 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: phil-wifi-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
Branch point for: phil-wifi
Changes since 1.8: +4 -5 lines
Diff to previous 1.8 (colored)

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
 - dtrace FBT probes can now be placed in kernel modules.
 - ZFS now supports mmap().

Revision 1.8 / (download) - annotate - [select for diffs], Mon Mar 9 01:42:26 2015 UTC (7 years, 10 months ago) by christos
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, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.7: +13 -2 lines
Diff to previous 1.7 (colored)

keep track of the number of enabled probes and set the lockstat_dtrace_enabled
flag appropriately.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Mar 9 01:07:27 2015 UTC (7 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.6: +8 -17 lines
Diff to previous 1.6 (colored)

Remove debug prints, simplify fini logic.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 9 00:53:39 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.5: +11 -49 lines
Diff to previous 1.5 (colored)

- remove device stuff
- compress ops
- terminate array of probes

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 8 23:56:59 2015 UTC (7 years, 10 months ago) by riastradh
Branch: MAIN
Changes since 1.4: +116 -245 lines
Diff to previous 1.4 (colored)

Rewrite dtrace lockstat from the Solaris version and simplify.

- Fix mutex_adaptive probes to use the right lockstat flags.
- Install lockstat_probe_func on module load, not trace enable.
- Use a more sensible memory barrier arrangement.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 8 04:13:46 2015 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.3: +116 -34 lines
Diff to previous 1.3 (colored)

preliminary support from riastradh (does not work yet, toxic)

Revision 1.2.6.1 / (download) - annotate - [select for diffs], Thu May 22 14:01:22 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.2.12.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:28:31 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

resync from head

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jun 21 19:16:00 2013 UTC (9 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, 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, 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
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Make dtrace/zfs compile on arm based on the diff from:
    http://people.freebsd.org/~gonzo/arm/dtrace-arm.diff
Completely untested, kernel support not added.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 21 01:46:33 2010 UTC (12 years, 11 months ago) by darran
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)

Apply NetBSD changes to DTrace.

Ok with core@.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 21 00:49:53 2010 UTC (12 years, 11 months ago) by darran
Branch: MAIN
CVS Tags: darran-pre-netbsd

Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.

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>