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 is
  • value β€” 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 🌈


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