Skip to content

chore(heap-profiling): remove free USDT when live-heap is not available [PROF-15190]#2225

Open
scottgerring wants to merge 3 commits into
mainfrom
sgg/no-live-heap-no-probe
Open

chore(heap-profiling): remove free USDT when live-heap is not available [PROF-15190]#2225
scottgerring wants to merge 3 commits into
mainfrom
sgg/no-live-heap-no-probe

Conversation

@scottgerring

Copy link
Copy Markdown
Member

What does this PR do?

When the user does not opt into the live-heap feature, we should not emit the free USDT. This lets an attached profiler know that live heap is not available, making its life easier (e.g., it knows not to track sampled allocations).

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

Describe here in detail how the change can be validated.

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

📚 Documentation Check Results

⚠️ 45 documentation warning(s) found

📦 libdd-profiling-heap-sampler - 45 warning(s)


Updated: 2026-07-15 06:49:11 UTC | Commit: 2955c3d | missing-docs job results

@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

🔒 Cargo Deny Results

No issues found!

📦 libdd-profiling-heap-sampler - ✅ No issues


Updated: 2026-07-15 06:51:22 UTC | Commit: 2955c3d | dependency-check job results

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 10, 2026

Copy link
Copy Markdown

Pipelines  Tests

Fix all issues with BitsAI

⚠️ Warnings

🚦 3 Pipeline jobs failed

Test | Test x86_64-unknown-linux-gnu on centOS7 docker image   View in Datadog   GitHub Actions

Test | cargo test #ubuntu-latest   View in Datadog   GitHub Actions

Required checks pass | allchecks   View in Datadog   GitHub Actions

🧪 1 Test failed in 1 job

Test | test   GitHub Actions

ddheap_probes_have_one_note_each from libdd-profiling-heap-gotter-ffi::usdt_notes   View in Datadog
thread 'ddheap_probes_have_one_note_each' panicked at libdd-profiling-heap-gotter-ffi/tests/usdt_notes.rs:32:75

thread 'ddheap_probes_have_one_note_each' panicked at libdd-profiling-heap-gotter-ffi/tests/usdt_notes.rs:32:75:
called \`Result::unwrap()\` on an \`Err\` value: USDT probe 'ddheap:free' has no .note.stapsdt entry
note: run with \`RUST_BACKTRACE=1\` environment variable to display a backtrace

ℹ️ Info

No other issues found (see more)

❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 74.45% (-0.02%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4556dad | Docs | Datadog PR Page | Give us feedback!

@scottgerring scottgerring marked this pull request as ready for review July 10, 2026 13:54
@scottgerring scottgerring requested a review from a team as a code owner July 10, 2026 13:54

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8dc38196df

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread libdd-profiling-heap-sampler/src/probes.c Outdated
Comment thread libdd-profiling-heap-sampler/include/datadog/heap/probes.h Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts the heap-sampler USDT probe emission so external profilers can detect whether “live-heap” correlation is supported by checking for the presence/absence of the ddheap:free USDT note.

Changes:

  • Gate ddheap:free USDT emission behind DD_HEAP_LIVE_TRACKING in dd_probe_free.
  • Stop calling dd_probe_free on the sampled-free slow path when live-heap tracking is disabled.
  • Document that the dd_probe_free symbol always exists, but the USDT note is only present with live-heap tracking enabled.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
libdd-profiling-heap-sampler/src/probes.c Conditionally emits the ddheap:free USDT based on DD_HEAP_LIVE_TRACKING.
libdd-profiling-heap-sampler/src/allocation_freed.c Skips firing the free probe when live-heap tracking is disabled.
libdd-profiling-heap-sampler/include/datadog/heap/probes.h Clarifies probe behavior and how external profilers can infer live-heap support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread libdd-profiling-heap-sampler/src/probes.c
@pr-commenter

pr-commenter Bot commented Jul 10, 2026

Copy link
Copy Markdown

Benchmarks

Comparison

Benchmark execution time: 2026-07-15 07:02:53

Comparing candidate commit 4556dad in PR branch sgg/no-live-heap-no-probe with baseline commit a10f667 in branch main.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 39 metrics, 0 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

scenario:alloc_free/sampled_system_slow_path/4096

  • 🟥 execution_time [+9.925ns; +10.057ns] or [+6.771%; +6.861%]

Candidate

Candidate benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_noop_fast_path/16 execution_time 14.404ns 14.472ns ± 0.016ns 14.471ns ± 0.005ns 14.477ns 14.492ns 14.534ns 14.576ns 0.72% 2.382 15.683 0.11% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/256 execution_time 14.401ns 14.473ns ± 0.013ns 14.472ns ± 0.005ns 14.478ns 14.492ns 14.508ns 14.542ns 0.48% -0.362 10.682 0.09% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/4096 execution_time 14.401ns 14.474ns ± 0.020ns 14.473ns ± 0.006ns 14.480ns 14.494ns 14.507ns 14.685ns 1.47% 6.142 67.209 0.13% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/64 execution_time 14.401ns 14.474ns ± 0.019ns 14.472ns ± 0.006ns 14.478ns 14.493ns 14.557ns 14.656ns 1.27% 4.708 41.135 0.13% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/65536 execution_time 14.401ns 14.473ns ± 0.015ns 14.472ns ± 0.005ns 14.478ns 14.495ns 14.533ns 14.551ns 0.55% 0.491 9.107 0.11% 0.001ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_noop_fast_path/16 execution_time [14.470ns; 14.475ns] or [-0.016%; +0.016%] None None None
alloc_free/sampled_noop_fast_path/256 execution_time [14.471ns; 14.475ns] or [-0.013%; +0.013%] None None None
alloc_free/sampled_noop_fast_path/4096 execution_time [14.472ns; 14.477ns] or [-0.019%; +0.019%] None None None
alloc_free/sampled_noop_fast_path/64 execution_time [14.471ns; 14.476ns] or [-0.019%; +0.019%] None None None
alloc_free/sampled_noop_fast_path/65536 execution_time [14.471ns; 14.475ns] or [-0.015%; +0.015%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/system/16 execution_time 14.001ns 14.304ns ± 0.076ns 14.303ns ± 0.042ns 14.344ns 14.430ns 14.535ns 14.573ns 1.88% 0.079 2.279 0.53% 0.005ns 1 200
alloc_free/system/256 execution_time 14.008ns 14.284ns ± 0.083ns 14.280ns ± 0.040ns 14.317ns 14.414ns 14.523ns 14.663ns 2.68% 0.421 2.909 0.58% 0.006ns 1 200
alloc_free/system/4096 execution_time 87.617ns 89.694ns ± 0.540ns 89.740ns ± 0.297ns 89.997ns 90.502ns 90.851ns 91.304ns 1.74% -0.540 1.639 0.60% 0.038ns 1 200
alloc_free/system/64 execution_time 14.066ns 14.311ns ± 0.095ns 14.299ns ± 0.048ns 14.352ns 14.476ns 14.619ns 14.746ns 3.12% 1.032 3.057 0.66% 0.007ns 1 200
alloc_free/system/65536 execution_time 87.380ns 88.426ns ± 0.249ns 88.426ns ± 0.093ns 88.505ns 88.730ns 89.168ns 90.144ns 1.94% 1.433 12.908 0.28% 0.018ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/system/16 execution_time [14.293ns; 14.314ns] or [-0.074%; +0.074%] None None None
alloc_free/system/256 execution_time [14.272ns; 14.295ns] or [-0.081%; +0.081%] None None None
alloc_free/system/4096 execution_time [89.619ns; 89.769ns] or [-0.083%; +0.083%] None None None
alloc_free/system/64 execution_time [14.298ns; 14.324ns] or [-0.092%; +0.092%] None None None
alloc_free/system/65536 execution_time [88.391ns; 88.460ns] or [-0.039%; +0.039%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sampler_only/slow_path/16 execution_time 61.955ns 62.248ns ± 0.062ns 62.245ns ± 0.023ns 62.265ns 62.326ns 62.490ns 62.590ns 0.55% 0.594 10.761 0.10% 0.004ns 1 200
sampler_only/slow_path/256 execution_time 61.990ns 62.273ns ± 0.054ns 62.272ns ± 0.020ns 62.291ns 62.331ns 62.460ns 62.554ns 0.45% 0.304 9.560 0.09% 0.004ns 1 200
sampler_only/slow_path/4096 execution_time 62.410ns 62.637ns ± 0.131ns 62.624ns ± 0.023ns 62.646ns 62.704ns 62.917ns 64.187ns 2.50% 8.885 98.609 0.21% 0.009ns 1 200
sampler_only/slow_path/64 execution_time 61.907ns 62.257ns ± 0.090ns 62.248ns ± 0.022ns 62.278ns 62.339ns 62.397ns 63.242ns 1.60% 6.171 70.894 0.14% 0.006ns 1 200
sampler_only/slow_path/65536 execution_time 66.492ns 66.810ns ± 0.066ns 66.809ns ± 0.027ns 66.840ns 66.899ns 66.993ns 67.220ns 0.62% 0.501 9.977 0.10% 0.005ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sampler_only/slow_path/16 execution_time [62.240ns; 62.257ns] or [-0.014%; +0.014%] None None None
sampler_only/slow_path/256 execution_time [62.266ns; 62.280ns] or [-0.012%; +0.012%] None None None
sampler_only/slow_path/4096 execution_time [62.619ns; 62.655ns] or [-0.029%; +0.029%] None None None
sampler_only/slow_path/64 execution_time [62.244ns; 62.269ns] or [-0.020%; +0.020%] None None None
sampler_only/slow_path/65536 execution_time [66.801ns; 66.820ns] or [-0.014%; +0.014%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/noop/16 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.402ns 0.403ns 0.405ns 0.78% 1.724 19.623 0.10% 0.000ns 1 200
alloc_free/noop/256 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.403ns 0.406ns 0.94% 2.463 23.391 0.12% 0.000ns 1 200
alloc_free/noop/4096 execution_time 0.400ns 0.402ns ± 0.001ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.410ns 1.88% 8.019 90.267 0.16% 0.000ns 1 200
alloc_free/noop/64 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.406ns 1.10% 3.598 35.495 0.12% 0.000ns 1 200
alloc_free/noop/65536 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.403ns 0.405ns 0.66% 1.696 14.668 0.10% 0.000ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/noop/16 execution_time [0.402ns; 0.402ns] or [-0.015%; +0.015%] None None None
alloc_free/noop/256 execution_time [0.402ns; 0.402ns] or [-0.016%; +0.016%] None None None
alloc_free/noop/4096 execution_time [0.402ns; 0.402ns] or [-0.022%; +0.022%] None None None
alloc_free/noop/64 execution_time [0.402ns; 0.402ns] or [-0.017%; +0.017%] None None None
alloc_free/noop/65536 execution_time [0.402ns; 0.402ns] or [-0.014%; +0.014%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_system_fast_path/16 execution_time 26.004ns 26.213ns ± 0.074ns 26.207ns ± 0.043ns 26.250ns 26.308ns 26.412ns 26.637ns 1.64% 1.189 6.700 0.28% 0.005ns 1 200
alloc_free/sampled_system_fast_path/256 execution_time 26.000ns 26.212ns ± 0.072ns 26.213ns ± 0.036ns 26.245ns 26.323ns 26.403ns 26.537ns 1.24% 0.355 2.827 0.27% 0.005ns 1 200
alloc_free/sampled_system_fast_path/4096 execution_time 115.388ns 116.433ns ± 0.403ns 116.417ns ± 0.179ns 116.587ns 117.027ns 118.075ns 118.417ns 1.72% 1.577 6.464 0.34% 0.028ns 1 200
alloc_free/sampled_system_fast_path/64 execution_time 25.728ns 26.211ns ± 0.083ns 26.212ns ± 0.036ns 26.248ns 26.307ns 26.381ns 26.750ns 2.05% 0.188 13.431 0.32% 0.006ns 1 200
alloc_free/sampled_system_fast_path/65536 execution_time 98.711ns 100.094ns ± 0.361ns 100.093ns ± 0.155ns 100.242ns 100.630ns 101.012ns 101.691ns 1.60% 0.215 3.500 0.36% 0.026ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_system_fast_path/16 execution_time [26.202ns; 26.223ns] or [-0.039%; +0.039%] None None None
alloc_free/sampled_system_fast_path/256 execution_time [26.202ns; 26.222ns] or [-0.038%; +0.038%] None None None
alloc_free/sampled_system_fast_path/4096 execution_time [116.377ns; 116.489ns] or [-0.048%; +0.048%] None None None
alloc_free/sampled_system_fast_path/64 execution_time [26.199ns; 26.223ns] or [-0.044%; +0.044%] None None None
alloc_free/sampled_system_fast_path/65536 execution_time [100.044ns; 100.144ns] or [-0.050%; +0.050%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_noop_slow_path/16 execution_time 63.768ns 64.055ns ± 0.081ns 64.052ns ± 0.025ns 64.077ns 64.141ns 64.226ns 64.858ns 1.26% 4.539 49.354 0.13% 0.006ns 1 200
alloc_free/sampled_noop_slow_path/256 execution_time 63.348ns 63.786ns ± 0.059ns 63.783ns ± 0.023ns 63.806ns 63.862ns 63.957ns 64.112ns 0.52% -0.411 20.311 0.09% 0.004ns 1 200
alloc_free/sampled_noop_slow_path/4096 execution_time 64.090ns 64.441ns ± 0.071ns 64.435ns ± 0.024ns 64.460ns 64.527ns 64.657ns 64.844ns 0.63% 1.117 11.827 0.11% 0.005ns 1 200
alloc_free/sampled_noop_slow_path/64 execution_time 63.643ns 64.049ns ± 0.058ns 64.049ns ± 0.021ns 64.070ns 64.110ns 64.207ns 64.363ns 0.49% -0.901 17.626 0.09% 0.004ns 1 200
alloc_free/sampled_noop_slow_path/65536 execution_time 68.442ns 68.708ns ± 0.088ns 68.702ns ± 0.031ns 68.735ns 68.783ns 69.193ns 69.374ns 0.98% 3.574 24.033 0.13% 0.006ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_noop_slow_path/16 execution_time [64.044ns; 64.067ns] or [-0.017%; +0.017%] None None None
alloc_free/sampled_noop_slow_path/256 execution_time [63.778ns; 63.794ns] or [-0.013%; +0.013%] None None None
alloc_free/sampled_noop_slow_path/4096 execution_time [64.431ns; 64.451ns] or [-0.015%; +0.015%] None None None
alloc_free/sampled_noop_slow_path/64 execution_time [64.041ns; 64.057ns] or [-0.012%; +0.012%] None None None
alloc_free/sampled_noop_slow_path/65536 execution_time [68.696ns; 68.720ns] or [-0.018%; +0.018%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_system_slow_path/16 execution_time 89.131ns 89.660ns ± 0.096ns 89.658ns ± 0.037ns 89.696ns 89.774ns 89.936ns 90.153ns 0.55% -0.093 9.914 0.11% 0.007ns 1 200
alloc_free/sampled_system_slow_path/256 execution_time 89.364ns 89.647ns ± 0.105ns 89.635ns ± 0.031ns 89.665ns 89.785ns 90.085ns 90.481ns 0.94% 3.881 24.890 0.12% 0.007ns 1 200
alloc_free/sampled_system_slow_path/4096 execution_time 154.511ns 156.573ns ± 0.383ns 156.559ns ± 0.158ns 156.738ns 156.985ns 157.500ns 158.948ns 1.53% 0.100 11.999 0.24% 0.027ns 1 200
alloc_free/sampled_system_slow_path/64 execution_time 89.068ns 89.667ns ± 0.111ns 89.663ns ± 0.033ns 89.697ns 89.805ns 90.082ns 90.283ns 0.69% 0.077 12.152 0.12% 0.008ns 1 200
alloc_free/sampled_system_slow_path/65536 execution_time 154.964ns 155.767ns ± 0.385ns 155.755ns ± 0.106ns 155.855ns 156.071ns 156.396ns 160.290ns 2.91% 8.060 93.785 0.25% 0.027ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_system_slow_path/16 execution_time [89.647ns; 89.674ns] or [-0.015%; +0.015%] None None None
alloc_free/sampled_system_slow_path/256 execution_time [89.633ns; 89.662ns] or [-0.016%; +0.016%] None None None
alloc_free/sampled_system_slow_path/4096 execution_time [156.520ns; 156.626ns] or [-0.034%; +0.034%] None None None
alloc_free/sampled_system_slow_path/64 execution_time [89.652ns; 89.683ns] or [-0.017%; +0.017%] None None None
alloc_free/sampled_system_slow_path/65536 execution_time [155.713ns; 155.820ns] or [-0.034%; +0.034%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 4556dad 1784097923 sgg/no-live-heap-no-probe
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sampler_only/fast_path/16 execution_time 13.603ns 13.669ns ± 0.014ns 13.667ns ± 0.006ns 13.674ns 13.687ns 13.710ns 13.760ns 0.68% 1.328 12.074 0.10% 0.001ns 1 200
sampler_only/fast_path/256 execution_time 13.601ns 13.669ns ± 0.022ns 13.668ns ± 0.005ns 13.674ns 13.688ns 13.705ns 13.911ns 1.78% 6.898 78.343 0.16% 0.002ns 1 200
sampler_only/fast_path/4096 execution_time 13.602ns 13.669ns ± 0.018ns 13.667ns ± 0.005ns 13.672ns 13.692ns 13.714ns 13.855ns 1.37% 5.652 57.052 0.13% 0.001ns 1 200
sampler_only/fast_path/64 execution_time 13.602ns 13.669ns ± 0.022ns 13.667ns ± 0.004ns 13.673ns 13.684ns 13.714ns 13.936ns 1.97% 8.687 102.044 0.16% 0.002ns 1 200
sampler_only/fast_path/65536 execution_time 13.601ns 13.669ns ± 0.013ns 13.668ns ± 0.005ns 13.673ns 13.686ns 13.707ns 13.752ns 0.62% 0.983 15.382 0.10% 0.001ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sampler_only/fast_path/16 execution_time [13.667ns; 13.671ns] or [-0.014%; +0.014%] None None None
sampler_only/fast_path/256 execution_time [13.666ns; 13.672ns] or [-0.022%; +0.022%] None None None
sampler_only/fast_path/4096 execution_time [13.667ns; 13.672ns] or [-0.018%; +0.018%] None None None
sampler_only/fast_path/64 execution_time [13.666ns; 13.673ns] or [-0.023%; +0.023%] None None None
sampler_only/fast_path/65536 execution_time [13.667ns; 13.671ns] or [-0.014%; +0.014%] None None None

Baseline

Baseline benchmark details

Group 1

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_noop_fast_path/16 execution_time 14.402ns 14.473ns ± 0.014ns 14.473ns ± 0.005ns 14.478ns 14.490ns 14.510ns 14.556ns 0.57% 0.346 12.261 0.10% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/256 execution_time 14.403ns 14.471ns ± 0.012ns 14.471ns ± 0.005ns 14.476ns 14.490ns 14.506ns 14.519ns 0.33% -0.117 7.279 0.08% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/4096 execution_time 14.402ns 14.473ns ± 0.015ns 14.471ns ± 0.005ns 14.477ns 14.496ns 14.523ns 14.546ns 0.52% 0.366 9.186 0.10% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/64 execution_time 14.401ns 14.473ns ± 0.020ns 14.470ns ± 0.005ns 14.477ns 14.491ns 14.533ns 14.675ns 1.41% 5.190 52.948 0.14% 0.001ns 1 200
alloc_free/sampled_noop_fast_path/65536 execution_time 14.406ns 14.473ns ± 0.019ns 14.472ns ± 0.006ns 14.477ns 14.492ns 14.511ns 14.694ns 1.54% 7.299 83.166 0.13% 0.001ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_noop_fast_path/16 execution_time [14.471ns; 14.475ns] or [-0.013%; +0.013%] None None None
alloc_free/sampled_noop_fast_path/256 execution_time [14.470ns; 14.473ns] or [-0.011%; +0.011%] None None None
alloc_free/sampled_noop_fast_path/4096 execution_time [14.471ns; 14.475ns] or [-0.014%; +0.014%] None None None
alloc_free/sampled_noop_fast_path/64 execution_time [14.470ns; 14.475ns] or [-0.019%; +0.019%] None None None
alloc_free/sampled_noop_fast_path/65536 execution_time [14.471ns; 14.476ns] or [-0.019%; +0.019%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/system/16 execution_time 14.065ns 14.303ns ± 0.082ns 14.296ns ± 0.041ns 14.340ns 14.453ns 14.571ns 14.664ns 2.57% 1.278 3.753 0.57% 0.006ns 1 200
alloc_free/system/256 execution_time 14.002ns 14.305ns ± 0.122ns 14.299ns ± 0.043ns 14.338ns 14.432ns 14.466ns 15.624ns 9.27% 6.265 67.401 0.85% 0.009ns 1 200
alloc_free/system/4096 execution_time 89.561ns 92.070ns ± 0.608ns 92.036ns ± 0.287ns 92.335ns 92.837ns 93.664ns 96.614ns 4.97% 2.012 16.409 0.66% 0.043ns 1 200
alloc_free/system/64 execution_time 14.057ns 14.296ns ± 0.097ns 14.286ns ± 0.048ns 14.342ns 14.468ns 14.527ns 14.730ns 3.11% 0.676 2.567 0.68% 0.007ns 1 200
alloc_free/system/65536 execution_time 86.933ns 88.377ns ± 0.255ns 88.392ns ± 0.107ns 88.496ns 88.645ns 89.020ns 89.616ns 1.38% -0.512 8.662 0.29% 0.018ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/system/16 execution_time [14.292ns; 14.315ns] or [-0.079%; +0.079%] None None None
alloc_free/system/256 execution_time [14.288ns; 14.322ns] or [-0.118%; +0.118%] None None None
alloc_free/system/4096 execution_time [91.986ns; 92.154ns] or [-0.092%; +0.092%] None None None
alloc_free/system/64 execution_time [14.282ns; 14.309ns] or [-0.094%; +0.094%] None None None
alloc_free/system/65536 execution_time [88.342ns; 88.412ns] or [-0.040%; +0.040%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sampler_only/slow_path/16 execution_time 62.067ns 62.276ns ± 0.107ns 62.264ns ± 0.025ns 62.291ns 62.375ns 62.517ns 63.237ns 1.56% 6.108 49.549 0.17% 0.008ns 1 200
sampler_only/slow_path/256 execution_time 62.127ns 62.300ns ± 0.078ns 62.292ns ± 0.025ns 62.316ns 62.398ns 62.521ns 63.063ns 1.24% 5.175 45.213 0.13% 0.006ns 1 200
sampler_only/slow_path/4096 execution_time 62.445ns 62.641ns ± 0.054ns 62.639ns ± 0.024ns 62.664ns 62.719ns 62.788ns 63.002ns 0.58% 1.607 10.764 0.09% 0.004ns 1 200
sampler_only/slow_path/64 execution_time 61.988ns 62.266ns ± 0.060ns 62.262ns ± 0.025ns 62.287ns 62.333ns 62.501ns 62.662ns 0.64% 2.016 14.123 0.10% 0.004ns 1 200
sampler_only/slow_path/65536 execution_time 66.172ns 66.808ns ± 0.090ns 66.809ns ± 0.033ns 66.843ns 66.923ns 67.091ns 67.247ns 0.66% -1.051 15.481 0.13% 0.006ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sampler_only/slow_path/16 execution_time [62.261ns; 62.291ns] or [-0.024%; +0.024%] None None None
sampler_only/slow_path/256 execution_time [62.289ns; 62.311ns] or [-0.017%; +0.017%] None None None
sampler_only/slow_path/4096 execution_time [62.633ns; 62.648ns] or [-0.012%; +0.012%] None None None
sampler_only/slow_path/64 execution_time [62.258ns; 62.274ns] or [-0.013%; +0.013%] None None None
sampler_only/slow_path/65536 execution_time [66.796ns; 66.821ns] or [-0.019%; +0.019%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/noop/16 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.402ns 0.403ns 0.404ns 0.44% -0.262 10.021 0.09% 0.000ns 1 200
alloc_free/noop/256 execution_time 0.400ns 0.402ns ± 0.001ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.410ns 2.00% 7.542 77.576 0.18% 0.000ns 1 200
alloc_free/noop/4096 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.405ns 0.75% 2.417 19.638 0.11% 0.000ns 1 200
alloc_free/noop/64 execution_time 0.400ns 0.402ns ± 0.000ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.404ns 0.50% 0.402 9.003 0.10% 0.000ns 1 200
alloc_free/noop/65536 execution_time 0.400ns 0.402ns ± 0.001ns 0.402ns ± 0.000ns 0.402ns 0.403ns 0.404ns 0.408ns 1.50% 6.597 70.631 0.14% 0.000ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/noop/16 execution_time [0.402ns; 0.402ns] or [-0.012%; +0.012%] None None None
alloc_free/noop/256 execution_time [0.402ns; 0.402ns] or [-0.025%; +0.025%] None None None
alloc_free/noop/4096 execution_time [0.402ns; 0.402ns] or [-0.016%; +0.016%] None None None
alloc_free/noop/64 execution_time [0.402ns; 0.402ns] or [-0.014%; +0.014%] None None None
alloc_free/noop/65536 execution_time [0.402ns; 0.402ns] or [-0.019%; +0.019%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_system_fast_path/16 execution_time 25.942ns 26.208ns ± 0.086ns 26.203ns ± 0.040ns 26.244ns 26.316ns 26.479ns 26.700ns 1.90% 1.458 8.779 0.33% 0.006ns 1 200
alloc_free/sampled_system_fast_path/256 execution_time 25.978ns 26.212ns ± 0.072ns 26.207ns ± 0.040ns 26.248ns 26.319ns 26.412ns 26.510ns 1.15% 0.555 2.756 0.27% 0.005ns 1 200
alloc_free/sampled_system_fast_path/4096 execution_time 115.284ns 116.237ns ± 0.404ns 116.203ns ± 0.194ns 116.397ns 116.884ns 117.289ns 119.178ns 2.56% 2.296 13.910 0.35% 0.029ns 1 200
alloc_free/sampled_system_fast_path/64 execution_time 25.825ns 26.211ns ± 0.088ns 26.207ns ± 0.036ns 26.243ns 26.323ns 26.383ns 26.956ns 2.86% 2.721 26.499 0.33% 0.006ns 1 200
alloc_free/sampled_system_fast_path/65536 execution_time 98.543ns 100.365ns ± 0.344ns 100.377ns ± 0.175ns 100.523ns 100.824ns 101.454ns 101.622ns 1.24% -0.358 5.212 0.34% 0.024ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_system_fast_path/16 execution_time [26.196ns; 26.220ns] or [-0.045%; +0.045%] None None None
alloc_free/sampled_system_fast_path/256 execution_time [26.202ns; 26.222ns] or [-0.038%; +0.038%] None None None
alloc_free/sampled_system_fast_path/4096 execution_time [116.181ns; 116.293ns] or [-0.048%; +0.048%] None None None
alloc_free/sampled_system_fast_path/64 execution_time [26.199ns; 26.223ns] or [-0.046%; +0.046%] None None None
alloc_free/sampled_system_fast_path/65536 execution_time [100.317ns; 100.412ns] or [-0.047%; +0.047%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_noop_slow_path/16 execution_time 63.940ns 64.129ns ± 0.101ns 64.117ns ± 0.025ns 64.143ns 64.210ns 64.422ns 65.239ns 1.75% 7.546 75.382 0.16% 0.007ns 1 200
alloc_free/sampled_noop_slow_path/256 execution_time 63.789ns 64.143ns ± 0.059ns 64.144ns ± 0.026ns 64.170ns 64.233ns 64.301ns 64.341ns 0.31% -0.895 7.151 0.09% 0.004ns 1 200
alloc_free/sampled_noop_slow_path/4096 execution_time 64.304ns 64.507ns ± 0.090ns 64.498ns ± 0.026ns 64.528ns 64.604ns 64.641ns 65.559ns 1.64% 8.128 92.275 0.14% 0.006ns 1 200
alloc_free/sampled_noop_slow_path/64 execution_time 63.800ns 64.128ns ± 0.080ns 64.119ns ± 0.023ns 64.143ns 64.223ns 64.342ns 64.892ns 1.20% 4.297 41.553 0.12% 0.006ns 1 200
alloc_free/sampled_noop_slow_path/65536 execution_time 68.234ns 68.749ns ± 0.078ns 68.751ns ± 0.030ns 68.780ns 68.857ns 68.969ns 69.013ns 0.38% -1.622 11.731 0.11% 0.006ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_noop_slow_path/16 execution_time [64.115ns; 64.143ns] or [-0.022%; +0.022%] None None None
alloc_free/sampled_noop_slow_path/256 execution_time [64.135ns; 64.151ns] or [-0.013%; +0.013%] None None None
alloc_free/sampled_noop_slow_path/4096 execution_time [64.494ns; 64.519ns] or [-0.019%; +0.019%] None None None
alloc_free/sampled_noop_slow_path/64 execution_time [64.117ns; 64.139ns] or [-0.017%; +0.017%] None None None
alloc_free/sampled_noop_slow_path/65536 execution_time [68.738ns; 68.760ns] or [-0.016%; +0.016%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
alloc_free/sampled_system_slow_path/16 execution_time 89.958ns 90.475ns ± 0.094ns 90.472ns ± 0.038ns 90.512ns 90.563ns 90.722ns 91.220ns 0.83% 2.017 23.030 0.10% 0.007ns 1 200
alloc_free/sampled_system_slow_path/256 execution_time 89.981ns 90.523ns ± 0.096ns 90.517ns ± 0.035ns 90.557ns 90.644ns 90.761ns 91.184ns 0.74% 0.418 17.735 0.11% 0.007ns 1 200
alloc_free/sampled_system_slow_path/4096 execution_time 145.395ns 146.582ns ± 0.283ns 146.583ns ± 0.130ns 146.698ns 147.046ns 147.455ns 147.814ns 0.84% 0.132 5.253 0.19% 0.020ns 1 200
alloc_free/sampled_system_slow_path/64 execution_time 89.858ns 90.362ns ± 0.093ns 90.358ns ± 0.035ns 90.389ns 90.479ns 90.666ns 90.905ns 0.61% 1.124 12.596 0.10% 0.007ns 1 200
alloc_free/sampled_system_slow_path/65536 execution_time 154.840ns 155.784ns ± 0.249ns 155.765ns ± 0.105ns 155.874ns 156.162ns 156.442ns 157.365ns 1.03% 1.503 9.690 0.16% 0.018ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
alloc_free/sampled_system_slow_path/16 execution_time [90.462ns; 90.488ns] or [-0.014%; +0.014%] None None None
alloc_free/sampled_system_slow_path/256 execution_time [90.509ns; 90.536ns] or [-0.015%; +0.015%] None None None
alloc_free/sampled_system_slow_path/4096 execution_time [146.543ns; 146.621ns] or [-0.027%; +0.027%] None None None
alloc_free/sampled_system_slow_path/64 execution_time [90.349ns; 90.375ns] or [-0.014%; +0.014%] None None None
alloc_free/sampled_system_slow_path/65536 execution_time [155.750ns; 155.818ns] or [-0.022%; +0.022%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz a10f667 1784074032 main
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sampler_only/fast_path/16 execution_time 13.601ns 13.668ns ± 0.018ns 13.667ns ± 0.005ns 13.673ns 13.684ns 13.706ns 13.839ns 1.26% 4.882 45.551 0.13% 0.001ns 1 200
sampler_only/fast_path/256 execution_time 13.602ns 13.670ns ± 0.014ns 13.668ns ± 0.005ns 13.674ns 13.691ns 13.716ns 13.760ns 0.68% 1.063 14.258 0.10% 0.001ns 1 200
sampler_only/fast_path/4096 execution_time 13.606ns 13.668ns ± 0.013ns 13.668ns ± 0.005ns 13.673ns 13.681ns 13.713ns 13.757ns 0.65% 1.544 15.401 0.09% 0.001ns 1 200
sampler_only/fast_path/64 execution_time 13.601ns 13.669ns ± 0.022ns 13.667ns ± 0.005ns 13.673ns 13.687ns 13.707ns 13.888ns 1.61% 6.489 58.718 0.16% 0.002ns 1 200
sampler_only/fast_path/65536 execution_time 13.603ns 13.669ns ± 0.015ns 13.668ns ± 0.005ns 13.673ns 13.692ns 13.717ns 13.772ns 0.76% 1.318 13.959 0.11% 0.001ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sampler_only/fast_path/16 execution_time [13.666ns; 13.671ns] or [-0.018%; +0.018%] None None None
sampler_only/fast_path/256 execution_time [13.668ns; 13.672ns] or [-0.014%; +0.014%] None None None
sampler_only/fast_path/4096 execution_time [13.666ns; 13.670ns] or [-0.013%; +0.013%] None None None
sampler_only/fast_path/64 execution_time [13.666ns; 13.672ns] or [-0.022%; +0.022%] None None None
sampler_only/fast_path/65536 execution_time [13.667ns; 13.671ns] or [-0.015%; +0.015%] None None None

@dd-octo-sts

dd-octo-sts Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 7.88 MB 7.88 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 85.88 MB 85.88 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 97.10 MB 97.10 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.61 MB 10.61 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 25.45 MB 25.45 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 88.44 KB 88.44 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 184.54 MB 184.55 MB +0% (+8.00 KB) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 946.77 MB 946.77 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 8.32 MB 8.32 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 88.44 KB 88.44 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 24.62 MB 24.62 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 49.03 MB 49.03 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 22.05 MB 22.05 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 89.82 KB 89.82 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 188.76 MB 188.76 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 935.45 MB 935.45 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 6.43 MB 6.43 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 89.82 KB 89.82 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 26.43 MB 26.43 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 46.66 MB 46.66 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 76.58 MB 76.58 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 8.78 MB 8.78 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 92.10 MB 92.10 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 10.69 MB 10.69 MB 0% (0 B) 👌

@scottgerring scottgerring force-pushed the sgg/no-live-heap-no-probe branch from c0ccf7c to 9f3653e Compare July 10, 2026 15:31
/* Fire with the user-visible pointer, matching what was reported at alloc
* time, so the profiler can correlate the two events by address. */
* time, so the profiler can correlate the two events by address. Safe to
* call unconditionally: dd_probe_free is a no-op USDT-wise when live-heap

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a test for this

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

@scottgerring scottgerring requested a review from r1viollet July 14, 2026 06:18
@scottgerring scottgerring marked this pull request as ready for review July 15, 2026 06:12
@scottgerring scottgerring force-pushed the sgg/no-live-heap-no-probe branch from 2989b1b to 4556dad Compare July 15, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants