{"repo":"eunomia-bpf/GPTtrace","free":true,"listed":false,"github":"https://github.com/eunomia-bpf/GPTtrace","clone":"git clone https://github.com/eunomia-bpf/GPTtrace.git","description":"Generate eBPF programs and tracing with ChatGPT","language":"Python","stars":273,"topics":["bpf","bpftrace","chatgpt","ebpf","gpt-3","tracing"],"license":"MIT","category":"analytics","readme_excerpt":"GPTtrace 🤖 An experiment for generating eBPF programs and tracing with GPT and natural language. This experiment is not suitable for production use. For a better ways to use AI to generate eBPF programs or trace kernel, you can check MCPtrace: A mcp server for eBPF tracing Want the online version? please see GPTtrace-web for online demo ! Checkout our paper Kgent: Kernel Extensions Large Language Model Agent in eBPF'24! Key Features 💡 Interact and Tracing your Linux with natural language example: tracing with Count page faults by process - start tracing with natural language - let AI explain the result to you Generate eBPF programs with natural language example: Write an eBPF program Print entered bash commands from all running shells, save the bpf program to a file and exit without actual run it. We use examples from bpftrace tools to create vector store and search. For more detail documents and tutorials about how to write eBPF programs, please refer to: bpf-developer-tutorial (a libbpf tool tutorial to teach ChatGPT to write eBPF programs) Choose the right bcc command line tool to complete the tracking task Use the right bcc tools to trace the kernel How it works 1. User Input : The user provides their operating system information and kernel version. This information is crucial as it helps to tailor the eBPF program to the specific environment of the user. 2. Prompt Construction : The user's input, along with the OS info and kernel version, is used to construct a prompt.","default_branch":null,"files":null,"tree":[],"storefront":"/r/eunomia-bpf","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/eunomia-bpf/GPTtrace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}