FUNCTION::CVE\_COUNT\_(3stap) CVE Livepatching Tapset FUNCTION::CVE\_COUNT\_(3stap)

# [NAME](#NAME)

function::cve\_count\_metric - Increment the count of key

# [SYNOPSIS](#SYNOPSIS)

```


    cve_count_metric(key:string)
```

# [ARGUMENTS](#ARGUMENTS)

*key*

The metric

# [DESCRIPTION](#DESCRIPTION)

This function increments the count of the metric key by 1. 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_count_metric(3stap) from systemtap 5.6-r0 (Chainguard OS)
Source: https://sourceware.org/git/systemtap.git
