| 1 |
title: Provide a tally of read and write syscalls run on the system |
| 2 |
name: syscallsrw.stp |
| 3 |
version: 1.0 |
| 4 |
author: Sagar Patel |
| 5 |
keywords: prometheus syscall bpf |
| 6 |
subsystem: process |
| 7 |
status: experimental |
| 8 |
exit: user-controlled |
| 9 |
output: proc |
| 10 |
scope: system-wide |
| 11 |
description: The syscallsrw.stp script tallies the read and write syscalls. This is a demo script for stapbpf prometheus-exporter scripts. |
| 12 |
test_check_bpf: stap --bpf -p4 syscallsrw.stp |
| 13 |
test_installcheck_bpf: stap --bpf syscallsrw.stp -T 1 |