<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/tools/vnode_if.awk, branch releng/11.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2015-09-28T12:14:16Z</updated>
<entry>
<title>save some bytes by using more concise SDT_PROBE&lt;n&gt; instead of SDT_PROBE</title>
<updated>2015-09-28T12:14:16Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2015-09-28T12:14:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f2f522b5de618d24c7ce477bc54ec945124122c'/>
<id>urn:sha1:2f2f522b5de618d24c7ce477bc54ec945124122c</id>
<content type='text'>
SDT_PROBE requires 5 parameters whereas SDT_PROBE&lt;n&gt; requires n parameters
where n is typically smaller than 5.

Perhaps SDT_PROBE should be made a private implementation detail.

MFC after:	20 days
</content>
</entry>
<entry>
<title>dtrace sdt: remove the ugly sname parameter of SDT_PROBE_DEFINE</title>
<updated>2013-11-26T08:46:27Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2013-11-26T08:46:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d9fae5ab88a2c170075941d3cd9ba4a2a61893ed'/>
<id>urn:sha1:d9fae5ab88a2c170075941d3cd9ba4a2a61893ed</id>
<content type='text'>
In its stead use the Solaris / illumos approach of emulating '-' (dash)
in probe names with '__' (two consecutive underscores).

Reviewed by:	markj
MFC after:	3 weeks
</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>Further refine the handling of stop signals in the NFS client.  The</title>
<updated>2013-02-21T19:02:50Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-02-21T19:02:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=593efaf9f7ff8b4a961e61f55c333e63ee36495c'/>
<id>urn:sha1:593efaf9f7ff8b4a961e61f55c333e63ee36495c</id>
<content type='text'>
changes in r246417 were incomplete as they did not add explicit calls to
sigdeferstop() around all the places that previously passed SBDRY to
_sleep().  In addition, nfs_getcacheblk() could trigger a write RPC from
getblk() resulting in sigdeferstop() recursing.  Rather than manually
deferring stop signals in specific places, change the VFS_*() and VOP_*()
methods to defer stop signals for filesystems which request this behavior
via a new VFCF_SBDRY flag.  Note that this has to be a VFC flag rather than
a MNTK flag so that it works properly with VFS_MOUNT() when the mount is
not yet fully constructed.  For now, only the NFS clients are set this new
flag in VFS_SET().

A few other related changes:
- Add an assertion to ensure that TDF_SBDRY doesn't leak to userland.
- When a lookup request uses VOP_READLINK() to follow a symlink, mark
  the request as being on behalf of the thread performing the lookup
  (cnp_thread) rather than using a NULL thread pointer.  This causes
  NFS to properly handle signals during this VOP on an interruptible
  mount.

PR:		kern/176179
Reported by:	Russell Cattelan (sigdeferstop() recursion)
Reviewed by:	kib
MFC after:	1 month
</content>
</entry>
<entry>
<title>Fix build on ARM (and probably other platforms)</title>
<updated>2012-12-28T06:52:53Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2012-12-28T06:52:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7fc3ae51f32de3207ab9e9f29c6f485cec30df10'/>
<id>urn:sha1:7fc3ae51f32de3207ab9e9f29c6f485cec30df10</id>
<content type='text'>
</content>
</entry>
<entry>
<title> - Add new machine parsable KTR macros for timing events.</title>
<updated>2012-12-19T20:10:00Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2012-12-19T20:10:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4c44811c9d6ec11b7762e183596123b89c04317d'/>
<id>urn:sha1:4c44811c9d6ec11b7762e183596123b89c04317d</id>
<content type='text'>
 - Use this new format to automatically handle syscalls and VOPs.  This
   changes the earlier format but is still human readable.

Sponsored by:	EMC / Isilon Storage Division
</content>
</entry>
<entry>
<title>Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR.</title>
<updated>2012-02-21T19:35:59Z</updated>
<author>
<name>Mikolaj Golub</name>
<email>trociny@FreeBSD.org</email>
</author>
<published>2012-02-21T19:35:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f62f6c88ee11f6fd3deca605aef0b662303766be'/>
<id>urn:sha1:f62f6c88ee11f6fd3deca605aef0b662303766be</id>
<content type='text'>
Reviewed by:	kib
MFC after:	1 week
</content>
</entry>
<entry>
<title>Add an extra comment to the SDT probes definition. This allows us to get</title>
<updated>2010-08-22T11:18:57Z</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2010-08-22T11:18:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=79856499bd6f3f11cd2bd6b140d36a1183cd49ad'/>
<id>urn:sha1:79856499bd6f3f11cd2bd6b140d36a1183cd49ad</id>
<content type='text'>
use '-' in probe names, matching the probe names in Solaris.[1]

Add userland SDT probes definitions to sys/sdt.h.

Sponsored by:	The FreeBSD Foundation
Discussed with:	rwaston [1]
</content>
</entry>
<entry>
<title>Add SDT DTrace probes for VFS vnode operations in the vfs:vop</title>
<updated>2009-03-29T03:30:15Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2009-03-29T03:30:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ff8a07fda27112241c8ab83f937e04062878c9d0'/>
<id>urn:sha1:ff8a07fda27112241c8ab83f937e04062878c9d0</id>
<content type='text'>
provider namespace.  These are inserted dynamically into the
VOP_..._AP() functions created from vnode_if.src.  Each VOP has
entry and return probes, as arg0 the primary vnode, arg1 the
vnode operation argument structure pointer, providing access to
IN and OUT arguments, and for return probes, arg2 the return
value.

MFC after:	1 month
Sponsored by:	Google, Inc.
</content>
</entry>
<entry>
<title>Remove some unused and broken code that attempted to not invoke locking</title>
<updated>2008-11-03T19:57:40Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2008-11-03T19:57:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c439bdd86f5e74cfa6a66eadc3c5559fce4ccaaf'/>
<id>urn:sha1:c439bdd86f5e74cfa6a66eadc3c5559fce4ccaaf</id>
<content type='text'>
asserts on NULL vnode pointers.  All the vnode assertion routines already
check for NULL vnode pointers.
</content>
</entry>
</feed>
