Home | History | Annotate | Download | only in dev
History log of /src/sys/dev/lockstat.h
RevisionDateAuthorComments
 1.15  27-Feb-2022  riastradh 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.
 1.14  24-Jan-2016  christos Fix non-cpu counter build.
 1.13  09-Mar-2015  christos Introduce a new flag LB_DTRACE for dtrace lockstat events.
Split lockstat_enabled into two parts, one controlled by dtrace called
"lockstat_dtrace_enabled" and one by the lockstat device called
"lockstat_dev_enabled". Create a macro that needs to be called when either
of them changes LOCKSTAT_ENABLED_UPDATE().
 1.12  09-Mar-2015  christos fix compression shift
 1.11  08-Mar-2015  christos dtrace bits from riastradh
 1.10  20-Jan-2009  yamt branches: 1.10.24; 1.10.42;
bump lockstat interface version for timespec.
 1.9  28-Apr-2008  martin branches: 1.9.8;
Remove clause 3 and 4 from TNF licenses
 1.8  28-Apr-2008  ad Add MI code to support in-kernel preemption. Preemption is deferred by
one of the following:

- Holding kernel_lock (indicating that the code is not MT safe).
- Bracketing critical sections with kpreempt_disable/kpreempt_enable.
- Holding the interrupt priority level above IPL_NONE.

Statistics on kernel preemption are reported via event counters, and
where preemption is deferred for some reason, it's also reported via
lockstat. The LWP priority at which preemption is triggered is tuneable
via sysctl.
 1.7  26-Jan-2008  ad branches: 1.7.6; 1.7.8; 1.7.10;
lockstat: no longer track lockmgr() events.
 1.6  04-Jan-2008  ad Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.
 1.5  14-Jul-2007  ad branches: 1.5.8; 1.5.14; 1.5.20;
- Increase default number of trace buffers to 10000.
- New options:
-f Trace only by calling functions.
-m Merge call sites within unique functions.
-M Merge lock addresses within unique objects.
 1.4  09-Feb-2007  ad branches: 1.4.6;
Merge newlock2 to head.
 1.3  29-Jan-2007  hubertf Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
 1.2  25-Dec-2006  ad branches: 1.2.2;
lockstat: improve reporting slightly, and fix a bug where the command
could spin while resorting lists.
 1.1  07-Sep-2006  ad branches: 1.1.2; 1.1.4; 1.1.6;
Add the 'lockstat' driver, which collects basic information about lock events.
 1.1.6.2  14-Sep-2006  yamt sync with head.
 1.1.6.1  07-Sep-2006  yamt file lockstat.h was added on branch yamt-pdpolicy on 2006-09-14 12:31:26 +0000
 1.1.4.2  09-Sep-2006  rpaulo sync with head
 1.1.4.1  07-Sep-2006  rpaulo file lockstat.h was added on branch rpaulo-netinet-merge-pcb on 2006-09-09 02:49:09 +0000
 1.1.2.6  06-Feb-2007  ad lockstat:

- Cache enabled/disabled status on entry.
- Don't read the cycle counter unless enabled.
 1.1.2.5  01-Feb-2007  ad Sync with head.
 1.1.2.4  19-Jan-2007  ad Acquire proclist_mutex before sending signals.
 1.1.2.3  12-Jan-2007  ad Sync with head.
 1.1.2.2  29-Dec-2006  ad Checkpoint work in progress.
 1.1.2.1  17-Nov-2006  ad Checkpoint work in progress.
 1.2.2.6  04-Feb-2008  yamt sync with head.
 1.2.2.5  21-Jan-2008  yamt sync with head
 1.2.2.4  03-Sep-2007  yamt sync with head.
 1.2.2.3  26-Feb-2007  yamt sync with head.
 1.2.2.2  30-Dec-2006  yamt sync with head.
 1.2.2.1  25-Dec-2006  yamt file lockstat.h was added on branch yamt-lazymbuf on 2006-12-30 20:47:50 +0000
 1.4.6.1  15-Jul-2007  ad Sync with head.
 1.5.20.1  08-Jan-2008  bouyer Sync with HEAD
 1.5.14.1  18-Feb-2008  mjf Sync with HEAD.
 1.5.8.2  23-Mar-2008  matt sync with HEAD
 1.5.8.1  09-Jan-2008  matt sync with HEAD
 1.7.10.2  04-May-2009  yamt sync with head.
 1.7.10.1  16-May-2008  yamt sync with head.
 1.7.8.1  18-May-2008  yamt sync with head.
 1.7.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.9.8.1  03-Mar-2009  skrll Sync with HEAD.
 1.10.42.2  19-Mar-2016  skrll Sync with HEAD
 1.10.42.1  06-Apr-2015  skrll Sync with HEAD
 1.10.24.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed