---
name: "probe::stap.cache_add_mod"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "5.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/probe::stap.cache_add_mod"
---

# probe::stap.cache\_add\_mod(3stap)

Adding kernel instrumentation module to cache

## NAME

probe::stap.cache\_add\_mod - Adding kernel instrumentation module to cache

## SYNOPSIS

```
stap.cache_add_mod
```

## VALUES

*source\_path*

the path the .ko file is coming from (incl filename)

*dest\_path*

the path the .ko file is going to (incl filename)

## DESCRIPTION

Fires just before the file is actually moved. Note: if moving fails, cache\_add\_src and cache\_add\_nss will not fire.

## SEE ALSO0

[*tapset::stap\_staticmarkers*(3stap)](/tapset::stap_staticmarkers/3stap.md)
