Generate eBPF programs and tracing with ChatGPT and natural language
## Key Features 💡
@@ -20,7 +19,9 @@ example: tracing with Count page faults by process

For detail documents and tutorials about how we train ChatGPT to write eBPF programs, please refer to: [`https://github.com/eunomia-bpf/bpf-developer-tutorial`](https://github.com/eunomia-bpf/bpf-developer-tutorial) (基于 CO-RE (一次编写,到处运行) libbpf 的 eBPF 开发者教程:通过 20 个小工具一步步学习 eBPF(尝试教会 ChatGPT 编写 eBPF 程序)
For detail documents and tutorials about how we train ChatGPT to write eBPF programs, please refer to: [`bpf-developer-tutorial`](https://github.com/eunomia-bpf/bpf-developer-tutorial) (a libbpf tool tutorial to teach ChatGPT to write eBPF programs)
**Note that the `GPTtrace` tool now is only a demo project to show how it works, the result may not be accuracy, and it is not recommended to use it in production. We are working to make it more stable and complete!**
## Usage and Setup 🛠
@@ -44,8 +45,6 @@ optional arguments:
`GPTTRACE_ACCESS_TOKEN`
```
**Note that the `GPTtrace` tool now is only a demo project, and it is not recommended to use it in production. We are working to make it more stable and complete!**
### First: login to ChatGPT
- get the `Conversion ID` from ChatGPT, and then set it to the environment variable `GPTTRACE_CONV_UUID` or use the `-u` option. The `Conversion ID` is the last part of the URL of the conversation, for example, the `Conversion ID` of `https://chat.openai.com/conv/1a2b3c4d-0000-0000-0000-1k2l3m4n5o6p` is `1a2b3c4d-0000-0000-0000-1k2l3m4n5o6p`(example, not usable).