OpenGrok
Cross Reference: main.c
xref
: /
src
/
usr.sbin
/
lockstat
/
main.c
Home
|
History
|
Annotate
|
Download
|
only in
lockstat
History log of
/src/usr.sbin/lockstat/main.c
Revision
Date
Author
Comments
1.21
12-Dec-2021
andvar
fix various typos in comments.
1.20
04-Apr-2020
ad
Make makelists() a little bit faster.
1.19
06-Mar-2013
yamt
branches: 1.19.30;
add -d option to disable lockstat
1.18
30-Aug-2011
joerg
branches: 1.18.2; 1.18.8;
static + __dead
1.17
16-Apr-2009
lukem
Fix -Wsign-compare issues
1.16
21-Mar-2009
ad
Add -x: summarize events, and do not report on lock types.
1.15
22-Feb-2009
ad
Report LB_MISC events, for one-off instrumentation.
1.14
28-Apr-2008
martin
branches: 1.14.8;
Remove clause 3 and 4 from TNF licenses
1.13
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.12
04-Apr-2008
ad
branches: 1.12.2;
Do adaptive spinning for rwlocks, but only if the lock is write held and
there are no waiters. This gives a major boost to build.sh on larger
systems as directory vnode locks are exclusive for lookup, but are often
only held for a very short period of time.
This change has the potential to more readily expose lock order reversals
and other types of deadlock.
1.11
26-Jan-2008
ad
lockstat: no longer track lockmgr() events.
1.10
15-Jul-2007
wiz
branches: 1.10.4;
Sort options. Sync -E argument name with man page.
1.9
14-Jul-2007
ad
- 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.8
20-Jan-2007
ad
Correctly seperate different events for the same type of lock.
1.7
25-Dec-2006
ad
lockstat: improve reporting slightly, and fix a bug where the command
could spin while resorting lists.
1.6
13-Nov-2006
ad
Tweak output slightly, and fix a bug.
1.5
08-Nov-2006
ad
Fix some minor bugs and improve output slightly.
1.4
10-Sep-2006
wiz
Sort options.
1.3
07-Sep-2006
ad
Fix a typo.
1.2
07-Sep-2006
ad
Fix an #include.
1.1
07-Sep-2006
ad
Add the lockstat command: displays a summary of kernel locking events
recorded over the lifetime of a called program.
1.10.4.1
23-Mar-2008
matt
sync with HEAD
1.12.2.1
18-May-2008
yamt
sync with head.
1.14.8.1
13-May-2009
jym
Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
1.18.8.1
23-Jun-2013
tls
resync from head
1.18.2.1
22-May-2014
yamt
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")
1.19.30.1
08-Apr-2020
martin
Merge changes from current as of 20200406
Indexes created Sat Sep 20 22:09:52 GMT 2025