Welcome to GPT2Bpftrace! Harness the power of AI to automatically generate bpftrace programs just by entering natural language commands. Built upon the OpenAI's GPT and the ever-versatile bpftrace.
Checkout our related paper Kgent: Kernel Extensions Large Language Model Agent in eBPF'24!
Why wait? Test it right now at GPT-2-Bpftrace.
- Enter your natural language command into the left text box.
- The AI-generated bpftrace program will appear in the right text box.
- Copy the generated program, save it locally, e.g., as
gpt-bpftrace.bt
. - Run it with bpftrace using the command:
$sudo bpftrace gpt-bpftrace.bt
Prefer running it on your machine? Here's how:
git clone https://github.com/eunomia-bpf/GPT2Bpftrace.git
Before you get started, ensure you have all the needed packages.
npm install
npm run dev
Now, navigate to your local server and see GPT2Bpftrace in action!
- Intuitive UI: Seamless conversion from natural language to bpftrace programs.
- AI-Powered: Utilizes the advanced capabilities of OpenAI's GPT.
- Open Source: Dive deep into the code, contribute, or customize it to your liking.
Discover the depths and details of GPT2Bpftrace in the README of GPTtrace
Contributions are always welcome!
This project is licensed under MIT License.