????
| Current Path : /usr/share/systemtap/examples/stap-exporter-scripts/ |
| Current File : //usr/share/systemtap/examples/stap-exporter-scripts/example1.stp |
global arr
probe syscall.read {
arr[tid(), cpu()]++
}
probe prometheus {
@prometheus_dump_array2(arr, "count", "tid", "cpu")
}