Generate eBPF programs and tracing with ChatGPT and natural language
For example:
python main.py
usage: GPTtrace [-h] [-e | -r TEXT] [-u UUID] [-t ACCESS_TOKEN]
Use ChatGPT to write eBPF programs (bpftrace, etc.)
optional arguments:
-h, --help show this help message and exit
-e, --explain Let ChatGPT explain what's eBPF
-r TEXT, --run TEXT Generate commands using your input with ChatGPT, and run it
-u UUID, --uuid UUID Conversion UUID to use, or passed through environment variable `GPTTRACE_CONV_UUID`
-t ACCESS_TOKEN, --access-token ACCESS_TOKEN
ChatGPT access token, see `https://chat.openai.com/api/auth/session` or passed through
`GPTTRACE_ACCESS_TOKEN`