{"id":19645308,"url":"https://github.com/yandex-cloud/skbtrace","last_synced_at":"2025-04-15T12:31:09.741Z","repository":{"id":44580709,"uuid":"419434548","full_name":"yandex-cloud/skbtrace","owner":"yandex-cloud","description":"Helper tool for generating and running BPFTrace scripts which trace and measure timings related to Linux Networking Stack, specifically SocKet Buffer contents","archived":false,"fork":false,"pushed_at":"2024-07-08T12:59:33.000Z","size":127,"stargazers_count":85,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-28T20:12:04.890Z","etag":null,"topics":["bpftrace","ebpf","linux","network-analysis","tracing"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yandex-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-20T17:53:05.000Z","updated_at":"2025-01-28T20:25:39.000Z","dependencies_parsed_at":"2024-05-30T12:50:10.044Z","dependency_job_id":"516c618e-23b9-409c-a6f7-af385759e82e","html_url":"https://github.com/yandex-cloud/skbtrace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandex-cloud%2Fskbtrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandex-cloud%2Fskbtrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandex-cloud%2Fskbtrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yandex-cloud%2Fskbtrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yandex-cloud","download_url":"https://codeload.github.com/yandex-cloud/skbtrace/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249072118,"owners_count":21208120,"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":["bpftrace","ebpf","linux","network-analysis","tracing"],"created_at":"2024-11-11T14:33:17.882Z","updated_at":"2025-04-15T12:31:09.720Z","avatar_url":"https://github.com/yandex-cloud.png","language":"Go","readme":"`skbtrace` is a helper tool for generating and running BPFTrace scripts which trace and measure timings related \nto Linux Networking Stack, specifically SocKet Buffer contents (hence the name). \n\nIt can be used to:\n  - find TCP retransmits even in encapsulated packets;\n  - roughly measure packet forwarding times;\n  - simple tcpdump replacement which allows to trace some kernel routines which are not accessible by tcpdump. \n\nAn example of such routine is `kfree_skb` which is called when kernel frees (drops) packet.\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/yandex-cloud/skbtrace.svg)](https://pkg.go.dev/github.com/yandex-cloud/skbtrace)\n\n#### Usage\n\nFor the usage examples see [Usage](USAGE.md)\n\nFor full documentation see [skbtrace(1)](docs/skbtrace.md)\n\n#### Building \n\n```bash\ngo get -u github.com/yandex-cloud/skbtrace\ngo build -o skbtrace \n```\n\nor \n\n```bash\ngit clone github.com/yandex-cloud/skbtrace\nmake build\n```\n\n#### Requirements\n\n`skbtrace` is tested with Linux Kernel 4.14 and BPFTrace 0.9.2.\n\n#### Extending\n\n`skbtrace` can be extended by:\n- Adding extra shortcut commands and root command child while using one of the visitors \nsuch as `DumpTracerCommand`.\n- Extending builder with additional protocols, field and probe descriptions in `SetUp()` method of cli \ndependencies structure.\n- Or by simply contributing a patch (see [Contributing](CONTRIBUTING.md)).\n\n#### License \n\nSee [License](LICENSE.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyandex-cloud%2Fskbtrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyandex-cloud%2Fskbtrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyandex-cloud%2Fskbtrace/lists"}