Commit 683165f
committed
refactor(profiling): depend on published libdd-profiling-heap-gotter crate
Migrate the native heap-gotter cdylib wrapper off the unpublished libdatadog
`main` git pin (rev a10f667e) and onto the published crates.io release
`libdd-profiling-heap-gotter` 1.0.0 (published 2026-07-22).
The upstream crate was renamed (from the never-published
`libdd-profiling-heap-gotter-ffi`) and now exposes a pure-Rust API instead of
the `ddog_*` C-ABI surface, so lib.rs is updated to call
`install_heap_overrides()` / `heap_overrides_are_installed()` /
`test_hook_hits()`. Our exported `ddtrace_heap_gotter_*` C symbols keep the
same names and signatures, so the ctypes activator (PR B) is unaffected.
Verified with `cargo check`/`cargo build --release` against crates.io;
Cargo.lock drops the libdatadog `main` transitive tree and pins gotter+sampler
1.0.0.1 parent 852359d commit 683165f
4 files changed
Lines changed: 130 additions & 1599 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments