{"id":20115524,"url":"https://github.com/asphaltt/bpfsyscalldist","last_synced_at":"2026-05-11T11:35:03.560Z","repository":{"id":138614586,"uuid":"608207309","full_name":"Asphaltt/bpfsyscalldist","owner":"Asphaltt","description":"An eBPF syscall profiler focused on BPF syscall.","archived":false,"fork":false,"pushed_at":"2023-03-01T14:48:24.000Z","size":679,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T19:19:42.550Z","etag":null,"topics":["bpf-syscall","bpfsyscalldist","ebpf","linux-syscall"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Asphaltt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-03-01T14:42:52.000Z","updated_at":"2023-11-08T23:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e82d77b-009e-4a92-9a01-a422f376bdb4","html_url":"https://github.com/Asphaltt/bpfsyscalldist","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Asphaltt/bpfsyscalldist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Fbpfsyscalldist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Fbpfsyscalldist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Fbpfsyscalldist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Fbpfsyscalldist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asphaltt","download_url":"https://codeload.github.com/Asphaltt/bpfsyscalldist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asphaltt%2Fbpfsyscalldist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32893494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bpf-syscall","bpfsyscalldist","ebpf","linux-syscall"],"created_at":"2024-11-13T18:35:33.553Z","updated_at":"2026-05-11T11:35:03.536Z","avatar_url":"https://github.com/Asphaltt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bpfbpfsyscalldist\n\n**bpfsyscalldist** is the tool to profile the BPF syscall.\n\n## Build and run\n\n```bash\n# git clone https://github.com/Asphaltt/bpfsyscalldist.git\n# cd bpfsyscalldist\n# go generate \u0026\u0026 go build\n# ./bpfsyscalldist -h\nUsage of ./bpfsyscalldist:\n      --pid uint32   filter pid\npflag: help requested\n# ./bpfsyscalldist --pid 273496\n2023/02/28 12:49:44 Attached kprobe(__sys_bpf)\n2023/02/28 12:49:44 Attached kretprobe(__sys_bpf)\n2023/02/28 12:49:44 Hit Ctrl-C to end.\n^C\nHistogram for syscall(BPF) cmd(BPF_PROG_LOAD) (sum 54):\n     usecs               : count         distribution\n         0 -\u003e 1          : 0             |                                        |\n         2 -\u003e 3          : 0             |                                        |\n         4 -\u003e 7          : 0             |                                        |\n         8 -\u003e 15         : 0             |                                        |\n        16 -\u003e 31         : 0             |                                        |\n        32 -\u003e 63         : 0             |                                        |\n        64 -\u003e 127        : 0             |                                        |\n       128 -\u003e 255        : 0             |                                        |\n       256 -\u003e 511        : 0             |                                        |\n       512 -\u003e 1023       : 0             |                                        |\n      1024 -\u003e 2047       : 0             |                                        |\n      2048 -\u003e 4095       : 0             |                                        |\n      4096 -\u003e 8191       : 9             |***************                         |\n      8192 -\u003e 16383      : 10            |****************                        |\n     16384 -\u003e 32767      : 24            |****************************************|\n     32768 -\u003e 65535      : 8             |*************                           |\n     65536 -\u003e 131071     : 3             |*****                                   |\n```\n\n## Kprobes\n\n`bpfsyscalldist` runs on kprobe/kretprobe `__sys_bpf`.\n\n## License\n\nApache-2.0 license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasphaltt%2Fbpfsyscalldist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasphaltt%2Fbpfsyscalldist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasphaltt%2Fbpfsyscalldist/lists"}