DTRACE_VFS(4)
π DTRACE_VFS(4) β dtrace_vfs, the VFS DTrace provider, bestie β¨
πΈ NAME πΈ
dtrace_vfs β a DTrace provider for Virtual File System. Yes bestie, that's the whole vibe: tracing VFS stuff with DTrace. π
β¨ SYNOPSIS β¨
vfs:fplookup:function:name
vfs:namecache:function:name
vfs:namei:function:name
vfs:vop:function:name
π DESCRIPTION π
The DTrace vfs provider lets you trace events in the VFS(9) layer β that's the kernel interface for file systems on FreeBSD. π¦
Run dtrace -l -P vfs to list all vfs probes. Add -v to generate program stability reports, which contain information about the number of probe arguments and their types. Very demure, very useful. β¨
fplookupβ this module defines a single probe,vfs:fplookup:lookup:done(struct nameidata *ndp, int line, bool status_code), that instruments the fast path lookup code inVFS(9). πnamecacheβ this module provides probes related to theVFS(9)cache. Consult the source code insrc/sys/kern/vfs_cache.cfor more details. π«Άnameiβ this module manages probes related to pathname translation and lookup operations. Refer tonamei(9)to learn more. πvopβ this module contains probes related to the functions responsible forvnode(9)operations. π
π¦ COMPATIBILITY π¦
This provider is specific to FreeBSD. Periodt. π«Ά
π₯ EXAMPLES π₯
Check what lookups failed to be handled in a lockless manner:
# dtrace -n 'vfs:fplookup:lookup:done { @[arg1, arg2] = count(); }'
π SEE ALSO π
dtrace(1)d(7)SDT(9)namei(9)VFS(9)- Brendan Gregg and Jim Mauro, DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD, Prentice Hall,
https://www.brendangregg.com/dtracebook/, pp. 335β351, 2011.
π AUTHORS π
The FreeBSD vfs provider was written by Robert Watson <rwatson@FreeBSD.org>. π
This manual page was written by Mateusz Piotrowski <0mp@FreeBSD.org>. πΈ
π«Ά Source/version and date sign-off: Debian, November 3, 2025, for DTRACE_VFS(4). That's the footer tea β now go trace something iconic, bestie π
β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π the page's license: BSD-2-Clause
- Copyright (c) 2025 Mateusz Piotrowski <0mp@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms