FUNCTION::ISINSTR(3stap)
π FUNCTION::ISINSTR π
okay bestie, so this is a page from the SystemTap Tapset Reference, section 3stap β yeah the stap manual, we love her she's iconic. and today's main character is a little string function called isinstr π¦
β¨ NAME β¨
function::isinstr β Returns whether a string is a substring of another string π
β¨ SYNOPSIS β¨
isinstr:long(s1:string,s2:string)
so it takes two strings and hands you back a long, periodt. πΈ
β¨ ARGUMENTS β¨
s1β the string you're searching in, aka the haystack, the place where the vibe lives πs2β the substring you're trying to find, aka the little baby string you're hunting for π
β¨ DESCRIPTION β¨
okay so here's the tea π β this function returns 1 if string s1 contains s2, and otherwise it returns 0. that's it. that's the whole function. no cap. it's giving "does this string live inside that string" and honestly? obsessed. truth value, but make it strings β¨
ngl bestie, it's literally just a yes-or-no situation wearing alongcostume.1= found it π,0= not found π
β¨ SEE ALSO β¨
tapset::string(3stap)β go read the rest of the string tapset, iykyk π§
that's the whole page, you ate it π SystemTap Tapset Reference, September 2026 edition β mwah, go write some probes bestie π«Άπ
π¦ 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