Skip to content

eunomia-bpf/GPTtrace-web

Repository files navigation

🚀 GPT2Bpftrace: Transform Natural Language into Bpftrace Programs

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.

Bpftrace Program Generation

Checkout our related paper Kgent: Kernel Extensions Large Language Model Agent in eBPF'24!

🌐 Try It Online

Why wait? Test it right now at GPT-2-Bpftrace.

  1. Enter your natural language command into the left text box.
  2. The AI-generated bpftrace program will appear in the right text box.
  3. Copy the generated program, save it locally, e.g., as gpt-bpftrace.bt.
  4. Run it with bpftrace using the command:
$sudo bpftrace gpt-bpftrace.bt

🖥 Run It Locally

Prefer running it on your machine? Here's how:

1. Get the Code

git clone https://github.com/eunomia-bpf/GPT2Bpftrace.git

2. Install Necessary Dependencies

Before you get started, ensure you have all the needed packages.

npm install

3. Fire It Up!

npm run dev

Now, navigate to your local server and see GPT2Bpftrace in action!

🌟 Features

  • 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.

📖 How ot works

Discover the depths and details of GPT2Bpftrace in the README of GPTtrace

🙌 Contribute

Contributions are always welcome!

📝 License

This project is licensed under MIT License.

About

Generate bpftrace eBPF programs online with GPT or LLM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  
  •  

Packages

No packages published

Languages