<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netbsd/sys/lockdoc/log.c, branch lockdoc-10.99.5</title>
<subtitle>NetBSD fork for lockdoc analysis</subtitle>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/'/>
<entry>
<title>Change asm logging to specify line -1 so that FAIL* doesn't replace it with NULL</title>
<updated>2023-07-09T23:04:02+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-05-10T21:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=a91e9569a10890f293e4a79d49adcb5974243894'/>
<id>a91e9569a10890f293e4a79d49adcb5974243894</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix wrong logged function name for asm calls and pointer size</title>
<updated>2023-07-09T22:59:14+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-04-27T07:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=eb273ed3570a8e387e56348b65103c110048bc5a'/>
<id>eb273ed3570a8e387e56348b65103c110048bc5a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tracing for interrupts/exceptions</title>
<updated>2023-07-09T22:58:55+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-04-21T21:02:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=964b9f7efe4eb24f5fbe6ee71621f5909810bde8'/>
<id>964b9f7efe4eb24f5fbe6ee71621f5909810bde8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Code cleanup to prepare for proper interrupt handling</title>
<updated>2023-07-09T22:51:21+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-04-19T18:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=5e85ee92f2181aa2810669846d8f24b0798134c5'/>
<id>5e85ee92f2181aa2810669846d8f24b0798134c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix kmutexes in the same way we fixed rwlocks in the last commit</title>
<updated>2023-07-09T22:51:04+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-04-01T20:18:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=8f2fda6e6b52bc95b0e3803539e03e89f9f561a8'/>
<id>8f2fda6e6b52bc95b0e3803539e03e89f9f561a8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix rwlock_exit logging order bug</title>
<updated>2023-07-09T22:50:47+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-04-01T18:50:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=0f3dc6c552ffdf06435a823125f3de1d953a844e'/>
<id>0f3dc6c552ffdf06435a823125f3de1d953a844e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add IRQ tracing</title>
<updated>2023-07-09T22:50:30+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-03-22T13:13:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=6513e5133d7abe0d198fb630bea96a759ea20bf4'/>
<id>6513e5133d7abe0d198fb630bea96a759ea20bf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement missing Mutex and RW logging</title>
<updated>2023-07-09T22:50:14+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-03-17T19:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=c41c4dd2b0c453e81e1d95f969e0a98528bad3dc'/>
<id>c41c4dd2b0c453e81e1d95f969e0a98528bad3dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement logging for rwlock_enter() and rwlock_exit(), move from do-while macros to dedicated functions to allow for return values.</title>
<updated>2023-07-09T22:49:55+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-03-16T22:26:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=44af3e67cb43d7486edc594d7bc2673c33769402'/>
<id>44af3e67cb43d7486edc594d7bc2673c33769402</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement file and line logging for mutex locks</title>
<updated>2023-07-09T22:45:13+00:00</updated>
<author>
<name>Merlin Scholz</name>
<email>merlin@scholz.ruhr</email>
</author>
<published>2023-03-16T02:03:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.infra.scholz.ruhr/netbsd/commit/?id=44405b2c7d74bf0f7be0fd36d23cbcbae30106bf'/>
<id>44405b2c7d74bf0f7be0fd36d23cbcbae30106bf</id>
<content type='text'>
This commit implements proper file and line logging as a proof of concept for mutex locks. The previous versions only logged the location inside the mutex_enter function, which was useless.

To get correct filenames, calls to mutex_enter (which usually go directly to ASM) are replaced through the macro defined in lockdoc.h. This logs the according information and passes on the function call to the old ASM code.

Furthermore, some other things like apm.c or patch.c had to be modified, to keep the code compilable, even with this new replacement macro.

Also, the old logging methods in lockdebug.h have been removed, since we can not get the proper file and line by going through there.

This commit only implements these changes for mutex_enter, mutex_spin_enter, mutex_exit and mutex_spin_exit, and serves as a template for changes in the other lock functions and types.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit implements proper file and line logging as a proof of concept for mutex locks. The previous versions only logged the location inside the mutex_enter function, which was useless.

To get correct filenames, calls to mutex_enter (which usually go directly to ASM) are replaced through the macro defined in lockdoc.h. This logs the according information and passes on the function call to the old ASM code.

Furthermore, some other things like apm.c or patch.c had to be modified, to keep the code compilable, even with this new replacement macro.

Also, the old logging methods in lockdebug.h have been removed, since we can not get the proper file and line by going through there.

This commit only implements these changes for mutex_enter, mutex_spin_enter, mutex_exit and mutex_spin_exit, and serves as a template for changes in the other lock functions and types.
</pre>
</div>
</content>
</entry>
</feed>
