execute_bpftrace_script
Run custom BPFtrace scripts for real-time system tracing and performance analysis.
Instructions
Execute a BPFtrace script for system tracing and analysis
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"script": "<script>"
},
"name": "execute_bpftrace_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | BPFtrace script content | |
| timeout | No | Script execution timeout in seconds (optional, default 30s) | |
| use_sudo | No | Whether to use sudo for execution (optional, default true) |