Skip to content

build(macOS): set the LC_ID_DYLIB for mac binaries to set correct name for linking#1646

Merged
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits intomainfrom
ekump/macos-build-path-issue
Mar 5, 2026
Merged

build(macOS): set the LC_ID_DYLIB for mac binaries to set correct name for linking#1646
gh-worker-dd-mergequeue-cf854d[bot] merged 3 commits intomainfrom
ekump/macos-build-path-issue

Conversation

@ekump
Copy link
Contributor

@ekump ekump commented Mar 3, 2026

What does this PR do?

for macOS builds we were not setting LC_ID_DYLIB, so the absolute path at build time was being used, which causes problems when you link against the dylib on another machine.

This PR should correctly set LC_ID_DYLIB for macOS. Something similar was done for linux in #1258

The post-build fix logic has been removed since it doesn't seem to be used anywhere else anymore.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

How to test the change?

cargo run --bin release --release -- --out /tmp/libdatadog-output

Prior to this change the output would have looked like:

cmd LC_ID_DYLIB
cmdsize 184
name /Users/ec2-user/builds/.../libdatadog_profiling_ffi.dylib (offset 24)

With this change it now looks like:

cmd LC_ID_DYLIB
cmdsize 64
name @rpath/libdatadog_profiling.dylib (offset 24)

@github-actions
Copy link

github-actions bot commented Mar 3, 2026

Clippy Allow Annotation Report

Comparing clippy allow annotations between branches:

  • Base Branch: origin/main
  • PR Branch: origin/ekump/macos-build-path-issue

Summary by Rule

Rule Base Branch PR Branch Change

Annotation Counts by File

File Base Branch PR Branch Change

Annotation Stats by Crate

Crate Base Branch PR Branch Change
clippy-annotation-reporter 5 5 No change (0%)
datadog-ffe-ffi 1 1 No change (0%)
datadog-ipc 27 27 No change (0%)
datadog-live-debugger 6 6 No change (0%)
datadog-live-debugger-ffi 10 10 No change (0%)
datadog-profiling-replayer 4 4 No change (0%)
datadog-remote-config 3 3 No change (0%)
datadog-sidecar 59 59 No change (0%)
libdd-common 10 10 No change (0%)
libdd-common-ffi 12 12 No change (0%)
libdd-crashtracker 12 12 No change (0%)
libdd-data-pipeline 5 5 No change (0%)
libdd-ddsketch 2 2 No change (0%)
libdd-dogstatsd-client 1 1 No change (0%)
libdd-profiling 13 13 No change (0%)
libdd-telemetry 19 19 No change (0%)
libdd-tinybytes 4 4 No change (0%)
libdd-trace-normalization 2 2 No change (0%)
libdd-trace-obfuscation 9 9 No change (0%)
libdd-trace-utils 15 15 No change (0%)
Total 219 219 No change (0%)

About This Report

This report tracks Clippy allow annotations for specific rules, showing how they've changed in this PR. Decreasing the number of these annotations generally improves code quality.

@ekump ekump marked this pull request as ready for review March 3, 2026 20:23
@ekump ekump requested a review from a team as a code owner March 3, 2026 20:23
@pr-commenter
Copy link

pr-commenter bot commented Mar 3, 2026

Benchmarks

Comparison

Benchmark execution time: 2026-03-05 09:31:29

Comparing candidate commit 0aac0a4 in PR branch ekump/macos-build-path-issue with baseline commit 277094c in branch main.

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

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 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
ip_address/quantize_peer_ip_address_benchmark execution_time 4.953µs 5.014µs ± 0.039µs 5.027µs ± 0.039µs 5.044µs 5.068µs 5.070µs 5.112µs 1.69% -0.006 -1.501 0.78% 0.003µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
ip_address/quantize_peer_ip_address_benchmark execution_time [5.009µs; 5.020µs] or [-0.108%; +0.108%] None None None

Group 2

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_trace/test_trace execution_time 238.772ns 249.081ns ± 12.343ns 243.656ns ± 3.157ns 249.356ns 281.454ns 285.538ns 294.669ns 20.94% 1.836 2.466 4.94% 0.873ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_trace/test_trace execution_time [247.370ns; 250.792ns] or [-0.687%; +0.687%] None None None

Group 3

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching string interning on wordpress profile execution_time 160.344µs 161.342µs ± 0.293µs 161.303µs ± 0.142µs 161.458µs 161.750µs 162.147µs 163.686µs 1.48% 2.519 20.185 0.18% 0.021µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching string interning on wordpress profile execution_time [161.301µs; 161.383µs] or [-0.025%; +0.025%] None None None

Group 4

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
two way interface execution_time 18.383µs 23.581µs ± 9.550µs 18.714µs ± 0.090µs 19.088µs 45.620µs 46.517µs 71.294µs 280.97% 1.894 3.146 40.40% 0.675µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
two way interface execution_time [22.257µs; 24.905µs] or [-5.613%; +5.613%] None None None

Group 5

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
credit_card/is_card_number/ execution_time 3.892µs 3.912µs ± 0.003µs 3.912µs ± 0.001µs 3.914µs 3.917µs 3.920µs 3.922µs 0.25% -1.217 12.112 0.07% 0.000µs 1 200
credit_card/is_card_number/ throughput 254977472.501op/s 255594000.142op/s ± 192148.084op/s 255617266.949op/s ± 92927.704op/s 255698015.449op/s 255832567.161op/s 255900331.805op/s 256964403.895op/s 0.53% 1.246 12.317 0.07% 13586.921op/s 1 200
credit_card/is_card_number/ 3782-8224-6310-005 execution_time 79.006µs 79.762µs ± 0.392µs 79.676µs ± 0.246µs 79.975µs 80.507µs 80.725µs 80.892µs 1.53% 0.705 -0.050 0.49% 0.028µs 1 200
credit_card/is_card_number/ 3782-8224-6310-005 throughput 12362127.934op/s 12537641.926op/s ± 61361.086op/s 12550772.108op/s ± 38816.887op/s 12579405.943op/s 12617481.205op/s 12639520.855op/s 12657314.853op/s 0.85% -0.684 -0.086 0.49% 4338.884op/s 1 200
credit_card/is_card_number/ 378282246310005 execution_time 72.406µs 72.929µs ± 0.295µs 72.896µs ± 0.217µs 73.114µs 73.436µs 73.770µs 73.796µs 1.24% 0.575 0.088 0.40% 0.021µs 1 200
credit_card/is_card_number/ 378282246310005 throughput 13550794.121op/s 13712146.777op/s ± 55290.068op/s 13718212.027op/s ± 40640.653op/s 13754276.664op/s 13790812.905op/s 13805127.198op/s 13810988.022op/s 0.68% -0.554 0.047 0.40% 3909.598op/s 1 200
credit_card/is_card_number/37828224631 execution_time 3.892µs 3.913µs ± 0.003µs 3.913µs ± 0.001µs 3.914µs 3.917µs 3.919µs 3.922µs 0.25% -1.343 12.659 0.07% 0.000µs 1 200
credit_card/is_card_number/37828224631 throughput 254945097.035op/s 255576957.272op/s ± 184906.785op/s 255587949.035op/s ± 96759.310op/s 255684043.345op/s 255796043.379op/s 255930517.116op/s 256908692.882op/s 0.52% 1.371 12.862 0.07% 13074.884op/s 1 200
credit_card/is_card_number/378282246310005 execution_time 69.146µs 69.696µs ± 0.326µs 69.684µs ± 0.202µs 69.851µs 70.256µs 70.727µs 70.889µs 1.73% 0.838 1.130 0.47% 0.023µs 1 200
credit_card/is_card_number/378282246310005 throughput 14106596.891op/s 14348305.834op/s ± 66952.582op/s 14350417.168op/s ± 41741.264op/s 14397583.006op/s 14442491.833op/s 14459993.995op/s 14462178.691op/s 0.78% -0.804 1.029 0.47% 4734.263op/s 1 200
credit_card/is_card_number/37828224631000521389798 execution_time 52.154µs 52.230µs ± 0.045µs 52.225µs ± 0.026µs 52.252µs 52.293µs 52.368µs 52.466µs 0.46% 1.661 5.551 0.09% 0.003µs 1 200
credit_card/is_card_number/37828224631000521389798 throughput 19060051.571op/s 19146191.016op/s ± 16324.645op/s 19148026.512op/s ± 9545.214op/s 19156856.365op/s 19166830.554op/s 19169526.587op/s 19173921.549op/s 0.14% -1.648 5.480 0.09% 1154.327op/s 1 200
credit_card/is_card_number/x371413321323331 execution_time 6.026µs 6.037µs ± 0.010µs 6.035µs ± 0.003µs 6.038µs 6.059µs 6.072µs 6.112µs 1.27% 3.786 18.603 0.16% 0.001µs 1 200
credit_card/is_card_number/x371413321323331 throughput 163623079.653op/s 165633336.099op/s ± 270860.092op/s 165693712.523op/s ± 69013.109op/s 165757483.531op/s 165838155.608op/s 165894516.736op/s 165953068.472op/s 0.16% -3.755 18.271 0.16% 19152.701op/s 1 200
credit_card/is_card_number_no_luhn/ execution_time 3.899µs 3.913µs ± 0.003µs 3.913µs ± 0.002µs 3.916µs 3.919µs 3.921µs 3.926µs 0.33% -0.008 2.088 0.08% 0.000µs 1 200
credit_card/is_card_number_no_luhn/ throughput 254720954.539op/s 255533481.695op/s ± 210455.836op/s 255550962.707op/s ± 147362.469op/s 255678484.656op/s 255816772.683op/s 255943097.330op/s 256501104.249op/s 0.37% 0.018 2.104 0.08% 14881.475op/s 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time 64.142µs 64.429µs ± 0.139µs 64.410µs ± 0.086µs 64.505µs 64.673µs 64.850µs 64.862µs 0.70% 0.678 0.339 0.22% 0.010µs 1 200
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput 15417251.608op/s 15521100.966op/s ± 33494.383op/s 15525624.530op/s ± 20618.080op/s 15544882.897op/s 15564532.017op/s 15587377.516op/s 15590524.079op/s 0.42% -0.666 0.317 0.22% 2368.411op/s 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time 58.157µs 58.311µs ± 0.122µs 58.281µs ± 0.058µs 58.346µs 58.557µs 58.779µs 58.842µs 0.96% 1.869 4.182 0.21% 0.009µs 1 200
credit_card/is_card_number_no_luhn/ 378282246310005 throughput 16994532.701op/s 17149432.993op/s ± 35860.454op/s 17158233.431op/s ± 17020.078op/s 17173624.319op/s 17186770.828op/s 17191982.880op/s 17194951.562op/s 0.21% -1.852 4.099 0.21% 2535.717op/s 1 200
credit_card/is_card_number_no_luhn/37828224631 execution_time 3.895µs 3.912µs ± 0.003µs 3.912µs ± 0.001µs 3.914µs 3.917µs 3.919µs 3.923µs 0.28% -0.668 9.108 0.07% 0.000µs 1 200
credit_card/is_card_number_no_luhn/37828224631 throughput 254927204.065op/s 255608747.847op/s ± 175005.213op/s 255635755.368op/s ± 95182.499op/s 255716668.733op/s 255803828.444op/s 255864685.737op/s 256761314.280op/s 0.44% 0.690 9.234 0.07% 12374.737op/s 1 200
credit_card/is_card_number_no_luhn/378282246310005 execution_time 54.591µs 54.985µs ± 0.319µs 54.927µs ± 0.200µs 55.126µs 55.486µs 56.122µs 56.222µs 2.36% 1.294 2.092 0.58% 0.023µs 1 200
credit_card/is_card_number_no_luhn/378282246310005 throughput 17786772.368op/s 18187481.429op/s ± 104817.633op/s 18206050.831op/s ± 66428.608op/s 18272908.454op/s 18306727.489op/s 18310092.663op/s 18317965.868op/s 0.61% -1.253 1.923 0.57% 7411.726op/s 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time 52.151µs 52.233µs ± 0.042µs 52.232µs ± 0.030µs 52.260µs 52.303µs 52.351µs 52.377µs 0.28% 0.507 0.226 0.08% 0.003µs 1 200
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput 19092216.799op/s 19144878.096op/s ± 15425.081op/s 19145428.827op/s ± 10877.121op/s 19156887.903op/s 19167166.931op/s 19173093.689op/s 19175122.196op/s 0.16% -0.502 0.216 0.08% 1090.718op/s 1 200
credit_card/is_card_number_no_luhn/x371413321323331 execution_time 6.028µs 6.041µs ± 0.015µs 6.036µs ± 0.003µs 6.040µs 6.071µs 6.081µs 6.149µs 1.87% 3.659 18.073 0.25% 0.001µs 1 200
credit_card/is_card_number_no_luhn/x371413321323331 throughput 162621633.568op/s 165534654.253op/s ± 410220.971op/s 165661220.104op/s ± 79842.115op/s 165732096.771op/s 165801053.674op/s 165862032.491op/s 165883162.558op/s 0.13% -3.610 17.553 0.25% 29007.003op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
credit_card/is_card_number/ execution_time [3.912µs; 3.913µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ throughput [255567370.266op/s; 255620630.018op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 execution_time [79.707µs; 79.816µs] or [-0.068%; +0.068%] None None None
credit_card/is_card_number/ 3782-8224-6310-005 throughput [12529137.870op/s; 12546145.983op/s] or [-0.068%; +0.068%] None None None
credit_card/is_card_number/ 378282246310005 execution_time [72.888µs; 72.970µs] or [-0.056%; +0.056%] None None None
credit_card/is_card_number/ 378282246310005 throughput [13704484.105op/s; 13719809.448op/s] or [-0.056%; +0.056%] None None None
credit_card/is_card_number/37828224631 execution_time [3.912µs; 3.913µs] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/37828224631 throughput [255551330.970op/s; 255602583.574op/s] or [-0.010%; +0.010%] None None None
credit_card/is_card_number/378282246310005 execution_time [69.651µs; 69.741µs] or [-0.065%; +0.065%] None None None
credit_card/is_card_number/378282246310005 throughput [14339026.850op/s; 14357584.818op/s] or [-0.065%; +0.065%] None None None
credit_card/is_card_number/37828224631000521389798 execution_time [52.224µs; 52.236µs] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/37828224631000521389798 throughput [19143928.578op/s; 19148453.455op/s] or [-0.012%; +0.012%] None None None
credit_card/is_card_number/x371413321323331 execution_time [6.036µs; 6.039µs] or [-0.023%; +0.023%] None None None
credit_card/is_card_number/x371413321323331 throughput [165595797.495op/s; 165670874.703op/s] or [-0.023%; +0.023%] None None None
credit_card/is_card_number_no_luhn/ execution_time [3.913µs; 3.914µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ throughput [255504314.541op/s; 255562648.850op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 execution_time [64.409µs; 64.448µs] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/ 3782-8224-6310-005 throughput [15516458.966op/s; 15525742.965op/s] or [-0.030%; +0.030%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 execution_time [58.294µs; 58.328µs] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/ 378282246310005 throughput [17144463.079op/s; 17154402.907op/s] or [-0.029%; +0.029%] None None None
credit_card/is_card_number_no_luhn/37828224631 execution_time [3.912µs; 3.913µs] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/37828224631 throughput [255584493.808op/s; 255633001.887op/s] or [-0.009%; +0.009%] None None None
credit_card/is_card_number_no_luhn/378282246310005 execution_time [54.940µs; 55.029µs] or [-0.080%; +0.080%] None None None
credit_card/is_card_number_no_luhn/378282246310005 throughput [18172954.713op/s; 18202008.145op/s] or [-0.080%; +0.080%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 execution_time [52.227µs; 52.239µs] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/37828224631000521389798 throughput [19142740.328op/s; 19147015.864op/s] or [-0.011%; +0.011%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 execution_time [6.039µs; 6.043µs] or [-0.035%; +0.035%] None None None
credit_card/is_card_number_no_luhn/x371413321323331 throughput [165477801.571op/s; 165591506.934op/s] or [-0.034%; +0.034%] None None None

Group 6

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time 534.263µs 535.402µs ± 0.919µs 535.192µs ± 0.343µs 535.584µs 537.266µs 539.509µs 541.228µs 1.13% 2.938 11.984 0.17% 0.065µs 1 200
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput 1847650.159op/s 1867760.723op/s ± 3191.432op/s 1868486.881op/s ± 1197.647op/s 1869486.938op/s 1870782.953op/s 1871586.949op/s 1871735.885op/s 0.17% -2.911 11.767 0.17% 225.668op/s 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time 380.707µs 381.669µs ± 0.355µs 381.645µs ± 0.247µs 381.891µs 382.295µs 382.535µs 382.606µs 0.25% 0.249 -0.170 0.09% 0.025µs 1 200
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput 2613653.887op/s 2620072.298op/s ± 2434.986op/s 2620234.442op/s ± 1696.651op/s 2621917.303op/s 2623501.103op/s 2625265.949op/s 2626695.218op/s 0.25% -0.244 -0.172 0.09% 172.180op/s 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time 189.450µs 189.827µs ± 0.164µs 189.833µs ± 0.115µs 189.933µs 190.071µs 190.309µs 190.338µs 0.27% 0.313 0.257 0.09% 0.012µs 1 200
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput 5253822.964op/s 5267955.039op/s ± 4561.594op/s 5267791.917op/s ± 3202.251op/s 5271193.447op/s 5274976.798op/s 5276791.316op/s 5278433.296op/s 0.20% -0.307 0.248 0.09% 322.553op/s 1 200
normalization/normalize_service/normalize_service/[empty string] execution_time 37.458µs 37.605µs ± 0.065µs 37.601µs ± 0.042µs 37.646µs 37.697µs 37.742µs 37.898µs 0.79% 0.648 2.290 0.17% 0.005µs 1 200
normalization/normalize_service/normalize_service/[empty string] throughput 26386355.616op/s 26592492.305op/s ± 45888.104op/s 26595245.773op/s ± 29670.914op/s 26624539.672op/s 26665989.650op/s 26687486.059op/s 26696371.677op/s 0.38% -0.628 2.215 0.17% 3244.779op/s 1 200
normalization/normalize_service/normalize_service/test_ASCII execution_time 45.819µs 45.921µs ± 0.110µs 45.902µs ± 0.031µs 45.941µs 46.010µs 46.105µs 47.294µs 3.03% 9.827 119.147 0.24% 0.008µs 1 200
normalization/normalize_service/normalize_service/test_ASCII throughput 21144301.399op/s 21776464.660op/s ± 51029.107op/s 21785437.647op/s ± 14528.181op/s 21795868.133op/s 21809937.135op/s 21820602.187op/s 21824895.950op/s 0.18% -9.651 116.158 0.23% 3608.303op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... execution_time [535.275µs; 535.529µs] or [-0.024%; +0.024%] None None None
normalization/normalize_service/normalize_service/A0000000000000000000000000000000000000000000000000... throughput [1867318.422op/s; 1868203.025op/s] or [-0.024%; +0.024%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて execution_time [381.620µs; 381.718µs] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Data🐨dog🐶 繋がっ⛰てて throughput [2619734.832op/s; 2620409.763op/s] or [-0.013%; +0.013%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters execution_time [189.804µs; 189.850µs] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/Test Conversion 0f Weird !@#$%^&**() Characters throughput [5267322.846op/s; 5268587.232op/s] or [-0.012%; +0.012%] None None None
normalization/normalize_service/normalize_service/[empty string] execution_time [37.596µs; 37.614µs] or [-0.024%; +0.024%] None None None
normalization/normalize_service/normalize_service/[empty string] throughput [26586132.655op/s; 26598851.955op/s] or [-0.024%; +0.024%] None None None
normalization/normalize_service/normalize_service/test_ASCII execution_time [45.906µs; 45.937µs] or [-0.033%; +0.033%] None None None
normalization/normalize_service/normalize_service/test_ASCII throughput [21769392.516op/s; 21783536.803op/s] or [-0.032%; +0.032%] None None None

Group 7

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time 185.240µs 185.764µs ± 0.235µs 185.753µs ± 0.168µs 185.917µs 186.147µs 186.288µs 186.882µs 0.61% 0.729 1.898 0.13% 0.017µs 1 200
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput 5350962.973op/s 5383171.501op/s ± 6799.701op/s 5383492.057op/s ± 4865.024op/s 5388356.718op/s 5393701.147op/s 5395484.326op/s 5398400.616op/s 0.28% -0.717 1.847 0.13% 480.811op/s 1 200
normalization/normalize_name/normalize_name/bad-name execution_time 17.878µs 17.945µs ± 0.042µs 17.935µs ± 0.022µs 17.965µs 18.010µs 18.050µs 18.242µs 1.71% 2.393 12.484 0.23% 0.003µs 1 200
normalization/normalize_name/normalize_name/bad-name throughput 54819661.740op/s 55725094.886op/s ± 129738.892op/s 55757801.235op/s ± 67184.158op/s 55798534.468op/s 55891168.723op/s 55915902.745op/s 55935246.726op/s 0.32% -2.333 11.960 0.23% 9173.925op/s 1 200
normalization/normalize_name/normalize_name/good execution_time 10.369µs 10.479µs ± 0.053µs 10.474µs ± 0.032µs 10.510µs 10.575µs 10.607µs 10.672µs 1.89% 0.402 0.415 0.51% 0.004µs 1 200
normalization/normalize_name/normalize_name/good throughput 93702217.193op/s 95429093.538op/s ± 485718.058op/s 95476580.051op/s ± 293362.088op/s 95733825.264op/s 96242686.079op/s 96403943.097op/s 96437933.423op/s 1.01% -0.368 0.365 0.51% 34345.453op/s 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... execution_time [185.732µs; 185.797µs] or [-0.018%; +0.018%] None None None
normalization/normalize_name/normalize_name/Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Long-.Too-Lo... throughput [5382229.128op/s; 5384113.874op/s] or [-0.018%; +0.018%] None None None
normalization/normalize_name/normalize_name/bad-name execution_time [17.940µs; 17.951µs] or [-0.032%; +0.032%] None None None
normalization/normalize_name/normalize_name/bad-name throughput [55707114.323op/s; 55743075.448op/s] or [-0.032%; +0.032%] None None None
normalization/normalize_name/normalize_name/good execution_time [10.472µs; 10.487µs] or [-0.071%; +0.071%] None None None
normalization/normalize_name/normalize_name/good throughput [95361777.686op/s; 95496409.389op/s] or [-0.071%; +0.071%] None None None

Group 8

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching deserializing traces from msgpack to their internal representation execution_time 47.007ms 47.304ms ± 0.837ms 47.181ms ± 0.046ms 47.229ms 47.365ms 50.048ms 55.800ms 18.27% 8.361 74.472 1.76% 0.059ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching deserializing traces from msgpack to their internal representation execution_time [47.188ms; 47.420ms] or [-0.245%; +0.245%] None None None

Group 9

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
concentrator/add_spans_to_concentrator execution_time 10.587ms 10.613ms ± 0.015ms 10.610ms ± 0.008ms 10.619ms 10.639ms 10.654ms 10.686ms 0.72% 1.745 5.376 0.14% 0.001ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
concentrator/add_spans_to_concentrator execution_time [10.611ms; 10.615ms] or [-0.019%; +0.019%] None None None

Group 10

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
single_flag_killswitch/rules-based execution_time 189.063ns 191.652ns ± 2.174ns 191.646ns ± 1.465ns 192.755ns 194.715ns 197.401ns 207.796ns 8.43% 2.415 14.096 1.13% 0.154ns 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
single_flag_killswitch/rules-based execution_time [191.351ns; 191.954ns] or [-0.157%; +0.157%] None None None

Group 11

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
redis/obfuscate_redis_string execution_time 33.357µs 33.913µs ± 0.953µs 33.495µs ± 0.068µs 33.576µs 35.905µs 35.960µs 37.937µs 13.26% 1.823 1.829 2.80% 0.067µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
redis/obfuscate_redis_string execution_time [33.781µs; 34.045µs] or [-0.389%; +0.389%] None None None

Group 12

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample2_frames_x1000 execution_time 728.695µs 730.056µs ± 0.528µs 729.981µs ± 0.332µs 730.415µs 730.956µs 731.287µs 731.598µs 0.22% 0.324 -0.162 0.07% 0.037µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample2_frames_x1000 execution_time [729.983µs; 730.129µs] or [-0.010%; +0.010%] None None None

Group 13

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sql/obfuscate_sql_string execution_time 90.359µs 90.685µs ± 0.963µs 90.585µs ± 0.065µs 90.656µs 90.823µs 92.042µs 103.658µs 14.43% 12.515 163.796 1.06% 0.068µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sql/obfuscate_sql_string execution_time [90.552µs; 90.819µs] or [-0.147%; +0.147%] None None None

Group 14

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
benching serializing traces from their internal representation to msgpack execution_time 14.005ms 14.045ms ± 0.025ms 14.042ms ± 0.009ms 14.051ms 14.072ms 14.167ms 14.225ms 1.30% 3.645 18.634 0.18% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
benching serializing traces from their internal representation to msgpack execution_time [14.042ms; 14.049ms] or [-0.025%; +0.025%] None None None

Group 15

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
receiver_entry_point/report/2597 execution_time 3.120ms 3.149ms ± 0.023ms 3.145ms ± 0.008ms 3.154ms 3.177ms 3.196ms 3.394ms 7.93% 6.180 59.100 0.74% 0.002ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
receiver_entry_point/report/2597 execution_time [3.146ms; 3.152ms] or [-0.103%; +0.103%] None None None

Group 16

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
write only interface execution_time 1.169µs 3.203µs ± 1.426µs 2.961µs ± 0.046µs 3.009µs 3.665µs 14.022µs 14.667µs 395.33% 7.230 53.927 44.42% 0.101µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
write only interface execution_time [3.005µs; 3.400µs] or [-6.172%; +6.172%] None None None

Group 17

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
sdk_test_data/rules-based execution_time 144.402µs 146.609µs ± 1.618µs 146.352µs ± 0.546µs 146.946µs 148.110µs 153.607µs 162.454µs 11.00% 5.946 49.054 1.10% 0.114µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
sdk_test_data/rules-based execution_time [146.385µs; 146.834µs] or [-0.153%; +0.153%] None None None

Group 18

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
tags/replace_trace_tags execution_time 2.294µs 2.359µs ± 0.017µs 2.361µs ± 0.004µs 2.366µs 2.384µs 2.390µs 2.398µs 1.58% -1.840 5.116 0.74% 0.001µs 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
tags/replace_trace_tags execution_time [2.357µs; 2.362µs] or [-0.102%; +0.102%] None None None

Group 19

cpu_model git_commit_sha git_commit_date git_branch
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz 0aac0a4 1772702159 ekump/macos-build-path-issue
scenario metric min mean ± sd median ± mad p75 p95 p99 max peak_to_median_ratio skewness kurtosis cv sem runs sample_size
profile_add_sample_frames_x1000 execution_time 4.153ms 4.158ms ± 0.006ms 4.158ms ± 0.002ms 4.160ms 4.162ms 4.166ms 4.239ms 1.96% 10.880 137.497 0.15% 0.000ms 1 200
scenario metric 95% CI mean Shapiro-Wilk pvalue Ljung-Box pvalue (lag=1) Dip test pvalue
profile_add_sample_frames_x1000 execution_time [4.158ms; 4.159ms] or [-0.021%; +0.021%] None None None

Baseline

Omitted due to size.

@codecov-commenter
Copy link

codecov-commenter commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.24%. Comparing base (f79e281) to head (0aac0a4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1646      +/-   ##
==========================================
+ Coverage   71.20%   71.24%   +0.04%     
==========================================
  Files         425      425              
  Lines       62715    62695      -20     
==========================================
+ Hits        44657    44668      +11     
+ Misses      18058    18027      -31     
Components Coverage Δ
libdd-crashtracker 62.92% <ø> (+0.01%) ⬆️
libdd-crashtracker-ffi 15.63% <ø> (ø)
libdd-alloc 98.77% <ø> (ø)
libdd-data-pipeline 87.38% <ø> (ø)
libdd-data-pipeline-ffi 72.83% <ø> (ø)
libdd-common 79.73% <ø> (ø)
libdd-common-ffi 73.40% <ø> (ø)
libdd-telemetry 62.48% <ø> (ø)
libdd-telemetry-ffi 16.75% <ø> (ø)
libdd-dogstatsd-client 82.64% <ø> (ø)
datadog-ipc 80.74% <ø> (ø)
libdd-profiling 81.60% <ø> (+0.01%) ⬆️
libdd-profiling-ffi 63.65% <ø> (ø)
datadog-sidecar 33.45% <ø> (ø)
datdog-sidecar-ffi 12.41% <ø> (ø)
spawn-worker 54.69% <ø> (ø)
libdd-tinybytes 93.16% <ø> (ø)
libdd-trace-normalization 81.71% <ø> (ø)
libdd-trace-obfuscation 94.67% <ø> (ø)
libdd-trace-protobuf 68.00% <ø> (ø)
libdd-trace-utils 88.97% <ø> (ø)
datadog-tracer-flare 90.45% <ø> (ø)
libdd-log 74.69% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dd-octo-sts
Copy link
Contributor

dd-octo-sts bot commented Mar 3, 2026

Artifact Size Benchmark Report

aarch64-alpine-linux-musl
Artifact Baseline Commit Change
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.a 97.30 MB 97.30 MB 0% (0 B) 👌
/aarch64-alpine-linux-musl/lib/libdatadog_profiling.so 8.51 MB 8.51 MB 0% (0 B) 👌
aarch64-unknown-linux-gnu
Artifact Baseline Commit Change
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.12 MB 11.12 MB 0% (0 B) 👌
/aarch64-unknown-linux-gnu/lib/libdatadog_profiling.a 112.92 MB 112.92 MB 0% (0 B) 👌
libdatadog-x64-windows
Artifact Baseline Commit Change
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.dll 27.16 MB 27.16 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.lib 76.26 KB 76.26 KB 0% (0 B) 👌
/libdatadog-x64-windows/debug/dynamic/datadog_profiling_ffi.pdb 185.98 MB 185.98 MB 0% (0 B) 👌
/libdatadog-x64-windows/debug/static/datadog_profiling_ffi.lib 916.65 MB 916.65 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.dll 9.93 MB 9.93 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.lib 76.26 KB 76.26 KB 0% (0 B) 👌
/libdatadog-x64-windows/release/dynamic/datadog_profiling_ffi.pdb 24.76 MB 24.76 MB 0% (0 B) 👌
/libdatadog-x64-windows/release/static/datadog_profiling_ffi.lib 51.43 MB 51.43 MB 0% (0 B) 👌
libdatadog-x86-windows
Artifact Baseline Commit Change
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.dll 22.97 MB 22.97 MB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.lib 77.44 KB 77.44 KB 0% (0 B) 👌
/libdatadog-x86-windows/debug/dynamic/datadog_profiling_ffi.pdb 190.13 MB 190.16 MB +.01% (+24.00 KB) 🔍
/libdatadog-x86-windows/debug/static/datadog_profiling_ffi.lib 900.31 MB 900.31 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.dll 7.53 MB 7.53 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.lib 77.44 KB 77.44 KB 0% (0 B) 👌
/libdatadog-x86-windows/release/dynamic/datadog_profiling_ffi.pdb 26.52 MB 26.52 MB 0% (0 B) 👌
/libdatadog-x86-windows/release/static/datadog_profiling_ffi.lib 47.06 MB 47.06 MB 0% (0 B) 👌
x86_64-alpine-linux-musl
Artifact Baseline Commit Change
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.a 85.27 MB 85.27 MB 0% (0 B) 👌
/x86_64-alpine-linux-musl/lib/libdatadog_profiling.so 10.04 MB 10.04 MB 0% (0 B) 👌
x86_64-unknown-linux-gnu
Artifact Baseline Commit Change
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.a 105.90 MB 105.90 MB 0% (0 B) 👌
/x86_64-unknown-linux-gnu/lib/libdatadog_profiling.so 11.79 MB 11.79 MB 0% (0 B) 👌

Copy link
Contributor

@gyuheon0h gyuheon0h left a comment

Choose a reason for hiding this comment

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

but cc: @ivoanjo

@ekump ekump added the run-macos-tests Run macos tests in gitlab label Mar 3, 2026
Copy link
Member

@ivoanjo ivoanjo left a comment

Choose a reason for hiding this comment

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

This looks reasonable to me, but indeed I'm not seeing the macOS builds coming up in CI so I can confirm the value is set correctly + test them out.

Does someone know what's up there?

@ekump ekump force-pushed the ekump/macos-build-path-issue branch from e19f479 to cfd13f8 Compare March 4, 2026 14:26
hoolioh added a commit that referenced this pull request Mar 5, 2026
# What does this PR do?

Remove the `depth` modifier when fetchin `origin/main` in order to avoid
problems finding the merge base when getting the differences between the
feature branch and `main`.

# Motivation

Workflow failed in #1646
@hoolioh
Copy link
Contributor

hoolioh commented Mar 5, 2026

/merge

@gh-worker-devflow-routing-ef8351
Copy link

gh-worker-devflow-routing-ef8351 bot commented Mar 5, 2026

View all feedbacks in Devflow UI.

2026-03-05 10:36:16 UTC ℹ️ Start processing command /merge


2026-03-05 10:36:21 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 48m (p90).


2026-03-05 11:13:26 UTC ℹ️ MergeQueue: This merge request was merged

@gh-worker-dd-mergequeue-cf854d gh-worker-dd-mergequeue-cf854d bot deleted the ekump/macos-build-path-issue branch March 5, 2026 11:13
gh-worker-dd-mergequeue-cf854d bot pushed a commit that referenced this pull request Mar 5, 2026
# What does this PR do?
[feat: process context publication](#1585)
[ci: pass macos label to downstream project](#1647)
[chore: implement otel process ctx update](#1640)
[chore(crashtracking): emit a best effort stacktrace for Mac](#1645)
[ci: remove depth so it can cause problems when getting the diffs](#1657)
[build(macOS): set the LC_ID_DYLIB for mac binaries to set correct name for linking](#1646)
[chore(ci): fix crashtracker receiver binary rpath setting](#1652)
[chore(deps): bump blazesym to 0.2.3 and blazesym-c to 0.1.7](#1654)
[feat: otel process ctxt protobuf encoding](#1651)
[chore(crashtracker): fix benchmark job](#1664)
# 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.


Co-authored-by: gyuheon.oh <gyuheon.oh@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants