|
128 | 128 |
|
129 | 129 | BUILD_PROFILING_NATIVE_TESTS = os.getenv("DD_PROFILING_NATIVE_TESTS", "0").lower() in ("1", "yes", "on", "true") |
130 | 130 |
|
131 | | -# Opt-in build of the native heap-gotter cdylib (Phase 1: allocation-only native |
132 | | -# heap profiling via GOT rewriting, driven at runtime by the FH eBPF profiler). |
133 | | -# Off by default so normal builds don't pay the extra cargo fetch/compile for the |
134 | | -# `libdd-profiling-heap-gotter` crates.io dependency and mainline wheels don't |
135 | | -# ship the artifact until it graduates. The staging A/B harness sets this to bake |
136 | | -# the artifact into its custom wheels; runtime install is separately gated by |
137 | | -# DD_PROFILING_NATIVE_HEAP_ENABLED. |
| 131 | +# Opt-in build of the native heap-gotter cdylib. |
| 132 | +# Off by default so normal builds don't pay the extra cargo fetch/compile and |
| 133 | +# mainline wheels don't ship the artifact until it GA's. |
138 | 134 | BUILD_NATIVE_HEAP_GOTTER = os.getenv("DD_PROFILING_NATIVE_HEAP_BUILD", "0").lower() in ("1", "yes", "on", "true") |
139 | 135 |
|
140 | 136 | CURRENT_OS = platform.system() |
@@ -857,9 +853,6 @@ def run(self) -> None: |
857 | 853 | with _time_phase("build_libdd_wrapper"): |
858 | 854 | self.build_libdd_wrapper() |
859 | 855 |
|
860 | | - # Build the native heap-gotter cdylib (opt-in, Linux 64-bit only). It is |
861 | | - # a standalone ctypes-loaded library with no dependency on the other |
862 | | - # extensions, so ordering relative to them does not matter. |
863 | 856 | if BUILD_NATIVE_HEAP_GOTTER and CURRENT_OS == "Linux" and is_64_bit_python(): |
864 | 857 | with _time_phase("build_heap_gotter"): |
865 | 858 | self.build_heap_gotter() |
|
0 commit comments