{"id":20066326,"url":"https://github.com/ossobv/bpftrace-deb","last_synced_at":"2026-02-11T11:32:44.416Z","repository":{"id":231309761,"uuid":"781441754","full_name":"ossobv/bpftrace-deb","owner":"ossobv","description":"Debian/Ubuntu package for bpftrace - A high-level tracing language for eBPF","archived":false,"fork":false,"pushed_at":"2024-04-03T14:01:24.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-08-18T23:42:53.186Z","etag":null,"topics":["bpftool","bpftrace","debian-packages"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ossobv.png","metadata":{"files":{"readme":"README.rst","changelog":"changelog","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":"2024-04-03T11:45:58.000Z","updated_at":"2024-04-03T11:49:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"9cf3c037-d890-4af0-b78d-c57c8c20ba6e","html_url":"https://github.com/ossobv/bpftrace-deb","commit_stats":null,"previous_names":["ossobv/bpftrace-deb"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ossobv/bpftrace-deb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fbpftrace-deb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fbpftrace-deb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fbpftrace-deb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fbpftrace-deb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossobv","download_url":"https://codeload.github.com/ossobv/bpftrace-deb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossobv%2Fbpftrace-deb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29332562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: 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":["bpftool","bpftrace","debian-packages"],"created_at":"2024-11-13T13:56:14.824Z","updated_at":"2026-02-11T11:32:44.403Z","avatar_url":"https://github.com/ossobv.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"OSSO build of bpftrace\n======================\n\nThis enables builds for bpftrace 0.17.1 for *Ubuntu/Jammy*. Also\nincludes *Netflix* *bpftop* (v0.4.0) in /usr/sbin.\n\n-----------\nxz missing?\n-----------\n\nIf you notice that you don't have ``xz`` you can install ``xz-utils``::\n\n    $ sudo /usr/bin/bpftrace -e 'BEGIN{exit()}'\n    tar (child): xz: Cannot exec: No such file or directory\n    tar (child): Error is not recoverable: exiting now\n    tar: Child returned status 2\n    tar: Error is not recoverable: exiting now\n    Attaching 1 probe...\n\nHowever, it appears that this might not be needed at all:\n\nhttps://patchwork.kernel.org/project/linux-kbuild/patch/20200205154629.GA1257054@kroah.com/\n\nSo, to silence the error, you can:\n\n- Install the right kernel headers (``linux-headers-$(uname -r)``).\n\n- Install xz-utils, run it once and see that the files are cached here:\n  ``/tmp/kheaders-5.15.0-92-generic/``\n\n- Or do this workaround::\n\n    mkdir /root/bpftrace-workaround/include/linux\n    touch /root/bpftrace-workaround/include/linux/kconfig.h\n\n    BPFTRACE_KERNEL_SOURCE=/root/bpftrace-workaround bpftrace -e 'BEGIN{exit()}'\n\n\n------------\nDocker build\n------------\n\nJust do::\n\n    ./Dockerfile.build\n\nAnd it will create the build files in ``Dockerfile.out/``.\n\nFor example::\n\n    $ ls -1 Dockerfile.out/jammy/bpftrace_0.19.1-0osso0+ubu22.04\n    bpftrace_0.19.1-0osso0+ubu22.04_amd64.buildinfo\n    bpftrace_0.19.1-0osso0+ubu22.04_amd64.changes\n    bpftrace_0.19.1-0osso0+ubu22.04_amd64.deb\n    bpftrace_0.19.1-0osso0+ubu22.04.debian.tar.xz\n    bpftrace_0.19.1-0osso0+ubu22.04.dsc\n    bpftrace_0.19.1.orig.tar.gz\n    bpftrace-dbgsym_0.19.1-0osso0+ubu22.04_amd64.ddeb\n\n\n-------\nEXAMPLE\n-------\n\n* On certain *Ubuntu/Jammy* machines, we have had occurrences where ZFS\n  was stuck in a deadlock after load issues; probably in combination\n  with K8S and containerd. The following script lists stuck processes,\n  if there are any. In that case the process gets shown continuously\n  instead of only once::\n\n      #!/usr/bin/env bpftrace\n      /*\n\n      List runaway (containerd-shim) processes caused by a deadlock\n      in zfsvfs_teardown.\n\n      https://github.com/openzfs/zfs/blob/zfs-2.1.5/module/os/linux/zfs/zfs_vfsops.c#L1303-L1342\n\n      Somewhere here, it's hanging. We can kill the process, but it will\n      go into \u003cdefunct\u003e zombie mode and keep eating cpu.\n\n      Author: Walter Doekes\n      Date: 2024-01-27\n\n      Example output:\n\n      \u003e 22:31:12\n      \u003e @[containerd-shim, 3940927, taskq_wait_outstanding_check]: 2235168\n      \u003e @[containerd-shim, 3940927, taskq_wait_outstanding]: 2350712\n      \u003e 22:31:13\n      \u003e @[containerd-shim, 3940927, taskq_wait_outstanding_check]: 2432560\n      \u003e @[containerd-shim, 3940927, taskq_wait_outstanding]: 2432571\n\n      ^- it doesn't go away? Deadlock.\n\n      */\n      kprobe:taskq_wait_outstanding_check\n      {\n              @[comm, pid, \"taskq_wait_outstanding_check\"] = count();\n      }\n      kprobe:taskq_wait_outstanding\n      {\n              @[comm, pid, \"taskq_wait_outstanding\"] = count();\n      }\n      kprobe:zfsvfs_teardown\n      {\n              @[comm, pid, \"zfsvfs_teardown\"] = count();\n      }\n      interval:s:1\n      {\n              time();\n              print(@);\n              clear(@);\n      }\n      END {\n              clear(@);\n      }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossobv%2Fbpftrace-deb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossobv%2Fbpftrace-deb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossobv%2Fbpftrace-deb/lists"}