FUNCTION::FULLPATH_STRUCT_FILE(3stap)
β¨ NAME β¨
function::fullpath_struct_file β get the full path π
okay so this is one of those SystemTap Tapset Reference pages, section 3stap, and the lil page title vibe is Directory-entry (dentry) π¦ so yeah, we're in dentry territory, bestie, buckle up.
πΈ SYNOPSIS πΈ
fullpath_struct_file:string(task:long,file:long)
like. that's the whole signature. two longs in, a string out. slay β¨
π ARGUMENTS π
taskβ this is atask_structpointer, aka the thing that says which process we're talking about πfileβ and this one is a pointer to"struct file"π
π DESCRIPTION π
Returns the full dirent name β like, the full path all the way up to the root β exactly the way the kernel d_path function does it. no cap π«Ά
so you hand it a task and a file struct, and it hands you back the whole entire path string, from wherever that file is living all the way up to /. iconic behavior fr fr π
ngl the whole point is that it mirrors d_path, so if you already know how that one feels, you already know how this one feels π
β SEE ALSO β
nothing else listed here, bestie β this page is a solo act π
anyway that's the whole thing, hope this helped π
cute lil sign-off: this was from the SystemTap Tapset Reference, version noted as Ver, dated September 2026 π§ββοΈβ¨ go forth and trace some paths, queen ππ
π¦ where this page comes from
- centos-stream 10: systemtap-client 5.6-3.el10 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- centos-stream 9: systemtap-client 5.6-3.el9 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 43: systemtap-client 5.6-1.fc43 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- fedora 44: systemtap-client 5.6-1.fc44 Β· GPL-2.0-or-later AND GPL-2.0-only AND BSD-3-Clause AND LGPL-2.1-only AND GFDL-1.2-or-later AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms