FUNCTION::TASK_NS_TI(3stap)
π function::task_ns_tid π
okay so bestie, welcome to the SystemTap Tapset Reference β Context Functions chapter, section 3stap, and today's main character is task_ns_tid. she's a little function and she's literally so useful, i'm obsessed π«Ά
β¨ NAME β¨
function::task_ns_tid β the thread identifier of the task as seen in a namespace πΈ
like, yes, that namespace. the pid one. we'll get there, chill π
β¨ SYNOPSIS β¨
task_ns_tid:long(task:long)
look at her. one argument, returns a long. clean. iconic. no notes β¨
β¨ ARGUMENTS β¨
taskβ atask_structpointer, aka the little handhold you use to point at the task you're curious about π
β¨ DESCRIPTION β¨
so here's the vibe: this function hands you back the thread id of the task you passed in β but as seen in the pid namespace. not the global one, the namespaced one. iykyk π
fr fr, that's the whole thing. give her a task, she gives you the tid the way that namespace sees it. periodt π
β¨ SEE ALSO β¨
tapset::task(3stap)β go read the whole task tapset bestie, she's got lore π
SystemTap Tapset Reference Β· Version Β· September 2026
and that's a wrap on FUNCTION::TASK_NS_TI(3stap) π
β¨ go forth and namespace responsibly, love u, byeee π¦π
π¦ 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