FUNCTION::CVE\_RECORD(3stap) CVE Livepatching Tapset FUNCTION::CVE\_RECORD(3stap)

# [NAME](#NAME)

function::cve\_record\_metric - Set the value of key

# [SYNOPSIS](#SYNOPSIS)

```


    cve_record_metric(key:string,value:long)
```

# [ARGUMENTS](#ARGUMENTS)

*key*

The metric

*value*

The new value

# [DESCRIPTION](#DESCRIPTION)

This function sets the value of the metric key. The metrics can be accessed in /proc/systemtap/MODULE\_NAME/\_\_prometheus

# [SEE ALSO0](#SEE_ALSO0)

[*tapset::livepatch*(3stap)](/man/enterprise-packages/systemtap/tapset::livepatch.3stap)

September 2026 SystemTap Tapset Reference Ver

---

Document: function::cve_record_metric(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
