{"id":15056933,"url":"https://github.com/zmitchell/proctrace","last_synced_at":"2025-07-01T13:07:30.330Z","repository":{"id":252495929,"uuid":"839957463","full_name":"zmitchell/proctrace","owner":"zmitchell","description":"A high-level profiler for process-level events such as fork, exec, exit, setpgid, and setsid","archived":false,"fork":false,"pushed_at":"2024-11-30T04:15:25.000Z","size":332,"stargazers_count":40,"open_issues_count":9,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T05:03:47.169Z","etag":null,"topics":["bpftrace","ebpf","processes","profilers","rust"],"latest_commit_sha":null,"homepage":"https://proctrace.xyz","language":"Rust","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/zmitchell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-08-08T17:04:54.000Z","updated_at":"2025-03-08T16:02:49.000Z","dependencies_parsed_at":"2025-02-16T14:38:07.250Z","dependency_job_id":"a1b0e9fd-0ed3-47ef-accd-6bf1aabccb32","html_url":"https://github.com/zmitchell/proctrace","commit_stats":null,"previous_names":["zmitchell/proctrace"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zmitchell/proctrace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmitchell%2Fproctrace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmitchell%2Fproctrace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmitchell%2Fproctrace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmitchell%2Fproctrace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zmitchell","download_url":"https://codeload.github.com/zmitchell/proctrace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zmitchell%2Fproctrace/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262969883,"owners_count":23392529,"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","processes","profilers","rust"],"created_at":"2024-09-24T21:58:55.714Z","updated_at":"2025-07-01T13:07:30.284Z","avatar_url":"https://github.com/zmitchell.png","language":"Rust","readme":"# proctrace\n\n`proctrace` is a high level profiler for process lifecycle events such as `fork`, `exec`, `setpgid`, and `setsid`.\n\nThis was created as a debugging tool for work on\n[Flox](https://github.com/flox/flox).\nUnder the hood it uses [bpftrace](https://github.com/bpftrace/bpftrace)\nto trace kernel-level events and system calls.\nThis means that it only works on Linux (but not on NixOS yet).\n\nmacOS support is planned but is on hold until a firmware/OS bug is fixed that\ncauses macOS to hang if DTrace is run in the incredibly uncommon case that your\nmachine has gone to sleep since boot.\nSee [this thread](https://forums.developer.apple.com/forums/thread/735939) for\ndetails.\n\nSee the [documentation](https://proctrace.xyz) for more details.\n\n```mermaid\ngantt\n    title Process Trace\n    dateFormat x\n    axisFormat %S.%L\n    todayMarker off\n\n    section flox execs\n    flox activate -- curl -X GET http://example.com :active, 0, 34ms\n    \u003cstore\u003e/bash /home/zmitchell/code/proctrace/.flox/run/aarch64-linux.proctrace/activate -c curl -X GET http://example.com :active, 34, 16ms\n    /bin/bash --noprofile --rcfile /home/zmitchell/code/proctrace/.flox/run/aarch64-linux.proctrace/activate.d/bash -c curl -X GET http://example.com :active, 51, 1ms\n    curl -X GET http://example.com :active, 51, 58ms\n    section other\n    flox-watchdog :active, 33, 84ms\n```\n\n## License\n\nLicensed under either of\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmitchell%2Fproctrace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzmitchell%2Fproctrace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzmitchell%2Fproctrace/lists"}