Support dtrace on macOS for USDT probes #757
Labels
No labels
Affects/CppNix
Affects/Nightly
Affects/Only nightly
Affects/Stable
Area/build-packaging
Area/cli
Area/evaluator
Area/fetching
Area/flakes
Area/language
Area/lix ci
Area/nix-eval-jobs
Area/profiles
Area/protocol
Area/releng
Area/remote-builds
Area/repl
Area/repl/debugger
Area/store
bug
Context
contributors
Context
drive-by
Context
maintainers
Context
RFD
crash 💥
Cross Compilation
devx
docs
Downstream Dependents
E/easy
E/hard
E/help wanted
E/reproducible
E/requires rearchitecture
imported
Language/Bash
Language/C++
Language/NixLang
Language/Python
Language/Rust
Needs Langver
OS/Linux
OS/macOS
performance
regression
release-blocker
stability
Status
blocked
Status
invalid
Status
postponed
Status
wontfix
testing
testing/flakey
Topic/Large Scale Installations
ux
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lix-project/lix#757
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We implemented USDT probes on Linux in
cl/2884
. We can support dtrace on macOS, in theory.It appears that there's not an Apple (tm) dtrace package in nixpkgs yet, so that needs fixing as a preliminary action. It looks to be in the Apple SDK lock file in nixpkgs, so it exists, but AFAICT there is no packaging.That tool is just required to generate the .o and .h files to do the probes.
I am about to file a nixpkgs packaging request and shove it in the external issue tracker please hold.Update: no it DOES exist, see
darwin.dtrace
in nixpkgs. So then we just have to do some minimal packaging in Lix.Support dtrace on macOSto Support dtrace on macOS for USDT probesThis issue was mentioned on Gerrit on the following CLs: