Split the tracer parts off from ext directory#3912
Conversation
|
There was a problem hiding this comment.
💡 Codex Review
dd-trace-php/tracer/weakrefs.c
Line 3 in 7f32d1d
After moving weakrefs.c to tracer/, it still includes "compatibility.h" as if it were in ext/. In this commit config.m4 also drops PHP_ADD_INCLUDE([$ext_srcdir/ext]), so for PHP 8.0/8.1 builds (where weakrefs.c is compiled) the header is no longer resolvable and the build fails. Use #include <ext/compatibility.h> (or restore/include the ext include path) to keep those builds working.
ℹ️ 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".
1bc2038 to
4a29a16
Compare
Benchmarks [ profiler ]Benchmark execution time: 2026-05-25 22:00:13 Comparing candidate commit 27d286e in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 7 unstable metrics. |
bdedead to
0dbe6ac
Compare
Benchmarks [ appsec ]Benchmark execution time: 2026-05-25 22:22:25 Comparing candidate commit 27d286e in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. |
Benchmarks [ tracer ]Benchmark execution time: 2026-05-25 22:59:41 Comparing candidate commit 27d286e in PR branch Found 0 performance improvements and 4 performance regressions! Performance is the same for 189 metrics, 1 unstable metrics. scenario:EmptyFileBench/benchEmptyFileBaseline-opcache
scenario:MessagePackSerializationBench/benchMessagePackSerialization
scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache
scenario:SamplingRuleMatchingBench/benchRegexMatching1
|
30dd29b to
38feb1b
Compare
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
Move all the things.
Drop a few obsolete things.
Change nearly no code.