{"id":25241303,"url":"https://github.com/bpf-endeavor/ebpf-arena-tutorial","last_synced_at":"2025-06-27T22:05:28.191Z","repository":{"id":276785194,"uuid":"927797815","full_name":"bpf-endeavor/ebpf-arena-tutorial","owner":"bpf-endeavor","description":"A tutorial/example on how to use the eBPF Arena maps","archived":false,"fork":false,"pushed_at":"2025-02-25T09:56:52.000Z","size":46,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-27T22:03:46.187Z","etag":null,"topics":["ebpf","xdp"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpf-endeavor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-05T15:04:55.000Z","updated_at":"2025-04-21T04:08:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"0f31f602-525c-405c-a80b-69b5581f9473","html_url":"https://github.com/bpf-endeavor/ebpf-arena-tutorial","commit_stats":null,"previous_names":["bpf-endeavor/ebpf-arena-tutorial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bpf-endeavor/ebpf-arena-tutorial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpf-endeavor%2Febpf-arena-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpf-endeavor%2Febpf-arena-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpf-endeavor%2Febpf-arena-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpf-endeavor%2Febpf-arena-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpf-endeavor","download_url":"https://codeload.github.com/bpf-endeavor/ebpf-arena-tutorial/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpf-endeavor%2Febpf-arena-tutorial/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262341622,"owners_count":23296069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ebpf","xdp"],"created_at":"2025-02-11T21:02:22.792Z","updated_at":"2025-06-27T22:05:28.166Z","avatar_url":"https://github.com/bpf-endeavor.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eBPF Arena Tutorail\n\nThis repository shares some examples of using Arena MAP (`BPF_MAP_TYPE_ARENA`)\nRead more [here](https://fshahinfar1.github.io/blog/04_ebpf_arena/build/blog.html)\n\n\u003e Tested on kernel 6.9.3 and compiled with clang-19\n\n## How to use\n\nFirst load the `kmod` (defines a kfunc). Then run the loader.\n\n**Loading kmod:**\n\n1. Use make to compile `kmod/`\n2. Use `make load` to load the module\n\n**Running the loader:**\n\n1. Use make to compile the eBPF program and the loader\n2. `sudo ./build/mogu_loader.o` to run the loader\n3. eBPF logs are shown at `/sys/kernel/tracing/trace_pipe`\n4. Send signals to the loader for invoking each eBPF program\n    - Mogu: `pkill -SIGUSR1 mogu_loader`\n    - Aloe: `pkill -SIGUSR2 mogu_loader`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpf-endeavor%2Febpf-arena-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpf-endeavor%2Febpf-arena-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpf-endeavor%2Febpf-arena-tutorial/lists"}