File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44# Thin cdylib wrapper around libdatadog's `libdd-profiling-heap-gotter` crate
5- # (published on crates.io). See "Phase 1.5" in
6- # `ddtrace/native-heap-profiling-roadmap.md`: this dependency was migrated from
7- # a libdatadog `main` git pin to the published crates.io release.
5+ # (published on crates.io).
86#
97# Why this crate exists (rather than consuming the upstream crate directly):
108# * Building our own cdylib lets us pick a clean `[lib] name` and so sidestep
1311# * It lets us expose a stable, ddtrace-owned C ABI (`ddtrace_heap_gotter_*`)
1412# over the upstream crate's pure-Rust API, so the Python ctypes activator
1513# links against fixed, unmangled symbol names and gets a plain `bool`.
16- #
17- # Phase 1 is allocation-only: the `live-heap` cargo feature of the gotter is
18- # intentionally NOT enabled, so the free-path USDT (`ddheap:free`) and its
19- # per-free overhead stay compiled out. Enabling live-heap later just adds the
20- # `live-heap` feature on the `libdd-profiling-heap-gotter` dependency below.
2114[package ]
2215name = " ddtrace-heap-gotter"
2316version = " 0.1.0"
You can’t perform that action at this time.
0 commit comments