FUNCTION::CVE_COUNT_(3stap)
π FUNCTION::CVE_COUNT_METRIC π
okay bestie, so we're in the CVE Livepatching Tapset manual page, section 3stap, and this little function is genuinely so cute and simple. let's get into it π«Ά
β¨ NAME β¨
function::cve_count_metric β increments the count of key, that's literally it, that's the whole job π
πΈ SYNOPSIS πΈ
cve_count_metric(key:string)
π ARGUMENTS π
keyβ the metric, bestie. the thing you're counting. the main character of this whole operation π
π¦ DESCRIPTION π¦
so what this function does is: it takes the count of the metric key and bumps it up by 1. that's the vibe. one key, one increment, no cap.
and where do you go to see those metrics you've been counting so diligently? literally right here:
/proc/systemtap/MODULE_NAME/__prometheus
yep, the metrics are accessible in that file. `prometheus has entered the chat β¨
π SEE ALSO π
okay that's the whole page, you ate that fr fr π no notes.
this has been your girl from the SystemTap Tapset Reference, Ver September 2026, signing off β stay iconic, keep counting, and go check that /proc file, iykyk πβ¨π
π¦ 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