Just checking for the `sys/sdt.h` header isn't enough, as systems like macOS have the header, but it doesn't actually have the dtrace probes, which leads to compile failures.
Backport of core#22238.
Differential D12636
build: improve detection of eBPF support Fabien on Nov 25 2022, 15:15. Authored by Tags None Subscribers None
Details
Just checking for the `sys/sdt.h` header isn't enough, as systems like macOS have the header, but it doesn't actually have the dtrace probes, which leads to compile failures. Backport of core#22238. cmake -GNinja .. -DENABLE_TRACING=ON ninja
Diff Detail
|