| Current Path : /usr/share/systemtap/examples/stap-exporter-scripts/autostart/ |
| Current File : //usr/share/systemtap/examples/stap-exporter-scripts/autostart/example2.stp |
global arr
probe syscall.open {
arr[cpu(), tid(), gid()]++
}
probe procfs("__prometheus").read { #.maxsize(0x10000) {
@prometheus_dump_array3(arr, "count", "cpu", "tid", "gid")
}