Spawn the sidecar via linker instead of trampoline#3869
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4219f07966
ℹ️ 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".
3a6adfc to
f613be8
Compare
🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: 2d856bd | Docs | Datadog PR Page | Give us feedback! |
0ca8690 to
9677294
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
8a7b8f5 to
6ebbff3
Compare
8929d0c to
210eb54
Compare
|
|
||
| // Let time to write the telemetry log | ||
| usleep(10000); | ||
| usleep(300000); |
There was a problem hiding this comment.
Is this normal ? Why such a bump in value is needed
There was a problem hiding this comment.
I think some occasional recent loader test flakiness from that. We have other tests, which also have 300ms here, and which do actually not flake.
Ultimately, this test waits on the sidecar to fully initialize and submit this telemetry. This isn't strictly related to this PR.
Benchmarks [ tracer ]Benchmark execution time: 2026-05-13 21:16:55 Comparing candidate commit 2d856bd in PR branch Found 2 performance improvements and 20 performance regressions! Performance is the same for 161 metrics, 11 unstable metrics. scenario:ContextPropagationBench/benchInject64Bit-opcache
scenario:HookBench/benchHookOverheadTraceMethod-opcache
scenario:MessagePackSerializationBench/benchMessagePackSerialization
scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache
scenario:PDOBench/benchPDOOverhead
scenario:PDOBench/benchPDOOverhead-opcache
scenario:PDOBench/benchPDOOverheadWithDBM
scenario:PDOBench/benchPDOOverheadWithDBM-opcache
scenario:PHPRedisBench/benchRedisOverhead
scenario:PHPRedisBench/benchRedisOverhead-opcache
scenario:SamplingRuleMatchingBench/benchGlobMatching1
scenario:SamplingRuleMatchingBench/benchGlobMatching2
scenario:SamplingRuleMatchingBench/benchGlobMatching2-opcache
scenario:SamplingRuleMatchingBench/benchGlobMatching3
scenario:SamplingRuleMatchingBench/benchGlobMatching3-opcache
scenario:SamplingRuleMatchingBench/benchGlobMatching4
scenario:SpanBench/benchDatadogAPI
scenario:SpanBench/benchDatadogAPI-opcache
scenario:SpanBench/benchOpenTelemetryAPI
scenario:SpanBench/benchOpenTelemetryAPI-opcache
scenario:SpanBench/benchOpenTelemetryInteroperability
scenario:SpanBench/benchOpenTelemetryInteroperability-opcache
|
* Add direct exec capabilities of the sidecar via dynamic linker Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Fix race condition Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Fix race condition Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * DEBUG Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Weaken on mac and linux Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Remove mockgen Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Dummy Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Dummy Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Fix test Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Cleanup Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com> * Disable direct exec for benchmarks --------- Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Alternative to #3711 and #3713