{"id":22325104,"url":"https://github.com/rogercoll/learningebpf","last_synced_at":"2026-05-08T16:50:05.958Z","repository":{"id":113986667,"uuid":"297651780","full_name":"rogercoll/learningeBPF","owner":"rogercoll","description":"Examples of C++ programs that generates BPF bytecodes","archived":false,"fork":false,"pushed_at":"2022-01-20T16:09:59.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T20:19:53.503Z","etag":null,"topics":["ebpf","kprobes","learing"],"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/rogercoll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-09-22T13:07:10.000Z","updated_at":"2025-09-06T18:23:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a3d63dd9-08ff-491e-b6ab-10ab8f471b04","html_url":"https://github.com/rogercoll/learningeBPF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogercoll/learningeBPF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2FlearningeBPF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2FlearningeBPF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2FlearningeBPF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2FlearningeBPF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogercoll","download_url":"https://codeload.github.com/rogercoll/learningeBPF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogercoll%2FlearningeBPF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32789367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","kprobes","learing"],"created_at":"2024-12-04T02:10:10.959Z","updated_at":"2026-05-08T16:50:05.949Z","avatar_url":"https://github.com/rogercoll.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Learing eBPF\n\n## Prerequisits\n\nIn Debian systems we can easily install the needed libs with:\n\n```\nsudo apt install libelf-dev libbpfcc-dev bpfcc-tools clang\n```\n\n## Usage\n\nTo generate and attach the BPF probes to the kernel we just need to compile and run the desired program:\n\n```\nmake APP=file_name_without_cpp\nsudo ./file_name_without_cpp\n```\n\n## Kprobes\n\n- [Hello clone syscall](./hello_clone.cpp): Insert a hello world message for every clone syscall.\n- [mmap syscall](./mmap1.cpp): Insert a hello world message for every mmap syscall.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogercoll%2Flearningebpf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogercoll%2Flearningebpf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogercoll%2Flearningebpf/lists"}