diff options
author | markj <markj@FreeBSD.org> | 2015-12-16 23:39:27 +0000 |
---|---|---|
committer | markj <markj@FreeBSD.org> | 2015-12-16 23:39:27 +0000 |
commit | fa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3 (patch) | |
tree | 76bad87288933c1e1da6401e046cbcc61703d1fd /sys/kern/vfs_cache.c | |
parent | f64eb0a1eff489953daa256595df542b0f8aeffd (diff) | |
download | FreeBSD-src-fa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3.zip FreeBSD-src-fa1b8e9a4f8f45f1d5675a9f3cb1fd6c504ccbc3.tar.gz |
Fix style issues around existing SDT probes.
- Use SDT_PROBE<N>() instead of SDT_PROBE(). This has no functional effect
at the moment, but will be needed for some future changes.
- Don't hardcode the module component of the probe identifier. This is
set automatically by the SDT framework.
MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_cache.c')
-rw-r--r-- | sys/kern/vfs_cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c index ca9f054..ff3736d 100644 --- a/sys/kern/vfs_cache.c +++ b/sys/kern/vfs_cache.c @@ -417,7 +417,6 @@ cache_zap(ncp) rw_assert(&cache_lock, RA_WLOCKED); CTR2(KTR_VFS, "cache_zap(%p) vp %p", ncp, ncp->nc_vp); -#ifdef KDTRACE_HOOKS if (ncp->nc_vp != NULL) { SDT_PROBE3(vfs, namecache, zap, done, ncp->nc_dvp, nc_get_name(ncp), ncp->nc_vp); @@ -425,7 +424,6 @@ cache_zap(ncp) SDT_PROBE2(vfs, namecache, zap_negative, done, ncp->nc_dvp, nc_get_name(ncp)); } -#endif vp = NULL; LIST_REMOVE(ncp, nc_hash); if (ncp->nc_flag & NCF_ISDOTDOT) { |