{"id":15056981,"url":"https://github.com/aibor/cpumap-loop","last_synced_at":"2026-01-02T04:05:27.215Z","repository":{"id":225396369,"uuid":"765882787","full_name":"aibor/cpumap-loop","owner":"aibor","description":"Example program show casing eBPF cpumap infinite loop","archived":false,"fork":false,"pushed_at":"2024-03-01T23:01:05.000Z","size":228,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T04:28:10.282Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aibor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSES/GPL-3.0-or-later.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}},"created_at":"2024-03-01T20:08:37.000Z","updated_at":"2024-04-11T11:47:08.000Z","dependencies_parsed_at":"2024-03-01T21:32:06.105Z","dependency_job_id":"456374e1-8d24-488f-a0de-c21c80831d21","html_url":"https://github.com/aibor/cpumap-loop","commit_stats":null,"previous_names":["aibor/cpumap-loop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibor%2Fcpumap-loop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibor%2Fcpumap-loop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibor%2Fcpumap-loop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aibor%2Fcpumap-loop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aibor","download_url":"https://codeload.github.com/aibor/cpumap-loop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558478,"owners_count":20310574,"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":"2024-09-24T21:59:44.842Z","updated_at":"2026-01-02T04:05:22.181Z","avatar_url":"https://github.com/aibor.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\nSPDX-FileCopyrightText: 2024 Tobias Böhm \u003ccode@aibor.de\u003e\n\nSPDX-License-Identifier: GPL-3.0-or-later\n--\u003e\n\n# cpumap_loop\n\nThis is a very simple example eBPF/XDP program, that utilizes a CPU infintiely\nwith a single packet.\n\n![cpumap_loop](cpumap_loop.gif)\n\n## Requirements\n\n* clang (tested with clang v16, at least v11 or later should work, though)\n* libbpf\n\n## Build\n\nEither run make on your system:\n\n```\n$ make\n```\n\nOr use the container to build:\n\n```\ndocker build --rm -t clbuild .\ndocker run --rm --volume $(pwd):/build clbuild\n```\n\n## Run\n\n__Warning: Running the program results in CPU 0 being busy for about a minute.__\n\n```\n$ ./cpumap_loop\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faibor%2Fcpumap-loop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faibor%2Fcpumap-loop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faibor%2Fcpumap-loop/lists"}