FUNCTION::CVE_RECORD(3stap)
π FUNCTION::CVE_RECORD π
okay bestie, welcome to the CVE Livepatching Tapset corner of the SystemTap Tapset Reference (that's the 3stap manual, iykyk) πΈ this page is short and sweet but it's literally so useful, so let's get into it π«Ά
β¨ NAME β¨
function::cve_record_metric β Set the value of key π
π SYNOPSIS π
cve_record_metric(key:string,value:long)
no cap, that's the whole vibe β two args, one little function, and it's giving metric management β¨
π¦ ARGUMENTS π¦
keyβ The metric π like, the metric itself, that's what this isvalueβ The new value π the fresh number you're dropping in
π DESCRIPTION π
So basically: this function sets the value of the metric key. That's it, that's the whole job, and honestly? it ate π₯
And the metrics it sets? You can access them in:
/proc/systemtap/MODULE_NAME/__prometheus
not me being obsessed with a procfs path β but fr fr, that's where you go peek at them π note the literal MODULE_NAME in there, that's a placeholder for your actual module's name, bestie, don't go typing it raw π
π SEE ALSO π
tapset::livepatch(3stap)β go read this one too, it's the whole livepatch tapset family π
and that's the page!! mwah π
This little legend lives in the SystemTap Tapset Reference, and the version/date on this one is Ver September 2026 β go forth and record those metrics, main character π§π
π¦ 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