<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/cddl/dev/lockstat/lockstat.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-07-19T22:14:09Z</updated>
<entry>
<title>Implement the lockstat provider using SDT(9) instead of the custom provider</title>
<updated>2015-07-19T22:14:09Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-07-19T22:14:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=32cd0147fafec2d3d2817d733fa70bad9cdf34ce'/>
<id>urn:sha1:32cd0147fafec2d3d2817d733fa70bad9cdf34ce</id>
<content type='text'>
in lockstat.ko. This means that lockstat probes now have typed arguments and
will utilize SDT probe hot-patching support when it arrives.

Reviewed by:	gnn
Differential Revision:	https://reviews.freebsd.org/D2993
</content>
</entry>
<entry>
<title>Modify lockstat_nsecs() to just return unless lockstat probes are actually</title>
<updated>2015-07-18T00:22:00Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-07-18T00:22:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=efe8b26b82a7fc541e2f6a112ce34bf7a3d84973'/>
<id>urn:sha1:efe8b26b82a7fc541e2f6a112ce34bf7a3d84973</id>
<content type='text'>
enabled. The cost of a timecounter read can be quite significant, and the
problem became more apparent after r284297, since that change resulted in
a call to lockstat_nsecs() for each acquisition of an rwlock read lock.

PR:		201642
Reviewed by:	avg
Tested by:	Jason Unovitch
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D3073
</content>
</entry>
<entry>
<title>First cut of DTrace for AArch64.</title>
<updated>2015-07-01T15:51:11Z</updated>
<author>
<name>Ruslan Bukin</name>
<email>br@FreeBSD.org</email>
</author>
<published>2015-07-01T15:51:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b78ee15e9f04ae15c3e1200df974473167524d17'/>
<id>urn:sha1:b78ee15e9f04ae15c3e1200df974473167524d17</id>
<content type='text'>
Reviewed by:	andrew, emaste
Sponsored by:	ARM Limited
Differential Revision:	https://reviews.freebsd.org/D2738
</content>
</entry>
<entry>
<title>Initial version of DTrace on ARM32.</title>
<updated>2015-02-10T19:41:30Z</updated>
<author>
<name>George V. Neville-Neil</name>
<email>gnn@FreeBSD.org</email>
</author>
<published>2015-02-10T19:41:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fcb560670601b2a4d87bb31d7531c8dcc37ee71b'/>
<id>urn:sha1:fcb560670601b2a4d87bb31d7531c8dcc37ee71b</id>
<content type='text'>
Submitted by:	Howard Su based on work by Oleksandr Tymoshenko
Reviewed by:	ian, andrew, rpaulo, markj
</content>
</entry>
<entry>
<title>- For kernel compiled only with KDTRACE_HOOKS and not any lock debugging</title>
<updated>2013-11-25T07:38:45Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2013-11-25T07:38:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=54366c0bd7d0ea904fb9ab32460c66d57684a7cb'/>
<id>urn:sha1:54366c0bd7d0ea904fb9ab32460c66d57684a7cb</id>
<content type='text'>
  option, unbreak the lock tracing release semantic by embedding
  calls to LOCKSTAT_PROFILE_RELEASE_LOCK() direclty in the inlined
  version of the releasing functions for mutex, rwlock and sxlock.
  Failing to do so skips the lockstat_probe_func invokation for
  unlocking.
- As part of the LOCKSTAT support is inlined in mutex operation, for
  kernel compiled without lock debugging options, potentially every
  consumer must be compiled including opt_kdtrace.h.
  Fix this by moving KDTRACE_HOOKS into opt_global.h and remove the
  dependency by opt_kdtrace.h for all files, as now only KDTRACE_FRAMES
  is linked there and it is only used as a compile-time stub [0].

[0] immediately shows some new bug as DTRACE-derived support for debug
in sfxge is broken and it was never really tested.  As it was not
including correctly opt_kdtrace.h before it was never enabled so it
was kept broken for a while.  Fix this by using a protection stub,
leaving sfxge driver authors the responsibility for fixing it
appropriately [1].

Sponsored by:	EMC / Isilon storage division
Discussed with:	rstone
[0] Reported by:	rstone
[1] Discussed with:	philip
</content>
</entry>
<entry>
<title>Implement DTrace for PowerPC.  This includes both 32-bit and 64-bit.</title>
<updated>2012-11-07T23:45:09Z</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2012-11-07T23:45:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c757049235edc6ecca32c6c584f7d5582aaeb74a'/>
<id>urn:sha1:c757049235edc6ecca32c6c584f7d5582aaeb74a</id>
<content type='text'>
There is one known issue:  Some probes will display an error message along the
lines of:  "Invalid address (0)"

I tested this with both a simple dtrace probe and dtruss on a few different
binaries on 32-bit.  I only compiled 64-bit, did not run it, but I don't expect
problems without the modules loaded.  Volunteers are welcome.

MFC after:	1 month
</content>
</entry>
<entry>
<title>Add device part of DTrace/MIPS code</title>
<updated>2012-03-24T05:14:37Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2012-03-24T05:14:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c57e9d4e83c7d11dceed8dfd6ad682b723e0fca1'/>
<id>urn:sha1:c57e9d4e83c7d11dceed8dfd6ad682b723e0fca1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add the OpenSolaris dtrace lockstat provider.  The lockstat provider</title>
<updated>2009-05-26T20:28:22Z</updated>
<author>
<name>Stacey Son</name>
<email>sson@FreeBSD.org</email>
</author>
<published>2009-05-26T20:28:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a5aedd68b4eb5bb0cafdc51eb8f325c32543ad9a'/>
<id>urn:sha1:a5aedd68b4eb5bb0cafdc51eb8f325c32543ad9a</id>
<content type='text'>
adds probes for mutexes, reader/writer and shared/exclusive locks to
gather contention statistics and other locking information for
dtrace scripts, the lockstat(1M) command and other potential
consumers.

Reviewed by:	attilio jhb jb
Approved by:	gnn (mentor)
</content>
</entry>
</feed>
